org.jdesktop.appframework.swingx
Class XProperties.ColumnState
java.lang.Object
org.jdesktop.appframework.swingx.XProperties.ColumnState
- Enclosing class:
- XProperties
public static class XProperties.ColumnState
- extends Object
Constructor Summary |
XProperties.ColumnState(int width,
int preferredWidth,
int modelColumn,
boolean visible,
int viewIndex)
Constructor used by the custom PersistenceDelegate. |
XProperties.ColumnState(org.jdesktop.swingx.table.TableColumnExt columnExt,
int viewIndex)
Constructor used by the Property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XProperties.ColumnState
public XProperties.ColumnState(int width,
int preferredWidth,
int modelColumn,
boolean visible,
int viewIndex)
- Constructor used by the custom PersistenceDelegate.
- Parameters:
width
- preferredWidth
- modelColumn
- visible
- viewIndex
-
XProperties.ColumnState
public XProperties.ColumnState(org.jdesktop.swingx.table.TableColumnExt columnExt,
int viewIndex)
- Constructor used by the Property.
- Parameters:
columnExt
- viewIndex
-
configureColumn
public void configureColumn(org.jdesktop.swingx.table.TableColumnExt columnExt)
- Restores column properties if the model index is the same as the column's model index. Does nothing
otherwise.
Here the properties are: width, preferredWidth, visible.
- Parameters:
columnExt
- the column to configure
getModelIndex
public int getModelIndex()
getViewIndex
public int getViewIndex()
getVisible
public boolean getVisible()
getWidth
public int getWidth()
getPreferredWidth
public int getPreferredWidth()