MenuItem
- the GUI toolkit specific type for menu itemspublic interface MenuItemSupplierFactory<MenuItem>
MenuItemSupplier
s for the according menu item. Implementations can associate some custom data with this factory which is needed by a custom
MenuItemSortingStrategy
and can pass them to the MenuItemSupplier.MenuItemSortingStrategy
Modifier and Type | Method and Description |
---|---|
<T extends MenuItem> |
createMenuItemSupplier(T menuItem)
Creates a MenuItemSupplier for the according menu item.
|
<T extends MenuItem> MenuItemSupplier<T> createMenuItemSupplier(T menuItem)
T
- the type of the menu itemmenuItem
- the according menu itemCopyright © 2012–2017 Drombler. All rights reserved.