|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.field.NavigationMenu.MenuItem
com.ontimize.gui.field.NavigatorMenuGUI.MenuItemGUI
This class integrate Ontimize characteristics into the MenuItem.
| Field Summary | |
protected boolean |
enabledPermission
Boolean that specifies if this MenuItemGUI is enabled in accordance with the Ontimize Permissions. |
protected boolean |
visiblePermission
Boolean that specifies if this MenuItemGUI is visible in accordance with the Ontimize Permissions. |
| Fields inherited from class com.ontimize.gui.field.NavigationMenu.MenuItem |
enabled, icon, manager, visible |
| Constructor Summary | |
NavigatorMenuGUI.MenuItemGUI(java.lang.String manager,
javax.swing.ImageIcon icon)
Constructs a new MenuItemGUI specifying the identifier and the icon of the MenuItmeGUI. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
isEnabled()
This method returns if the MenuItem is enabled. |
boolean |
isEnabledPermission()
This method returns if the MenuItemGUI is enabled according to the Ontimize Permissions. |
boolean |
isVisible()
This method returns if the MenuItem is visible. |
boolean |
isVisiblePermission()
This method returns if the MenuItemGUI is visible according to the Ontimize Permissions. |
void |
setEnabledPermission(boolean enabledPermission)
This method sets if the MenuItemGUI is enabled according to the Ontimize Permissions. |
void |
setVisiblePermission(boolean visiblePermission)
This method sets if the MenuItemGUI is visible according to the Ontimize Permissions. |
| Methods inherited from class com.ontimize.gui.field.NavigationMenu.MenuItem |
getIcon, getManager, setEnable, setIcon, setManager, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean visiblePermission
protected boolean enabledPermission
| Constructor Detail |
public NavigatorMenuGUI.MenuItemGUI(java.lang.String manager,
javax.swing.ImageIcon icon)
manager - String with the identifier of the MenuItemGUI. That is, the manager associated to this MenuItem.icon - ImageIcon with the icon of the MenuItemGUI.| Method Detail |
public boolean isVisiblePermission()
boolean.public void setVisiblePermission(boolean visiblePermission)
visiblePermission - boolean.public boolean isEnabledPermission()
boolean.public void setEnabledPermission(boolean enabledPermission)
enabledPermission - boolean.public boolean isVisible()
NavigationMenu.MenuItem
isVisible in class NavigationMenu.MenuItemboolean with the attribute visible.public boolean isEnabled()
NavigationMenu.MenuItem
isEnabled in class NavigationMenu.MenuItemboolean with the attribute enabled.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class NavigationMenu.MenuItem
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||