MenuItem
- the GUI toolkit specific type for menu itemsToggleMenuItem
- the GUI toolkit specific type for toggle menu itemsToggleAction
- the toggle action typepublic interface ToggleMenuItemFactory<MenuItem,ToggleMenuItem extends MenuItem,ToggleAction>
Modifier and Type | Method and Description |
---|---|
ToggleMenuItem |
createToggleMenuItem(ToggleMenuEntryDescriptor<MenuItem,ToggleMenuItem,?> toggleMenuEntryDescriptor,
ToggleAction toggleAction,
int iconSize)
Creates a GUI toolkit specific toggle menu item component from the specified toggle action.
|
ToggleMenuItem createToggleMenuItem(ToggleMenuEntryDescriptor<MenuItem,ToggleMenuItem,?> toggleMenuEntryDescriptor, ToggleAction toggleAction, int iconSize)
toggleMenuEntryDescriptor
- the toggle menu entry descriptortoggleAction
- the toggle action for the toggle menu itemiconSize
- the icon sizeCopyright © 2012–2019 Drombler. All rights reserved.