|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--amber.type.server.ComplexItem
|
+--amber.type.server.ComplexColumn
This class contains information relating to the various columns in the ComplexList. The name, type, and size of the column is specified in this class.
ComplexListHandler, Serialized Form| Field Summary | |
protected int |
alignment
The alignment of text in the column. |
protected int |
size
The size of the column width in pixels. |
| Fields inherited from class amber.type.server.ComplexItem |
data, ImageType, StringType, type |
| Constructor Summary | |
ComplexColumn()
Default Constructor. |
|
ComplexColumn(int type,
java.lang.String data,
int size)
Initialising Constructor. |
|
ComplexColumn(int type,
java.lang.String data,
int size,
int alignment)
Initialising Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
This function checks to see if this object matches the input object. |
int |
getAlignment()
Gets the data in the following variable: The alignment of text in the column. |
int |
getSize()
Gets the data in the following variable: The size of the column width in pixels. |
void |
setAlignment(int data)
Sets the data in the following variable: The alignment of text in the column. |
void |
setSize(int data)
Sets the data in the following variable: The size of the column width in pixels. |
java.lang.String |
toString()
This function returns the String form of the data. |
| Methods inherited from class amber.type.server.ComplexItem |
getData, getType, setData, setType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int size
protected int alignment
| Constructor Detail |
public ComplexColumn()
public ComplexColumn(int type,
java.lang.String data,
int size)
type - This is the type of the corresponding stringdata - This is the data. This can be an URL to an itemsize - The size of the column width in pixels.
public ComplexColumn(int type,
java.lang.String data,
int size,
int alignment)
type - This is the type of the corresponding stringdata - This is the data. This can be an URL to an itemsize - The size of the column width in pixels.alignment - The alignment of text in the column.ComplexList.LEFT,
ComplexList.CENTER,
ComplexList.RIGHT| Method Detail |
public int getSize()
public void setSize(int data)
data - int containing the data to set the variable to.public int getAlignment()
ComplexList.LEFT,
ComplexList.CENTER,
ComplexList.RIGHTpublic void setAlignment(int data)
data - int containing the data to set the variable to.ComplexList.LEFT,
ComplexList.CENTER,
ComplexList.RIGHTpublic boolean equals(java.lang.Object other)
equals in class ComplexItemother - Object to compare with.public java.lang.String toString()
toString in class ComplexItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||