org.springframework.richclient.table.support
Class GlazedTableModel.DefaultTableFormat

java.lang.Object
  extended by org.springframework.richclient.table.support.GlazedTableModel.DefaultTableFormat
All Implemented Interfaces:
ca.odell.glazedlists.gui.TableFormat, ca.odell.glazedlists.gui.WritableTableFormat
Enclosing class:
GlazedTableModel

protected class GlazedTableModel.DefaultTableFormat
extends Object
implements ca.odell.glazedlists.gui.WritableTableFormat

This inner class is the default TableFormat constructed. In order to extend this class you will also need to override GlazedTableModel.createTableFormat() to instantiate an instance of your derived table format.


Constructor Summary
protected GlazedTableModel.DefaultTableFormat()
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int column)
           
 Object getColumnValue(Object row, int column)
           
 boolean isEditable(Object row, int column)
           
 Object setColumnValue(Object row, Object value, int column)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlazedTableModel.DefaultTableFormat

protected GlazedTableModel.DefaultTableFormat()
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface ca.odell.glazedlists.gui.TableFormat

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface ca.odell.glazedlists.gui.TableFormat

getColumnValue

public Object getColumnValue(Object row,
                             int column)
Specified by:
getColumnValue in interface ca.odell.glazedlists.gui.TableFormat

isEditable

public boolean isEditable(Object row,
                          int column)
Specified by:
isEditable in interface ca.odell.glazedlists.gui.WritableTableFormat

setColumnValue

public Object setColumnValue(Object row,
                             Object value,
                             int column)
Specified by:
setColumnValue in interface ca.odell.glazedlists.gui.WritableTableFormat


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.