bibliothek.gui.dock.action.actions
Class GroupedSelectableDockAction.Radio<K>

java.lang.Object
  extended by bibliothek.gui.dock.action.actions.AbstractStandardDockAction
      extended by bibliothek.gui.dock.action.actions.GroupedDockAction<K,D>
          extended by bibliothek.gui.dock.action.actions.GroupedDropDownItemAction<K,SimpleSelectableAction>
              extended by bibliothek.gui.dock.action.actions.GroupedSelectableDockAction<K>
                  extended by bibliothek.gui.dock.action.actions.GroupedSelectableDockAction.Radio<K>
Type Parameters:
K - the type of key used to distinguish between groups
All Implemented Interfaces:
DockAction, DropDownItemAction, SelectableDockAction, StandardDockAction, StandardDropDownItemAction
Enclosing class:
GroupedSelectableDockAction<K>

public abstract static class GroupedSelectableDockAction.Radio<K>
extends GroupedSelectableDockAction<K>

An action intended to use as type ActionType.RADIO

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.action.actions.GroupedSelectableDockAction
GroupedSelectableDockAction.Check<K>, GroupedSelectableDockAction.Radio<K>
 
Field Summary
 
Fields inherited from interface bibliothek.gui.dock.action.DockAction
BUTTON_CONTENT_FILTER
 
Constructor Summary
GroupedSelectableDockAction.Radio(GroupKeyGenerator<? extends K> generator)
          Creates a new action.
 
Method Summary
protected  SimpleSelectableAction createGroup(SelectableDockActionListener listener)
          Creates a new group and adds a listener to the group.
 
Methods inherited from class bibliothek.gui.dock.action.actions.GroupedSelectableDockAction
addSelectableListener, createGroup, createView, fireSelectedChanged, fireSelectedChanged, getDisabledSelectedIcon, getSelectedIcon, isSelected, isSelected, removeSelectableListener, setDisabledSelectedIcon, setGroup, setSelected, setSelected, setSelectedIcon
 
Methods inherited from class bibliothek.gui.dock.action.actions.GroupedDropDownItemAction
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerable, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
Methods inherited from class bibliothek.gui.dock.action.actions.GroupedDockAction
bound, createGroupKey, ensureGroup, getAccelerator, getDisabledIcon, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getGenerator, getGroup, getGroup, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, groupExists, isEnabled, isEnabled, isKnown, isRemoveEmptyGroups, removeGroup, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setGenerator, setIcon, setIcon, setRemoveEmptyGroups, 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.dropdown.DropDownItemAction
isDropDownSelectable, isDropDownTriggerable
 
Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
 
Methods inherited from interface bibliothek.gui.dock.action.DockAction
bind, trigger, unbind
 

Constructor Detail

GroupedSelectableDockAction.Radio

public GroupedSelectableDockAction.Radio(GroupKeyGenerator<? extends K> generator)
Creates a new action.

Parameters:
generator - the generator to create new keys for unknown Dockables
Method Detail

createGroup

protected SimpleSelectableAction createGroup(SelectableDockActionListener listener)
Description copied from class: GroupedSelectableDockAction
Creates a new group and adds a listener to the group.

Specified by:
createGroup in class GroupedSelectableDockAction<K>
Parameters:
listener - the listener to add
Returns:
the new group