com.stimware.graphworkbench.spi

Interface ColorModel

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.awt.Color getColor(int index)
      Get a color at a specified index.
      void setPeriod(int period)
      Set the period at which the colors need to repeat.
    • Method Detail

      • setPeriod

        void setPeriod(int period)
        Set the period at which the colors need to repeat.
        Parameters:
        period - the period of repetition
      • getColor

        java.awt.Color getColor(int index)
        Get a color at a specified index. The behaviour is undefined if the index is not between zero and the period.
        Parameters:
        index - the index
        Returns:
        the color at the index