public class BasicPanelPopupHandler extends BasicHandler<CPanelPopup.PanelPopup>
CPanelPopup
which is shown in a title as button.BasicHandler.Listener
Constructor and Description |
---|
BasicPanelPopupHandler(CPanelPopup.PanelPopup action,
Dockable dockable)
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
void |
setModel(BasicButtonModel model)
Sets the model to which all properties of the
action
are transfered. |
void |
triggered()
Invoked by a
BasicButtonModel when the button, which is monitored
by the model, is clicked. |
bind, createListener, getItem, setBackground, setForeground, setOrientation, unbind
addBorder, ensureBorder, getAction, getDockable, getModel, isBound
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAction, getDockable
public BasicPanelPopupHandler(CPanelPopup.PanelPopup action, Dockable dockable)
action
- the action for which this handler is useddockable
- the element for which the action is usedpublic void triggered()
BasicTrigger
BasicButtonModel
when the button, which is monitored
by the model, is clicked.triggered
in interface BasicTrigger
triggered
in class BasicHandler<CPanelPopup.PanelPopup>
public void setModel(BasicButtonModel model)
AbstractBasicHandler
action
are transfered.setModel
in class AbstractBasicHandler<CPanelPopup.PanelPopup,BasicButtonModel>
model
- the model