Class ColorPickerGrid

    • Constructor Detail

      • ColorPickerGrid

        public ColorPickerGrid()
        Deprecated.
        Instantiates a new color picker grid.
      • ColorPickerGrid

        public ColorPickerGrid​(int rows,
                               int columns)
        Deprecated.
        Instantiates a new color picker grid.
        Parameters:
        rows - the rows
        columns - the columns
      • ColorPickerGrid

        public ColorPickerGrid​(Color[][] colors)
        Deprecated.
        Instantiates a new color picker grid.
        Parameters:
        colors - the colors
    • Method Detail

      • setColorGrid

        public void setColorGrid​(Color[][] colors)
        Deprecated.
        Sets the color grid.
        Parameters:
        colors - the new color grid
      • setColor

        public void setColor​(Color color)
        Deprecated.
        Description copied from interface: ColorSelector
        Sets the color.
        Specified by:
        setColor in interface ColorSelector
        Parameters:
        color - the new color
      • setPosition

        public void setPosition​(int x,
                                int y)
        Deprecated.
        Sets the position.
        Parameters:
        x - the x
        y - the y
      • getPosition

        public int[] getPosition()
        Deprecated.
        Gets the position.
        Returns:
        the position
      • fireColorChanged

        public void fireColorChanged​(Color color)
        Deprecated.
        Notifies the listeners that a color change has occurred.
        Parameters:
        color - The color which it changed to