public class SimpleExpandAction
extends bibliothek.gui.dock.action.actions.SimpleButtonAction
SimpleExpandAction
just shows the icon, text and tooltip of one
SimpleExpandAction.Action
that could be executed regarding the ExpandedState
. This action
does not implement any logic, it just provides a good looking button.Modifier and Type | Class and Description |
---|---|
static class |
SimpleExpandAction.Action
describes to which state this action leads
|
Constructor and Description |
---|
SimpleExpandAction(bibliothek.gui.DockController controller,
SimpleExpandAction.Action action)
Creates a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
bound(bibliothek.gui.Dockable dockable) |
SimpleExpandAction.Action |
getBehavior()
Tells how this action looks like.
|
void |
setBehavior(SimpleExpandAction.Action behavior)
Sets the look of this action
|
void |
unbound(bibliothek.gui.Dockable dockable) |
action, 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, isDropDownTriggerable
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
public SimpleExpandAction(bibliothek.gui.DockController controller, SimpleExpandAction.Action action)
controller
- the controller in whose realm this action is usedaction
- the exact look of this actionpublic SimpleExpandAction.Action getBehavior()
public void setBehavior(SimpleExpandAction.Action behavior)
behavior
- the new lookpublic void bound(bibliothek.gui.Dockable dockable)
bound
in class bibliothek.gui.dock.action.actions.SimpleDockAction
public void unbound(bibliothek.gui.Dockable dockable)
unbound
in class bibliothek.gui.dock.action.actions.SimpleDockAction