bibliothek.gui.dock.action.actions
Class SimpleSelectableAction.Radio

java.lang.Object
  extended by bibliothek.gui.dock.action.actions.AbstractStandardDockAction
      extended by bibliothek.gui.dock.action.actions.SimpleDockAction
          extended by bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
              extended by bibliothek.gui.dock.action.actions.SimpleSelectableAction
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction
SimpleSelectableAction.Check, SimpleSelectableAction.Radio
 
Constructor Summary
SimpleSelectableAction.Radio()
          Creates the new action
SimpleSelectableAction.Radio(boolean monitorDisabling)
          Creates a new action
 
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.SimpleDropDownItemAction
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
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.SharingDropDownItemAction
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
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
 
Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction
isDropDownSelectable, isDropDownTriggerable
 

Constructor Detail

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
Method Detail

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.