org.jdesktop.appframework.swingx
Class XProperties.ColumnState

java.lang.Object
  extended by 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.
 
Method Summary
 void configureColumn(org.jdesktop.swingx.table.TableColumnExt columnExt)
          Restores column properties if the model index is the same as the column's model index.
 int getModelIndex()
           
 int getPreferredWidth()
           
 int getViewIndex()
           
 boolean getVisible()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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()