|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.theme.IdentifiedColorScheme
public class IdentifiedColorScheme
A ColorScheme that is wrapped around another scheme. This scheme
contains a unmodifiable String which is used for equals(Object)
and for hashCode().
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.themes.ColorScheme |
|---|
COLOR_SCHEME_PARAMETER, EXTENSION_NAME |
| Constructor Summary | |
|---|---|
IdentifiedColorScheme(String id,
ColorScheme delegate)
Creates a new scheme. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ColorBridgeFactory |
getBridgeFactory(Path kind)
Searches for a factory for a bridge that can be used for a specific kind of DockColor. |
Color |
getColor(String id)
Searches for a color that can be used for the identifier id. |
int |
hashCode()
|
void |
transmitAll(Priority priority,
ColorManager manager)
Transmits all values in this scheme to manager. |
boolean |
updateUI()
Called when the LookAndFeel or a color of the
LookAndFeelColors changed and this scheme
perhaps needs to update its colors. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentifiedColorScheme(String id,
ColorScheme delegate)
id - the unique identifier of this schemedelegate - the source for any value of this scheme
IllegalArgumentException - if either id or
delegate is null| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic Color getColor(String id)
ColorSchemeid.
getColor in interface ColorSchemeid - an identifier of some color
nullpublic ColorBridgeFactory getBridgeFactory(Path kind)
ColorSchemeDockColor.
getBridgeFactory in interface ColorSchemekind - the kind of color the provider should support
null
public void transmitAll(Priority priority,
ColorManager manager)
ColorSchememanager.
transmitAll in interface ColorSchemepriority - the priority to use when registering colors
and providers.manager - the manager to fillpublic boolean updateUI()
ColorSchemeLookAndFeel or a color of the
LookAndFeelColors changed and this scheme
perhaps needs to update its colors.
updateUI in interface ColorSchemetrue if anything changed, false
if this scheme was not changed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||