|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler<javax.swing.JMenuItem,S> bibliothek.gui.dock.themes.basic.action.dropdown.AbstractDropDownHandler<ButtonDockAction> bibliothek.gui.dock.themes.basic.action.dropdown.ButtonDropDownHandler
public class ButtonDropDownHandler
A connection between a ButtonDockAction
and a drop-down-button.
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler |
---|
action, dockable, item |
Constructor Summary | |
---|---|
ButtonDropDownHandler(ButtonDockAction action,
Dockable dockable,
javax.swing.JMenuItem item)
Creates a new handler. |
Method Summary | |
---|---|
void |
bind()
Connects this handler to its action. |
void |
triggered()
Invoked if the item is triggered from outside. |
void |
unbind()
Disconnects this handler from its action |
Methods inherited from class bibliothek.gui.dock.themes.basic.action.dropdown.AbstractDropDownHandler |
---|
addActionListener, getView, isSelectable, isTriggerable, removeActionListener, setView |
Methods inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler |
---|
getAction, getDockable, getItem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.action.view.ViewItem |
---|
getAction, getItem |
Constructor Detail |
---|
public ButtonDropDownHandler(ButtonDockAction action, Dockable dockable, javax.swing.JMenuItem item)
action
- the action to observedockable
- the Dockable for which the action is shownitem
- the item that represents the actionMethod Detail |
---|
public void triggered()
DropDownViewItem
public void bind()
AbstractMenuHandler
bind
in interface ViewItem<javax.swing.JComponent>
bind
in class AbstractDropDownHandler<ButtonDockAction>
public void unbind()
AbstractMenuHandler
unbind
in interface ViewItem<javax.swing.JComponent>
unbind
in class AbstractDropDownHandler<ButtonDockAction>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |