|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface Menu<T>
The Menu interface is the Nifty control API view of a Menu control.
| Method Summary | |
|---|---|
void |
addMenuItem(String menuText,
String menuIcon,
T item)
Add a menu item to this Menu. |
void |
addMenuItem(String menuText,
T item)
Add a menu item to this Menu. |
void |
addMenuItemSeparator()
Add a separator. |
| Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl |
|---|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth |
| Method Detail |
|---|
void addMenuItem(String menuText,
T item)
menuText - the text to displayitem - the item
void addMenuItem(String menuText,
String menuIcon,
T item)
menuText - the text to displaymenuIcon - the icon (image) to displayitem - the itemvoid addMenuItemSeparator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||