|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.color.AbstractColorScheme
bibliothek.gui.dock.themes.color.ExtendingColorScheme
public class ExtendingColorScheme
A ColorScheme that can be extended by additional ColorScheme.
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.themes.ColorScheme |
|---|
COLOR_SCHEME_PARAMETER, EXTENSION_NAME |
| Constructor Summary | |
|---|---|
ExtendingColorScheme(ColorScheme scheme,
DockController controller)
Creates a new scheme. |
|
| Method Summary | |
|---|---|
void |
addListener(UISchemeListener<Color,DockColor,ColorBridge> listener)
Adds a listener to this scheme. |
ColorBridge |
getBridge(Path name,
UIProperties<Color,DockColor,ColorBridge> properties)
Creates the UIBridge that handles resources of type name. |
Color |
getResource(String name,
UIProperties<Color,DockColor,ColorBridge> properties)
Creates the resource with name name. |
void |
install(UIProperties<Color,DockColor,ColorBridge> properties)
Informs this scheme that it is now used by properties. |
void |
removeListener(UISchemeListener<Color,DockColor,ColorBridge> listener)
Removes a listener from this scheme. |
void |
uninstall(UIProperties<Color,DockColor,ColorBridge> properties)
Informs this scheme that it is no longer used by properties. |
protected void |
updateUI()
Called when the look and feel changed. |
| Methods inherited from class bibliothek.gui.dock.themes.color.AbstractColorScheme |
|---|
fire, hasListeners, listeners, managers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendingColorScheme(ColorScheme scheme,
DockController controller)
scheme - the basic settingscontroller - the controller used to read additional schemes| Method Detail |
|---|
public void addListener(UISchemeListener<Color,DockColor,ColorBridge> listener)
UIScheme
addListener in interface UIScheme<Color,DockColor,ColorBridge>addListener in class AbstractColorSchemelistener - the new listener, not nullpublic void removeListener(UISchemeListener<Color,DockColor,ColorBridge> listener)
UIScheme
removeListener in interface UIScheme<Color,DockColor,ColorBridge>removeListener in class AbstractColorSchemelistener - the listener to removepublic void install(UIProperties<Color,DockColor,ColorBridge> properties)
UISchemeproperties.
install in interface UIScheme<Color,DockColor,ColorBridge>install in class AbstractColorSchemeproperties - the owner of this schemepublic void uninstall(UIProperties<Color,DockColor,ColorBridge> properties)
UISchemeproperties.
uninstall in interface UIScheme<Color,DockColor,ColorBridge>uninstall in class AbstractColorSchemeproperties - an old client of this schemeprotected void updateUI()
AbstractColorScheme
updateUI in class AbstractColorScheme
public ColorBridge getBridge(Path name,
UIProperties<Color,DockColor,ColorBridge> properties)
UISchemeUIBridge that handles resources of type name.
name - the name of the bridgeproperties - the map that will use the resource
null if this scheme does not know name
public Color getResource(String name,
UIProperties<Color,DockColor,ColorBridge> properties)
UISchemename. This method may be called often
and should complete quickly.
name - the name of some resourceproperties - the map that will use the resource
null if this scheme does not know name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||