|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
bibliothek.gui.dock.action.actions.SimpleButtonAction
bibliothek.gui.dock.facile.action.CloseAction
bibliothek.gui.dock.common.action.predefined.CCloseAction.Action
public class CCloseAction.Action
Internal representation of the CCloseAction
, just calls
CCloseAction.close(CDockable)
when triggered.
Constructor Summary | |
---|---|
CCloseAction.Action()
Creates a new action |
Method Summary | |
---|---|
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 wrapps 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. |
Methods inherited from class bibliothek.gui.dock.facile.action.CloseAction |
---|
action, setController |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleButtonAction |
---|
addActionListener, createView, getCommand, removeActionListener, setCommand, trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDropDownItemAction |
---|
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
---|
getAccelerator, getDisabledIcon, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip, trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
addDockActionListener, bind, fireActionDisabledIconChanged, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind |
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.actions.SharingDropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction |
---|
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip |
Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction |
---|
addDockActionListener, getDisabledIcon, getDockableRepresentation, getIcon, getText, getTooltipText, isEnabled, removeDockActionListener |
Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerable |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction |
---|
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip |
Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction |
---|
addDockActionListener, getDisabledIcon, getDockableRepresentation, getIcon, getText, getTooltipText, isEnabled, removeDockActionListener |
Constructor Detail |
---|
public CCloseAction.Action()
Method Detail |
---|
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 wrapps this DockAction
.
getAction
in interface CommonDockAction
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |