|
|
||||
| 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 SEPARATOR
Item 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.
iFatherItemIDiContextSEPARATOR item IDs.
String getItemLabel(String iItemID, Object iContext)
Returns the label of the specified menu item.
iItemIDiContext
String getItemIcon(String iItemID, Object iContext)
Returns the icon for the specified menu item (null if no icon).
iItemIDiContext
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.
iItemIDiContext
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.
iItemIDiContext
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().
iItemIDiContext