org.springframework.richclient.widget.table
Interface TableDescription

Show UML class diagram
All Known Implementing Classes:
PropertyColumnTableDescription

public interface TableDescription

TableDescription


Method Summary
 Comparator getColumnComparator(int propertyIndex)
          The comparator for a column
 int getColumnCount()
          Returns the column count
 TableCellEditor getColumnEditor(int propertyIndex)
          The cell editorr for a column
 TableCellRenderer getColumnRenderer(int propertyIndex)
          The column renderer for a column
 Class getDataType()
           
 Comparator getDefaultComparator()
          The default comparator
 String getHeader(int propertyIndex)
          Column header.
 int getMaxColumnWidth(int propertyIndex)
          Maximum width for a column
 int getMinColumnWidth(int propertyIndex)
          Minimum width for a column
 String[] getPropertiesInTextFilter()
          De properties to be included in the text filter
 Class getType(int propertyIndex)
          Datatype for a column
 Object getValue(Object rowObject, int propertyIndex)
          Value of a columnn for a certain row object
 boolean hasSelectColumn()
           
 boolean isResizable(int propertyIndex)
          If the column is resizable
 boolean isSelectColumn(int propertyIndex)
          Whether this column is a selection column
 boolean isVisible(int propertyIndex)
          Whether the column is initially visible or not
 void setValue(Object rowObject, int propertyIndex, Object newValue)
          Sets the value of a column of a certain row object
 

Method Detail

getDataType

Class getDataType()
Returns:
Type van row objects

getPropertiesInTextFilter

String[] getPropertiesInTextFilter()
De properties to be included in the text filter


getType

Class getType(int propertyIndex)
Datatype for a column


getHeader

String getHeader(int propertyIndex)
Column header.


getValue

Object getValue(Object rowObject,
                int propertyIndex)
Value of a columnn for a certain row object


setValue

void setValue(Object rowObject,
              int propertyIndex,
              Object newValue)
Sets the value of a column of a certain row object


getMaxColumnWidth

int getMaxColumnWidth(int propertyIndex)
Maximum width for a column


getMinColumnWidth

int getMinColumnWidth(int propertyIndex)
Minimum width for a column


isResizable

boolean isResizable(int propertyIndex)
If the column is resizable


getColumnRenderer

TableCellRenderer getColumnRenderer(int propertyIndex)
The column renderer for a column


getColumnEditor

TableCellEditor getColumnEditor(int propertyIndex)
The cell editorr for a column


isSelectColumn

boolean isSelectColumn(int propertyIndex)
Whether this column is a selection column


getColumnComparator

Comparator getColumnComparator(int propertyIndex)
The comparator for a column


getDefaultComparator

Comparator getDefaultComparator()
The default comparator


getColumnCount

int getColumnCount()
Returns the column count


hasSelectColumn

boolean hasSelectColumn()
Returns:
TRUE if the table has a selection column

isVisible

boolean isVisible(int propertyIndex)
Whether the column is initially visible or not



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