bibliothek.gui.dock.common.action.predefined
Class CMaximizeAction

java.lang.Object
  extended by bibliothek.gui.dock.common.action.CAction
      extended by bibliothek.gui.dock.common.intern.action.CDecorateableAction<A>
          extended by bibliothek.gui.dock.common.intern.action.CDropDownItem<CExtendedModeAction.Action>
              extended by bibliothek.gui.dock.common.intern.action.CExtendedModeAction
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.common.intern.action.CExtendedModeAction
CExtendedModeAction.Action
 
Constructor Summary
CMaximizeAction(CControl control)
          Creates a new action
 
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.CExtendedModeAction
action, createAction, getController, init
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDropDownItem
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
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
 

Constructor Detail

CMaximizeAction

public CMaximizeAction(CControl control)
Creates a new action

Parameters:
control - the control for which this action will be used
Method Detail

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