Class OpacityTransferPoint

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

public class OpacityTransferPoint
extends TransferPoint

Created by IntelliJ IDEA. User: Administrator Date: 05.12.2004 Time: 15:08:35 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Constructor Summary
OpacityTransferPoint(double opacity, short position, boolean fixed)
          Constructs an opacity point information.
 
Method Summary
 double getOpacity()
          Returns the opacity of the point.
 void setOpacity(double opacity)
          Sets the opacity 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

OpacityTransferPoint

public OpacityTransferPoint(double opacity,
                            short position,
                            boolean fixed)
Constructs an opacity point information.

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

setOpacity

public void setOpacity(double opacity)
Sets the opacity of the point.

Parameters:
opacity - New opacity.

getOpacity

public double getOpacity()
Returns the opacity of the point.

Returns:
Opacity.