public class CCloseAction.Action extends CloseAction implements CommonDropDownItem
CCloseAction
, just calls
CCloseAction.close(CDockable)
when triggered.Constructor and Description |
---|
CCloseAction.Action()
Creates a new action
|
Modifier and Type | Method and Description |
---|---|
protected void |
bound(Dockable dockable)
Invoked by this
AbstractStandardDockAction when a Dockable
was bound to this action the first time. |
protected void |
close(Dockable dockable)
Invoked when the
dockable has to be closed. |
CAction |
getAction()
Gets the
CAction which wraps this DockAction . |
protected void |
unbound(Dockable dockable)
Called by this
AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. |
action, getCloseIcon, getCloseIconHover, getCloseIconPressed, setController
addActionListener, createView, getCommand, removeActionListener, setCommand, trigger
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
isDropDownSelectable, isDropDownTriggerable
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
protected void close(Dockable dockable)
CloseAction
dockable
has to be closed. The
default-behaviour of this method is to remove the Dockable
from it's parent, if there is a parent.close
in class CloseAction
dockable
- The Dockable
to closeprotected void bound(Dockable dockable)
AbstractStandardDockAction
AbstractStandardDockAction
when a Dockable
was bound to this action the first time.bound
in class SimpleDockAction
dockable
- The Dockable that was not known to this action
before the method was invokedprotected void unbound(Dockable dockable)
AbstractStandardDockAction
AbstractStandardDockAction
when the Dockable
dockable
will not be used in any means by this
action. Note that the AbstractStandardDockAction.bound(Dockable)
-method can be
invoked again with the dockable
.unbound
in class SimpleDockAction
dockable
- The Dockable which will not by used in any way.public CAction getAction()
CommonDockAction
CAction
which wraps this DockAction
.getAction
in interface CommonDockAction
null