|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.colorchooser.GradientColorData
public class GradientColorData
Single color data for GradientData.
Constructor Summary | |
---|---|
GradientColorData()
Constructs GradientColorData with zero location and white color. |
|
GradientColorData(float location,
java.awt.Color color)
Constructs GradientColorData with the specified location and color. |
Method Summary | |
---|---|
GradientColorData |
clone()
Returns cloned GradientColorData. |
boolean |
equals(java.lang.Object obj)
Returns whether this GradientColorData is equal to the specified object or not. |
java.awt.Color |
getColor()
Returns GradientColorData color. |
float |
getLocation()
Returns GradientColorData location. |
void |
setColor(java.awt.Color color)
Sets GradientColorData color. |
void |
setLocation(float location)
Sets GradientColorData location. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GradientColorData()
public GradientColorData(float location, java.awt.Color color)
location
- GradientColorData locationcolor
- GradientColorData colorMethod Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
color
- new GradientColorData colorpublic float getLocation()
public void setLocation(float location)
location
- new GradientColorData locationpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare with
public GradientColorData clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |