|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.application.session.TableState
public class TableState
This Java Bean records the columnWidths for all
of the columns in a JTable. A width of -1 is used to
mark TableColumns that are not resizable.
TableProperty,
SessionStorage.save(java.awt.Component, java.lang.String),
SessionStorage.restore(java.awt.Component, java.lang.String)| Constructor Summary | |
|---|---|
TableState()
|
|
TableState(int[] columnWidths)
|
|
| Method Summary | |
|---|---|
int[] |
getColumnWidths()
|
void |
setColumnWidths(int[] columnWidths)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableState()
public TableState(int[] columnWidths)
| Method Detail |
|---|
public int[] getColumnWidths()
public void setColumnWidths(int[] columnWidths)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||