|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisualize.TransferPoint
public class TransferPoint
The Class TransferPoint
represents a opacity-point that is used in LineDrawPanel
.
Constructor Summary | |
---|---|
TransferPoint(int grayValue,
int opacity)
Creates a new TransferPoint object. |
Method Summary | |
---|---|
int |
compareTo(TransferPoint transferPoint)
Compares the gray-values of two TransferPoints objects. |
int |
getGrayValue()
Returns the grayValue of the TransferPoint. |
int |
getOpacity()
Returns the opacityValue of the TransferPoint. |
void |
setGrayValue(int grayValue)
Sets the grayValue of the TransferPoint. |
void |
setOpacity(int opacity)
Sets the opacityValue of the TransferPoint. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferPoint(int grayValue, int opacity)
grayValue
- gray-value in integer-form.opacity
- opacity-value in integer-form.Method Detail |
---|
public int getGrayValue()
public int getOpacity()
public void setGrayValue(int grayValue)
grayValue
- gray-value in integer form.public void setOpacity(int opacity)
grayValue
- opacity-value in integer form.public int compareTo(TransferPoint transferPoint)
compareTo
in interface java.lang.Comparable<TransferPoint>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |