org.jdesktop.application.session
Class TableState
java.lang.Object
org.jdesktop.application.session.TableState
public class TableState
- extends Object
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.
- See Also:
TableProperty
,
SessionStorage.save(java.awt.Component, java.lang.String)
,
SessionStorage.restore(java.awt.Component, java.lang.String)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableState
public TableState()
TableState
public TableState(int[] columnWidths)
getColumnWidths
public int[] getColumnWidths()
setColumnWidths
public void setColumnWidths(int[] columnWidths)
Copyright © 2009-2011. All Rights Reserved.