public class CMaximizeAction extends CExtendedModeAction
CExtendedModeAction.Action
Constructor and Description |
---|
CMaximizeAction(CControl control)
Creates a new action
|
Modifier and Type | Method and Description |
---|---|
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 |
action, createAction, getController, init
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
addDecorateableActionListener, getAccelerator, getDisabledHoverIcon, getDisabledIcon, getDisabledPressedIcon, getHoverIcon, getIcon, getPressedIcon, getText, getTooltip, init, intern, isAcceleratorGlobal, isEnabled, isShowTextOnButtons, removeDecorateableActionListener, setAccelerator, setAcceleratorIsGlobal, setDisabledHoverIcon, setDisabledIcon, setDisabledPressedIcon, setEnabled, setHoverIcon, setIcon, setPressedIcon, setShowTextOnButtons, setText, setTooltip
public CMaximizeAction(CControl control)
control
- the control for which this action will be usedprotected void setController(DockController controller)
CExtendedModeAction
controller
setController
in class CExtendedModeAction
controller
- the controller from which to read properties, or null
protected boolean checkTrigger(KeyEvent event)
CExtendedModeAction
checkTrigger
in class CExtendedModeAction
event
- an event that matches the accelerator of this actiontrue
if this action really is triggered