public abstract class AbstractLookAndFeelColors extends Object implements LookAndFeelColors
LookAndFeelColors, handles all the
tasks that are related to the management of the LookAndFeelColorsListener.| Modifier and Type | Field and Description |
|---|---|
protected List<LookAndFeelColorsListener> |
listeners |
CONTROL_SHADOW, PANEL_BACKGROUND, PANEL_FOREGROUND, SELECTION, TITLE_BACKGROUND, TITLE_FOREGROUND, TITLE_SELECTION_BACKGROUND, TITLE_SELECTION_FOREGROUND, WINDOW_BORDER| Constructor and Description |
|---|
AbstractLookAndFeelColors() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(LookAndFeelColorsListener listener)
Adds a listener to this object, the listener must be informed when
a color changes.
|
protected void |
fireColorChanged(String key)
Fires an event that the color
key has changed. |
protected void |
fireColorsChanged()
Fires an event that some colors changed
|
void |
removeListener(LookAndFeelColorsListener listener)
Removes a listener from this object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbind, getColor, unbindprotected List<LookAndFeelColorsListener> listeners
public void addListener(LookAndFeelColorsListener listener)
LookAndFeelColorsaddListener in interface LookAndFeelColorslistener - the listener to addpublic void removeListener(LookAndFeelColorsListener listener)
LookAndFeelColorsremoveListener in interface LookAndFeelColorslistener - the listener to removeprotected void fireColorChanged(String key)
key has changed.key - the key of the changed colorprotected void fireColorsChanged()
Copyright © 2017 Docking Frames. All rights reserved.