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
          extended by bibliothek.gui.dock.common.intern.action.CDropDownItem
              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(java.awt.event.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
init, isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction
getAccelerator, getDisabledIcon, getIcon, getText, getTooltip, init, isEnabled, setAccelerator, setDisabledIcon, setEnabled, setIcon, setText, setTooltip
 
Methods inherited from class bibliothek.gui.dock.common.action.CAction
init, intern
 
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(java.awt.event.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