net.sf.echobinding.table
Interface EditableTable<T>

All Known Implementing Classes:
FormColumnTable, ListEditor

public interface EditableTable<T>


Method Summary
 void addRow()
          Adds a new row to the table.
 void copyRow(BindingContext context)
          Creates a copy of the selected row and adds it to the table.
 void deleteRow(BindingContext context)
          Removes the selected row from the table.
 void editRow(BindingContext context)
          Shows the selected row in the edit form for editing.
 boolean isPersistent(int row)
          Decides wether a row is persistent or not.
 void saveRow(BindingContext context)
          Synchronizes the widgets in the form with the underlying bean.
 

Method Detail

editRow

void editRow(BindingContext context)
Shows the selected row in the edit form for editing.

Parameters:
context -

addRow

void addRow()
Adds a new row to the table.


deleteRow

void deleteRow(BindingContext context)
Removes the selected row from the table.

Parameters:
context -

copyRow

void copyRow(BindingContext context)
Creates a copy of the selected row and adds it to the table.

Parameters:
context -

saveRow

void saveRow(BindingContext context)
Synchronizes the widgets in the form with the underlying bean. Will send saveObject(bean) to the persistence manager for making the changes persistent.

Parameters:
context -

isPersistent

boolean isPersistent(int row)
Decides wether a row is persistent or not. Not persitent rows will be highlightet in the table.

Parameters:
row -
Returns:


Copyright © 2007. All Rights Reserved.