public class ThemeChoice extends DefaultChoice<ThemeFactory>
ThemeFactory
s a ThemeMap
provides.DefaultChoice.Entry<V>
Constructor and Description |
---|
ThemeChoice(ThemeMap themes,
DockController controller)
Creates a new set of choices.
|
Modifier and Type | Method and Description |
---|---|
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 . |
add, add, addChoiceListener, addLinked, equals, fireInserted, fireRemoved, fireUpdated, getDefaultChoice, getEntry, getId, getText, getValue, identifierToValue, indexOfIdentifier, indexOfValue, isNullEntryAllowed, removeChoiceListener, setDefaultChoice, setNullEntryAllowed, size, valueToIdentifier
public ThemeChoice(ThemeMap themes, DockController controller)
themes
- the map to readcontroller
- the controller in whose realm this choice is required, can be null
public void setController(DockController controller)
Choice
Choice
that it is now used for displaying items for
controller
.setController
in interface Choice
setController
in class DefaultChoice<ThemeFactory>
controller
- the controller in whose realm this Choice
is currently
used, can be null
public void remove(int index)
DefaultChoice
remove
in class DefaultChoice<ThemeFactory>
index
- the index of the entry to remove