|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.opnav.ColumnDescriptor
A data entity which describes a column in a view of system objects.
A ColumnDescriptor
provides the text for the column heading
and an ID which will be supplied to ListManager
implementations
when the data for the column is requested.
ListManager
Field Summary | |
static int |
ALIGN_CENTER
Center the text in the column. |
static int |
ALIGN_LEFT
Left align the text in the column. |
static int |
ALIGN_RIGHT
Right align the text in the column. |
Constructor Summary | |
ColumnDescriptor(java.lang.String heading,
int width,
int ID)
Constructs a column descriptor. |
|
ColumnDescriptor(java.lang.String heading,
int width,
int ID,
int alignment)
Constructs a column descriptor. |
Method Summary | |
int |
getAlignment()
Returns the column alignment. |
int |
getDefaultWidth()
Returns the initial column width. |
java.lang.String |
getHeading()
Returns the column heading. |
int |
getID()
Returns the column identifier. |
boolean |
getVisible()
THIS METHOD IS CURRENTLY NOT SUPPORTED Returns whether this column should be displayed in the list pane. |
void |
setAlignment(int alignment)
Sets the column alignment. |
void |
setDefaultWidth(int width)
Sets the initial column width. |
void |
setHeading(java.lang.String heading)
Sets the column heading. |
void |
setID(int ID)
Sets the column identifier. |
void |
setVisible(boolean vis)
THIS METHOD IS CURRENTLY NOT SUPPORTED Sets whether this column should be displayed in the list pane. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int ALIGN_LEFT
public static final int ALIGN_RIGHT
public static final int ALIGN_CENTER
Constructor Detail |
public ColumnDescriptor(java.lang.String heading, int width, int ID)
heading
- the column heading in a form suitable for displaying to the user.width
- a suggested initial width for the column expressed in logical units.ID
- the identifier for the column which will be supplied when data for the column is requested.public ColumnDescriptor(java.lang.String heading, int width, int ID, int alignment)
heading
- the column heading in a form suitable for displaying to the user.width
- a suggested initial width for the column expressed in logical units.ID
- the identifier for the column which will be supplied when data for the column is requested.alignment
- the alignment of the text within the column.Method Detail |
public java.lang.String getHeading()
setHeading(java.lang.String)
public void setHeading(java.lang.String heading)
heading
- the column heading in a form suitable for displaying to the user.getHeading()
public int getDefaultWidth()
setDefaultWidth(int)
public void setDefaultWidth(int width)
width
- a suggested initial width for the column; the number of characters that can be displayed in the column.getDefaultWidth()
public int getID()
setID(int)
public void setID(int ID)
ID
- the identifier for the column which will be supplied when data for the column is requested.getID()
public int getAlignment()
setAlignment(int)
public void setAlignment(int alignment)
ID
- the alignment of the text in the column.getAlignment()
public boolean getVisible()
setVisible(boolean)
public void setVisible(boolean vis)
ID
- whether this column is to be displayed.getVisible()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |