public class SimpleExpandAction extends 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
|
BUTTON_CONTENT_FILTER| Constructor and Description |
|---|
SimpleExpandAction(DockController controller,
SimpleExpandAction.Action action)
Creates a new action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bound(Dockable dockable) |
SimpleExpandAction.Action |
getBehavior()
Tells how this action looks like.
|
void |
setBehavior(SimpleExpandAction.Action behavior)
Sets the look of this action
|
void |
unbound(Dockable dockable) |
action, addActionListener, createView, getCommand, removeActionListener, setCommand, triggerisDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedgetAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, triggeraddDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDropDownSelectable, isDropDownTriggerableaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerbind, unbindgetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltippublic SimpleExpandAction(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(Dockable dockable)
bound in class SimpleDockActionpublic void unbound(Dockable dockable)
unbound in class SimpleDockActionCopyright © 2018. All rights reserved.