Class CMaximizeAction


public class CMaximizeAction extends CExtendedModeAction
An action that maximizes each CDockable to which it is added.
Author:
Benjamin Sigg
  • Constructor Details

    • CMaximizeAction

      public CMaximizeAction(CControl control)
      Creates a new action
      Parameters:
      control - the control for which this action will be used
  • Method Details

    • 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