public static class SimpleSelectableAction.Check extends SimpleSelectableAction
SimpleSelectableAction
that is visualized as
a ActionType.CHECK
.SimpleSelectableAction.Check, SimpleSelectableAction.Radio
Constructor and Description |
---|
SimpleSelectableAction.Check()
Creates the new action
|
SimpleSelectableAction.Check(boolean monitorDisabling)
Creates a new action
|
Modifier and Type | Method and Description |
---|---|
boolean |
trigger(Dockable dockable)
Does the appropriate action that can be done respecting the current
state of this action.
|
addSelectableListener, createView, fireSelectedChanged, firstNonNull, getDisabledSelectedIcon, getIcon, getIconContexts, getSelectedIcon, getSelectedIcon, isSelected, isSelected, removeSelectableListener, setDisabledSelectedIcon, setSelected, setSelected, setSelectedIcon, setSelectedIcon
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unbound
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
isDropDownSelectable, isDropDownTriggerable
public SimpleSelectableAction.Check()
public SimpleSelectableAction.Check(boolean monitorDisabling)
monitorDisabling
- whether the current DisablingStrategy
should be monitoredpublic boolean trigger(Dockable dockable)
DockAction
dockable
- the element for which this action is calledtrue
if this action could do anything, false
if this action was not able to react in any way to the event.