MenuItem
- the GUI toolkit specific type for menu itemspublic interface MenuItemSupplierFactory<MenuItem,F extends MenuItemSupplierFactory<MenuItem,F>>
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.
|
F |
toNextSeparatorSupplierFactory() |
F |
toPreviousSeparatorSupplierFactory() |
<T extends MenuItem> MenuItemSupplier<T> createMenuItemSupplier(T menuItem)
T
- the type of the menu itemmenuItem
- the according menu itemF toPreviousSeparatorSupplierFactory()
F toNextSeparatorSupplierFactory()
Copyright © 2012–2018 Drombler. All rights reserved.