bibliothek.gui.dock.themes.basic.action.dropdown
Class SelectableDropDownHandler.Check
java.lang.Object
bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler<JMenuItem,S>
bibliothek.gui.dock.themes.basic.action.dropdown.AbstractDropDownHandler<SelectableDockAction>
bibliothek.gui.dock.themes.basic.action.dropdown.SelectableDropDownHandler
bibliothek.gui.dock.themes.basic.action.dropdown.SelectableDropDownHandler.Check
- All Implemented Interfaces:
- ViewItem<JComponent>, DropDownViewItem, MenuViewItem<JComponent>
- Enclosing class:
- SelectableDropDownHandler
public static class SelectableDropDownHandler.Check
- extends SelectableDropDownHandler
A connection representing a check-box.
- Author:
- Benjamin Sigg
Method Summary |
protected void |
itemTriggered()
Called if the menuitem was clicked. |
void |
triggered()
Invoked if the item is triggered from outside. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectableDropDownHandler.Check
public SelectableDropDownHandler.Check(SelectableDockAction action,
Dockable dockable,
JMenuItem item)
- Creates a new handler.
- Parameters:
action
- the action to observedockable
- the Dockable for which the action is shownitem
- the graphical representation of the action
triggered
public void triggered()
- Description copied from interface:
DropDownViewItem
- Invoked if the item is triggered from outside. The item should
call the method of its action, that causes the action to execute
its natural code (for example: a checkbox may change their selected-state).
itemTriggered
protected void itemTriggered()
- Description copied from class:
SelectableDropDownHandler
- Called if the menuitem was clicked.
- Specified by:
itemTriggered
in class SelectableDropDownHandler