org.nuiton.widget
Class SwingSession.JTableState

java.lang.Object
  extended by org.nuiton.widget.SwingSession.JTableState
All Implemented Interfaces:
SwingSession.State
Enclosing class:
SwingSession

public static class SwingSession.JTableState
extends Object
implements SwingSession.State

State for JTable. TODO add support for column order change


Field Summary
protected  int[] columnWidths
           
 
Constructor Summary
SwingSession.JTableState()
           
SwingSession.JTableState(int[] columnWidths)
           
 
Method Summary
protected  JTable checkComponent(Object o)
           
 int[] getColumnWidths()
           
 SwingSession.State getState(Object o)
           
 void setColumnWidths(int[] columnWidths)
           
 void setState(Object o, SwingSession.State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnWidths

protected int[] columnWidths
Constructor Detail

SwingSession.JTableState

public SwingSession.JTableState()

SwingSession.JTableState

public SwingSession.JTableState(int[] columnWidths)
Method Detail

getColumnWidths

public int[] getColumnWidths()

setColumnWidths

public void setColumnWidths(int[] columnWidths)

checkComponent

protected JTable checkComponent(Object o)

getState

public SwingSession.State getState(Object o)
Specified by:
getState in interface SwingSession.State

setState

public void setState(Object o,
                     SwingSession.State state)
Specified by:
setState in interface SwingSession.State


Copyright © 2004-2011 CodeLutin. All Rights Reserved.