|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectColorTransferPoint
public class ColorTransferPoint
Created by IntelliJ IDEA. User: Administrator Date: 11.01.2005 Time: 19:11:46 To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
protected |
ColorTransferPoint(java.awt.Color color,
float position,
boolean fixed)
Constructs a color point information. |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns the color of the point. |
float |
getPosition()
Returns position of the point. |
boolean |
isFixed()
Figures out if point is fixed. |
void |
setColor(java.awt.Color color)
Sets the color of the point. |
boolean |
setPosition(float position)
Sets the position of the point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ColorTransferPoint(java.awt.Color color, float position, boolean fixed)
color
- Color associated with point.position
- Initial position of the point.fixed
- Flag indicating if the point is movable.Method Detail |
---|
public boolean setPosition(float position)
position
- New position.
public boolean isFixed()
public float getPosition()
public void setColor(java.awt.Color color)
color
- New color.public java.awt.Color getColor()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |