bibliothek.gui.dock.action.actions
Class SimpleSelectableAction.Radio
java.lang.Object
bibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
bibliothek.gui.dock.action.actions.SimpleSelectableAction
bibliothek.gui.dock.action.actions.SimpleSelectableAction.Radio
- All Implemented Interfaces:
- SharingDropDownItemAction, SharingSelectableDockAction, SharingStandardDockAction, DockAction, DropDownItemAction, SelectableDockAction, StandardDockAction, StandardDropDownItemAction
- Direct Known Subclasses:
- CommonSimpleRadioAction
- Enclosing class:
- SimpleSelectableAction
public static class SimpleSelectableAction.Radio
- extends SimpleSelectableAction
A SimpleSelectableAction
that is visualized as
a ActionType.RADIO
.
- Author:
- Benjamin Sigg
Method Summary |
boolean |
trigger(Dockable dockable)
Does the appropriate action that can be done respecting the current
state of this action. |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction |
addSelectableListener, createView, fireSelectedChanged, firstNonNull, getDisabledSelectedIcon, getIcon, getIconContexts, getSelectedIcon, getSelectedIcon, isSelected, isSelected, removeSelectableListener, setDisabledSelectedIcon, setSelected, setSelected, setSelectedIcon, setSelectedIcon |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unbound |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction |
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip |
SimpleSelectableAction.Radio
public SimpleSelectableAction.Radio()
- Creates the new action
SimpleSelectableAction.Radio
public SimpleSelectableAction.Radio(boolean monitorDisabling)
- Creates a new action
- Parameters:
monitorDisabling
- whether the current DisablingStrategy
should be monitored
trigger
public boolean trigger(Dockable dockable)
- Description copied from interface:
DockAction
- Does the appropriate action that can be done respecting the current
state of this action.
- Parameters:
dockable
- the element for which this action is called
- Returns:
true
if this action could do anything, false
if this action was not able to react in any way to the event.