|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsemorg.gui.util.TableColumnProperty
public class TableColumnProperty
This class encapsulates all properties of a column of a GUI table.
Field Summary | |
---|---|
private int |
alignment
The alignment of a column. |
private int |
columnNumber
The number of a column. |
private int |
index
The index of the column. |
private boolean |
resizable
If true the column can be resized by the user. |
private String |
text
The text (name) of a columns. |
private int |
width
The width of a column. |
Constructor Summary | |
---|---|
TableColumnProperty(int index,
int columnNumber,
String text,
int alignment,
int width,
boolean resizable)
Creates a TableColumnProperty instance with the given values. |
Method Summary | |
---|---|
int |
getAlignment()
|
int |
getColumnNumber()
|
int |
getIndex()
|
boolean |
getResizable()
|
String |
getText()
|
int |
getWidth()
|
void |
setAlignment(int alignment)
|
void |
setColumnNumber(int columnNumber)
|
void |
setResizable(boolean resizable)
|
void |
setText(String text)
|
void |
setWidth(int width)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int index
private int columnNumber
private int alignment
private int width
private boolean resizable
private String text
Constructor Detail |
---|
public TableColumnProperty(int index, int columnNumber, String text, int alignment, int width, boolean resizable)
TableColumnProperty
instance with the given values.
Method Detail |
---|
public int getAlignment()
public void setAlignment(int alignment)
public int getColumnNumber()
public void setColumnNumber(int columnNumber)
public boolean getResizable()
public void setResizable(boolean resizable)
public int getWidth()
public void setWidth(int width)
public String getText()
public void setText(String text)
public int getIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |