Class ThemeChoice
java.lang.Object
bibliothek.extension.gui.dock.preference.preferences.choice.DefaultChoice<ThemeFactory>
bibliothek.gui.dock.common.preference.ThemeChoice
- All Implemented Interfaces:
Choice
A choice offering all the
ThemeFactorys a ThemeMap provides.- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from class bibliothek.extension.gui.dock.preference.preferences.choice.DefaultChoice
DefaultChoice.Entry<V> -
Constructor Summary
ConstructorsConstructorDescriptionThemeChoice(ThemeMap themes, DockController controller) Creates a new set of choices. -
Method Summary
Modifier and TypeMethodDescriptionvoidremove(int index) voidsetController(DockController 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
-
Constructor Details
-
ThemeChoice
Creates a new set of choices.- Parameters:
themes- the map to readcontroller- the controller in whose realm this choice is required, can benull
-
-
Method Details
-
setController
- Specified by:
setControllerin interfaceChoice- Overrides:
setControllerin classDefaultChoice<ThemeFactory>
-
remove
public void remove(int index) - Overrides:
removein classDefaultChoice<ThemeFactory>
-