bibliothek.gui.dock.common.intern.action.panel
Class BasicPanelPopupHandler
java.lang.Object
bibliothek.gui.dock.themes.basic.action.AbstractBasicHandler<D,BasicButtonModel>
bibliothek.gui.dock.themes.basic.action.BasicHandler<CPanelPopup.PanelPopup>
bibliothek.gui.dock.common.intern.action.panel.BasicPanelPopupHandler
- All Implemented Interfaces:
- ViewItem<JComponent>, BasicResourceInitializer, BasicTitleViewItem<JComponent>, BasicTrigger
public class BasicPanelPopupHandler
- extends BasicHandler<CPanelPopup.PanelPopup>
A handler for a CPanelPopup
which is shown in a title as button.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPanelPopupHandler
public BasicPanelPopupHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
- Creates a new handler.
- Parameters:
action
- the action for which this handler is useddockable
- the element for which the action is used
triggered
public void triggered()
- Description copied from interface:
BasicTrigger
- Invoked by a
BasicButtonModel
when the button, which is monitored
by the model, is clicked.
- Specified by:
triggered
in interface BasicTrigger
- Specified by:
triggered
in class BasicHandler<CPanelPopup.PanelPopup>
setModel
public void setModel(BasicButtonModel model)
- Description copied from class:
AbstractBasicHandler
- Sets the model to which all properties of the
action
are transfered.
- Overrides:
setModel
in class AbstractBasicHandler<CPanelPopup.PanelPopup,BasicButtonModel>
- Parameters:
model
- the model