bibliothek.gui.dock.common.action.predefined
Class CMaximizeAction
java.lang.Object
bibliothek.gui.dock.common.action.CAction
bibliothek.gui.dock.common.intern.action.CDecorateableAction<A>
bibliothek.gui.dock.common.intern.action.CDropDownItem<CExtendedModeAction.Action>
bibliothek.gui.dock.common.intern.action.CExtendedModeAction
bibliothek.gui.dock.common.action.predefined.CMaximizeAction
public class CMaximizeAction
- extends CExtendedModeAction
An action that maximizes
each CDockable
to which it is added.
- Author:
- Benjamin Sigg
Method Summary |
protected boolean |
checkTrigger(KeyEvent event)
Checks whether this action is able to trigger this action. |
protected void |
setController(DockController controller)
Exchanges all the properties such that they are read from controller |
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction |
addDecorateableActionListener, getAccelerator, getDisabledHoverIcon, getDisabledIcon, getDisabledPressedIcon, getHoverIcon, getIcon, getPressedIcon, getText, getTooltip, init, intern, isEnabled, isShowTextOnButtons, removeDecorateableActionListener, setAccelerator, setDisabledHoverIcon, setDisabledIcon, setDisabledPressedIcon, setEnabled, setHoverIcon, setIcon, setPressedIcon, setShowTextOnButtons, setText, setTooltip |
Methods inherited from class bibliothek.gui.dock.common.action.CAction |
init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMaximizeAction
public CMaximizeAction(CControl control)
- Creates a new action
- Parameters:
control
- the control for which this action will be used
setController
protected void setController(DockController controller)
- Description copied from class:
CExtendedModeAction
- Exchanges all the properties such that they are read from
controller
- Overrides:
setController
in class CExtendedModeAction
- Parameters:
controller
- the controller from which to read properties, or null
checkTrigger
protected boolean checkTrigger(KeyEvent event)
- Description copied from class:
CExtendedModeAction
- Checks whether this action is able to trigger this action.
- Overrides:
checkTrigger
in class CExtendedModeAction
- Parameters:
event
- an event that matches the accelerator of this action
- Returns:
true
if this action really is triggered