Class ColorTransferPoint

java.lang.Object
  extended by TransferPoint
      extended by ColorTransferPoint
All Implemented Interfaces:
java.io.Serializable

public class ColorTransferPoint
extends TransferPoint

Created by IntelliJ IDEA. User: Administrator Date: 05.12.2004 Time: 13:38:27 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Constructor Summary
ColorTransferPoint(java.awt.Color color, short position, boolean fixed)
          Constructs a color point information.
 
Method Summary
 java.awt.Color getColor()
          Returns the color of the point.
 void setColor(java.awt.Color color)
          Sets the color of the point.
 
Methods inherited from class TransferPoint
getPosition, isFixed, setPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorTransferPoint

public ColorTransferPoint(java.awt.Color color,
                          short position,
                          boolean fixed)
Constructs a color point information.

Parameters:
color - Color associated with point.
position - Initial position of the point.
fixed - Flag indicating if the point is movable.
Method Detail

setColor

public void setColor(java.awt.Color color)
Sets the color of the point.

Parameters:
color - New color.

getColor

public java.awt.Color getColor()
Returns the color of the point.

Returns:
Color.