bibliothek.gui.dock.action.actions
Class GroupedSelectableDockAction.Radio<K>
java.lang.Object
bibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.GroupedDockAction<K,D>
bibliothek.gui.dock.action.actions.GroupedDropDownItemAction<K,SimpleSelectableAction>
bibliothek.gui.dock.action.actions.GroupedSelectableDockAction<K>
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
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.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 |
GroupedSelectableDockAction.Radio
public GroupedSelectableDockAction.Radio(GroupKeyGenerator<? extends K> generator)
- Creates a new action.
- Parameters:
generator
- the generator to create new keys for unknown
Dockables
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