# Class Sorter.GraphicComparable

public abstract class GraphicComparable
extends Object
implements Sorter.IGraphicComparable

An IGraphicComparable that adds the knowledge of a "compare color" that can be used when two CraphicComparables are being compared.

##

color
compareColor

##

GraphicComparable (Color, Color)
  Constructor for the class

##

getColor ()
  Accessor method for the display color (from IGraphicComparable)
setColor (Color)
  Accessor method for the display color (from IGraphicComparable)

##

color

    protected Color color

compareColor

    protected Color compareColor

##

GraphicComparable

    public  GraphicComparable(Color color, Color compareColor)

  Constructor for the class.

  Parameters:
    color - The display color
    compareColor - The compare color

##

setColor

    public void setColor(Color color)

  Accessor method for the display color (from IGraphicComparable)

  Parameters:
    color - color to be set to.

getColor

    public Color getColor()

  Accessor method for the display color (from IGraphicComparable)

  Returns: