Package | Description |
---|---|
bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
bibliothek.gui.dock.common.theme |
Classes related to the
DockTheme s. |
bibliothek.gui.dock.themes |
Contains an implementation of
DockTheme and
all classes which are neede by this theme. |
Modifier and Type | Method and Description |
---|---|
ThemeFactory |
DockUI.getDefaultTheme()
Gets the default-theme to be used by all
DockController s when
nothing else is specified. |
ThemeFactory[] |
DockUI.getThemes()
Gets the list of all available themes.
|
Modifier and Type | Method and Description |
---|---|
void |
DockUI.registerTheme(ThemeFactory factory)
Stores a new theme.
|
void |
DockUI.unregisterTheme(ThemeFactory factory)
Removes an earlier added factory from the set of theme-factories.
|
Modifier and Type | Class and Description |
---|---|
class |
CDockThemeFactory<D extends DockTheme>
A factory that envelops another factory in order to build a
CX-theme instead of a X-theme.
|
Modifier and Type | Method and Description |
---|---|
ThemeFactory |
ThemeMap.getFactory(int index)
Gets the
index 'th factory. |
ThemeFactory |
ThemeMap.getFactory(String key)
Searches the factory which is associated with
key . |
ThemeFactory |
ThemeMap.getSelectedFactory()
Gets the currently selected factory.
|
Modifier and Type | Method and Description |
---|---|
void |
ThemeMap.add(String key,
ThemeFactory factory)
Adds
factory at the end of this map. |
void |
ThemeMapListener.changed(ThemeMap map,
int index,
String key,
ThemeFactory oldFactory,
ThemeFactory newFactory)
Called when an entry was changed (includes adding or removing).
|
int |
ThemeMap.indexOf(ThemeFactory factory)
Searches for
factory and returns its index. |
void |
ThemeMap.insert(int index,
String key,
ThemeFactory factory)
Inserts a new factory into this map.
|
void |
ThemeMap.put(String key,
ThemeFactory factory)
Searches for an entry named
key and changes its factory. |
void |
ThemeMap.select(ThemeFactory factory)
Changes the selected factory to
factory . |
Modifier and Type | Class and Description |
---|---|
class |
ThemePropertyFactory<T extends DockTheme>
|
Modifier and Type | Method and Description |
---|---|
ThemeFactory |
DefaultThemeMeta.getFactory() |
ThemeFactory |
ThemeFactoryText.getFactory()
Gets the factory for which text is required
|
ThemeFactory |
ThemeMeta.getFactory()
Gets the factory which created this
ThemeMeta . |
static <T extends DockTheme> |
NoStackTheme.getFactory(Class<T> theme)
Creates a
ThemeFactory for this theme encapsulating another
theme. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultThemeMeta.setFactory(ThemeFactory factory) |
void |
ThemeMeta.setFactory(ThemeFactory factory)
Changes the result of
ThemeMeta.getFactory() to factory . |
Constructor and Description |
---|
DefaultThemeMeta(ThemeFactory factory,
DockController controller,
String nameId,
String descriptionId,
String[] authors,
URI[] webpages)
Creates new meta information.
|
ThemeFactoryText(String id,
ThemeFactory factory)
Creates a new
TextValue . |