|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--amber.type.server.DrawOperation
| Field Summary | |
protected java.lang.Object |
data
Data object associated with the operation. |
protected int[] |
drawInfo
Drawing information relating to the operation performed. |
static int |
FlagsIndex
|
static int |
OperationIndex
|
| Constructor Summary | |
DrawOperation()
Default Constructor. |
|
DrawOperation(int[] drawInfo,
java.lang.Object data)
Initialising Constructor. |
|
DrawOperation(int[] drawInfo,
java.lang.Object data,
long handle)
Initialising Constructor. |
|
| Method Summary | |
boolean |
equals(long value)
Checks for a match to a handle value. |
java.lang.Object |
getData()
Gets the data in the following variable: Data object associated with the operation. |
int[] |
getDrawInfo()
Gets the data in the following variable: int array containing information specific to the drawing |
int |
getFlags()
Gets the data in the following variable: Any useful flags relating to the specified operation. |
long |
getHandle()
This function returns the unique handle associated with this object. |
int |
getOperation()
Gets the data in the following variable: Type of operation to perform |
void |
setData(java.lang.Object data)
Sets the data in the following variable: Data object associated with the operation. |
void |
setDrawInfo(int[] data)
Sets the data in the following variable: int array containing information specific to the drawing |
void |
setFlags(int data)
Sets the data in the following variable: Any useful flags relating to the specified operation. |
void |
setOperation(int data)
Sets the data in the following variable: Type of operation to perform |
java.lang.String |
toString()
This function returns the String form of the data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int OperationIndex
public static final int FlagsIndex
protected java.lang.Object data
protected int[] drawInfo
| Constructor Detail |
public DrawOperation()
public DrawOperation(int[] drawInfo,
java.lang.Object data)
throws ComponentHandlerException
drawInfo - int array containing information specific to the drawing
operation. The first int is the operation and the second is flags relating to the operation.data - Data object associated with the operation.ComponentHandlerException - with errors in the data.
public DrawOperation(int[] drawInfo,
java.lang.Object data,
long handle)
throws ComponentHandlerException
drawInfo - int array containing information specific to the drawing
operation. The first int is the operation and the second is flags relating to the operation.data - Data object associated with the operation.handle. - The handle to use for this object.ComponentHandlerException - with errors in the data.| Method Detail |
public int getOperation()
public int getFlags()
public java.lang.Object getData()
public int[] getDrawInfo()
public long getHandle()
public void setOperation(int data)
data - int containing the data to set the variable to.public void setFlags(int data)
data - int containing the data to set the variable to.public void setData(java.lang.Object data)
data - Object containing the data to set the variable to.public void setDrawInfo(int[] data)
data - int containing the data to set the variable to.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(long value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||