|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorScheme
A ColorScheme
is a collection of colors and providers.
Method Summary | ||
---|---|---|
Color |
getColor(String id)
Searches for a color that can be used for the identifier id . |
|
|
getProvider(Class<D> kind)
Searches for a factory for a provider that can be used for a specific kind of DockColor . |
|
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. |
Method Detail |
---|
Color getColor(String id)
id
.
id
- an identifier of some color
null
<D extends DockColor> ColorProviderFactory<D,? extends ColorProvider<D>> getProvider(Class<D> kind)
DockColor
.
kind
- the kind of color the provider should support
null
void transmitAll(Priority priority, ColorManager manager)
manager
.
priority
- the priority to use when registering colors
and providers.manager
- the manager to fillboolean updateUI()
LookAndFeel
or a color of the
LookAndFeelColors
changed and this scheme
perhaps needs to update its colors.
true
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 |