Package org.apache.pivot.wtk
Interface TableView.RowEditor
-
- All Known Implementing Classes:
TableViewRowEditor
- Enclosing class:
- TableView
public static interface TableView.RowEditorTable view row editor interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginEdit(TableView tableView, int rowIndex, int columnIndex)Called to begin editing a table row.voidendEdit(boolean result)Terminates an edit operation.booleanisEditing()
-
-
-
Method Detail
-
beginEdit
void beginEdit(TableView tableView, int rowIndex, int columnIndex)
Called to begin editing a table row.- Parameters:
tableView- The table view being edited.rowIndex- Index of the row to edit.columnIndex- Index of the column to edit.
-
endEdit
void endEdit(boolean result)
Terminates an edit operation.- Parameters:
result-trueto perform the edit;falseto cancel it.
-
isEditing
boolean isEditing()
- Returns:
- Whether an edit is currently in progress.
-
-