|
|
Package com.dassault_systemes.catjdialog |
Interface CATMenuModel
|
Class Hierarchy |
com.dassault_systemes.catjdialog.CATMenuModel
Class Location |
Class Description |
public interface CATMenuModel
The menu model interface.
This interface allows to define content for:
Field Summary |
String | SEPARATOR |
Constructor Summary |
Method Summary |
Enumeration | getItems(String iFatherItemID, Object iContext) |
String | getItemLabel(String iItemID, Object iContext) |
String | getItemIcon(String iItemID, Object iContext) |
boolean | isSubMenu(String iItemID, Object iContext) |
boolean | isCheckBox(String iItemID, Object iContext) |
boolean | isChecked(String iItemID, Object iContext) |
Field Detail |
String SEPARATORItem ID for defining a separator.
Constructor Detail |
Method Detail |
Enumeration getItems(String iFatherItemID, Object iContext)Returns the list of children items of the specified item.
iFatherItemID
iContext
SEPARATOR
item IDs.String getItemLabel(String iItemID, Object iContext)Returns the label of the specified menu item.
iItemID
iContext
String getItemIcon(String iItemID, Object iContext)Returns the icon for the specified menu item (null if no icon).
iItemID
iContext
boolean isSubMenu(String iItemID, Object iContext)Determines whether the specified item is a sub-menu (that is "has children items") or not.
When a menu item is declared as a sub-menu, then the getItems() method may be called by the framework to retreive its children menu items.
iItemID
iContext
boolean isCheckBox(String iItemID, Object iContext)Determines whether the specified item has a check-box or not.
This method isn't called for sub-menus items.
iItemID
iContext
boolean isChecked(String iItemID, Object iContext)Returns the specified check-box item state (true is "on", false is "off").
This method is only called for items that returned true to isCheckBox().
iItemID
iContext