JIDE 3.5.15

com.jidesoft.palette
Class InterpolatedPalette.Entry

java.lang.Object
  extended by com.jidesoft.palette.InterpolatedPalette.Entry
All Implemented Interfaces:
Comparable<InterpolatedPalette.Entry>
Enclosing class:
InterpolatedPalette

public static class InterpolatedPalette.Entry
extends Object
implements Comparable<InterpolatedPalette.Entry>


Constructor Summary
InterpolatedPalette.Entry(double fraction, Color color)
           
 
Method Summary
 int compareTo(InterpolatedPalette.Entry o)
           
 boolean equals(Object o)
           
 Color getColor()
           
 double getFraction()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpolatedPalette.Entry

public InterpolatedPalette.Entry(double fraction,
                                 Color color)
Method Detail

getFraction

public double getFraction()

getColor

public Color getColor()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(InterpolatedPalette.Entry o)
Specified by:
compareTo in interface Comparable<InterpolatedPalette.Entry>

JIDE 3.5.15