Interface Layer1IndicatorColorInterface


public interface Layer1IndicatorColorInterface
  • Method Summary

    Modifier and Type Method 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
  • Method Details

    • setColor

      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
      Parameters:
      alias -
      name -
      color -
    • getColor

      java.awt.Color getColor​(java.lang.String alias, java.lang.String name)
    • addColorChangeListener

      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