Interface IndicatorColorInterface
public interface IndicatorColorInterface
Interface to get/set colors for this strategy
Names are the same as used when declaring the color.
-
Method Summary
Modifier and Type Method Description void
addColorChangeListener(ColorsChangedListener listener)
Add listener that will be notified every time colors are changed Note that there is no need to remove listener - weak links are usedjava.awt.Color
getOrDefault(java.lang.String name, java.awt.Color defaultValue)
void
set(java.lang.String name, java.awt.Color color)
-
Method Details
-
set
void set(java.lang.String name, java.awt.Color color) -
getOrDefault
java.awt.Color getOrDefault(java.lang.String name, java.awt.Color defaultValue) -
addColorChangeListener
Add listener that will be notified every time colors are changed Note that there is no need to remove listener - weak links are used
-