|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jformdesigner.model.SwingTableColumn
public class SwingTableColumn
Used for TableModels in JFormDesigner forms to specify additional information
for columns, which are not supported by DefaultTableModel
.
Constructor Summary | |
---|---|
SwingTableColumn(java.lang.Object[] values,
int preferredWidth,
int minWidth,
int maxWidth,
boolean resizable)
Constructs a column. |
Method Summary | |
---|---|
int |
getMaxWidth()
Returns the maximum width of this column or 0 if not specified. |
int |
getMinWidth()
Returns the minimum width of this column or 0 if not specified. |
int |
getPreferredWidth()
Returns the preferred width of this column or 0 if not specified. |
boolean |
getResizable()
Returns whether the user is allowed to resize this column. |
java.lang.Object[] |
getValues()
Returns the allowed values of this column or null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingTableColumn(java.lang.Object[] values, int preferredWidth, int minWidth, int maxWidth, boolean resizable)
Method Detail |
---|
public java.lang.Object[] getValues()
null
.
A JComboBox
is used as cell editor if a column has values.
public int getPreferredWidth()
public int getMinWidth()
public int getMaxWidth()
public boolean getResizable()
|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |