com.softwareag.centrasite.api.activity
Class ActivityMenuItem
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityMenuItem
public ActivityMenuItem(Activity activity)
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)