T
- public interface Menu<T>
extends de.lessvoid.nifty.controls.NiftyControl
Modifier and Type | Method and Description |
---|---|
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.
|
void addMenuItem(String menuText, T item)
menuText
- the text to displayitem
- the itemvoid addMenuItem(String menuText, String menuIcon, T item)
menuText
- the text to displaymenuIcon
- the icon (image) to displayitem
- the itemvoid addMenuItemSeparator()
Copyright © 2013. All Rights Reserved.