com.softwareag.centrasite.api.activity
Class ActivityMenuItem

java.lang.Object
  extended by com.softwareag.centrasite.api.activity.ActivityMenuItem

public class ActivityMenuItem
extends java.lang.Object

This class represent the ActivityMenuItem in the ActivityMenu and holds a reference the Activity implementation class.


Constructor Summary
ActivityMenuItem(Activity activity)
           
 
Method Summary
 Activity getActivity()
          Get the activity referenced by the activity.
 boolean isEnabled()
          Get information about whether this menu item is visible or not
 void setActivity(Activity activity)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityMenuItem

public ActivityMenuItem(Activity activity)
Method Detail

getActivity

public Activity getActivity()
Get the activity referenced by the activity.

Returns:
The activity of the menu item.

setActivity

public void setActivity(Activity activity)

isEnabled

public boolean isEnabled()
Get information about whether this menu item is visible or not

Returns:
true - in case it is enabled or other wise false.

setEnabled

public void setEnabled(boolean enabled)