net.sf.echobinding.table
Class EditableTableCellRenderer

java.lang.Object
  extended by net.sf.echobinding.table.DefaultDataBoundTableCellRenderer
      extended by net.sf.echobinding.table.EditableTableCellRenderer
All Implemented Interfaces:
java.io.Serializable, nextapp.echo2.app.table.TableCellRenderer

public class EditableTableCellRenderer
extends DefaultDataBoundTableCellRenderer

See Also:
Serialized Form

Constructor Summary
EditableTableCellRenderer()
           
 
Method Summary
protected  Label createLabel(nextapp.echo2.app.Table table, java.lang.Object value, int col, int row)
          Returns a data bound label for the given table index.
 nextapp.echo2.app.Component getTableCellRendererComponent(nextapp.echo2.app.Table table, java.lang.Object value, int col, int row)
          renders the table cell into a data bound label
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditableTableCellRenderer

public EditableTableCellRenderer()
Method Detail

getTableCellRendererComponent

public nextapp.echo2.app.Component getTableCellRendererComponent(nextapp.echo2.app.Table table,
                                                                 java.lang.Object value,
                                                                 int col,
                                                                 int row)
renders the table cell into a data bound label

Specified by:
getTableCellRendererComponent in interface nextapp.echo2.app.table.TableCellRenderer
Overrides:
getTableCellRendererComponent in class DefaultDataBoundTableCellRenderer
Parameters:
table - the table
value - the value
col - the col
row - the row
Returns:
the table cell renderer component

createLabel

protected Label createLabel(nextapp.echo2.app.Table table,
                            java.lang.Object value,
                            int col,
                            int row)
Description copied from class: DefaultDataBoundTableCellRenderer
Returns a data bound label for the given table index.

Overrides:
createLabel in class DefaultDataBoundTableCellRenderer
Parameters:
table - the table
value - the value
col - the col
row - the row
Returns:
a data bound label


Copyright © 2007. All Rights Reserved.