bibliothek.gui.dock.common.preference
Class ThemeChoice
java.lang.Object
bibliothek.extension.gui.dock.preference.preferences.choice.DefaultChoice<ThemeFactory>
bibliothek.gui.dock.common.preference.ThemeChoice
- All Implemented Interfaces:
- Choice
public class ThemeChoice
- extends DefaultChoice<ThemeFactory>
A choice offering all the ThemeFactory
s a ThemeMap
provides.
- Author:
- Benjamin Sigg
Method Summary |
void |
remove(int index)
Removes the index'th entry of this choice. |
void |
setController(DockController controller)
Informs this Choice that it is now used for displaying items for
controller . |
Methods inherited from class bibliothek.extension.gui.dock.preference.preferences.choice.DefaultChoice |
add, add, addChoiceListener, addLinked, equals, fireInserted, fireRemoved, fireUpdated, getDefaultChoice, getEntry, getId, getText, getValue, identifierToValue, indexOfIdentifier, indexOfValue, isNullEntryAllowed, removeChoiceListener, setDefaultChoice, setNullEntryAllowed, size, valueToIdentifier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeChoice
public ThemeChoice(ThemeMap themes,
DockController controller)
- Creates a new set of choices.
- Parameters:
themes
- the map to readcontroller
- the controller in whose realm this choice is required, can be null
setController
public void setController(DockController controller)
- Description copied from interface:
Choice
- Informs this
Choice
that it is now used for displaying items for
controller
.
- Specified by:
setController
in interface Choice
- Overrides:
setController
in class DefaultChoice<ThemeFactory>
- Parameters:
controller
- the controller in whose realm this Choice
is currently
used, can be null
remove
public void remove(int index)
- Description copied from class:
DefaultChoice
- Removes the index'th entry of this choice.
- Overrides:
remove
in class DefaultChoice<ThemeFactory>
- Parameters:
index
- the index of the entry to remove