com.remedy.arsys.api
Class CharMenuItemInfo
java.lang.Object
|
+--com.remedy.arsys.api.CharMenuItemInfo
- public class CharMenuItemInfo
- extends java.lang.Object
- implements java.lang.Cloneable
Each CharMenuItemInfo represents an
individual menu item of a list menu. In this context, a menu item can be a value (a leaf-level
item) or another menu (a top- or intermediate-level item).
|
Method Summary |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
java.lang.Object |
getContents()
Returns value associated with the menu item. |
NameID |
getLabel()
Returns label that identifies the menu item. |
int |
getType()
Returns the type of character menu item. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CharMenuItemInfo
public CharMenuItemInfo(NameID label,
java.lang.String menuItem)
CharMenuItemInfo
public CharMenuItemInfo(NameID label,
CharMenuInfo childMenu)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone implementation that returns an Object with data cloned from self.
- Overrides:
- clone in class java.lang.Object
getType
public int getType()
- Returns the type of character menu item. You can return the following constant values:
getLabel
public NameID getLabel()
- Returns label that identifies the menu item.
getContents
public java.lang.Object getContents()
- Returns value associated with the menu item. For leaf-level items, the
definition is a string containing the item text. For top- or intermediate-level
items, the definition is a pointer to a child menu.