MenuItem
- the GUI toolkit specific type for menu itemspublic class IdentityMenuItemSupplierFactory<MenuItem> extends Object implements MenuItemSupplierFactory<MenuItem>
MenuItemSupplierFactory
creates instances of IdentityMenuItemSupplier
s. No additional data is maintained.
TODO: good name?MenuItemSortingStrategy
,
TextMenuItemSortingStrategy
Constructor and Description |
---|
IdentityMenuItemSupplierFactory() |
Modifier and Type | Method and Description |
---|---|
<T extends MenuItem> |
createMenuItemSupplier(T menuItem)
Creates a MenuItemSupplier for the according menu item.
|
public <T extends MenuItem> IdentityMenuItemSupplier<T> createMenuItemSupplier(T menuItem)
createMenuItemSupplier
in interface MenuItemSupplierFactory<MenuItem>
T
- the type of the menu itemmenuItem
- the according menu itemCopyright © 2012–2017 Drombler. All rights reserved.