|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.gui.Menu
Field Summary | |
static String |
BOTTOM
The BOTTOM menu's position |
static String |
LEFT
The LEFT menu's position |
static String |
RIGHT
The RIGHT menu's position |
static String |
TOP
The TOP menu's position |
Constructor Summary | |
Menu()
|
Method Summary | |
void |
addSeparator()
Adds a separator in this menu. |
boolean |
containsKey(String key)
Returns true if this menu contains a given element. |
Object |
get(String key)
Gets an action or sub-menu from its name. |
String |
getIcon()
Gets the menu icon. |
List |
getKeys()
Gets the contents of this menu. |
String |
getPosition()
Gets the menu position. |
void |
put(String key,
Object value)
Adds an action or sub-menu. |
void |
setIcon(String icon)
Sets the icon of the menu. |
void |
setPosition(String position)
Sets the menu position. |
int |
size()
Returns the items count. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String TOP
public static final String BOTTOM
public static final String LEFT
public static final String RIGHT
Constructor Detail |
public Menu()
Method Detail |
public void setIcon(String icon)
public String getIcon()
public String getPosition()
public void setPosition(String position)
public Object get(String key)
public void put(String key, Object value)
public List getKeys()
public boolean containsKey(String key)
public void addSeparator()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |