public interface Layer1IndicatorColorInterface
Modifier and Type | Method and Description |
---|---|
void |
addColorChangeListener(ColorsChangedListener listener)
Add listener that will be notified every time colors are changed
You should implement this method if you have color that can be changed from both inside the strategy and outside (like from color dialog) Note that there is no need to remove the listener - weak links are used |
java.awt.Color |
getColor(java.lang.String alias,
java.lang.String name) |
void |
setColor(java.lang.String alias,
java.lang.String name,
java.awt.Color color)
Can be called if color is changed from external places such as dialogs or context menues
|
void setColor(java.lang.String alias, java.lang.String name, java.awt.Color color)
alias
- name
- color
- java.awt.Color getColor(java.lang.String alias, java.lang.String name)
void addColorChangeListener(ColorsChangedListener listener)