Package org.apache.pivot.wtk
Interface TableView.RowEditor
-
- All Known Implementing Classes:
TableViewRowEditor
- Enclosing class:
- TableView
public static interface TableView.RowEditor
Table view row editor interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beginEdit(TableView tableView, int rowIndex, int columnIndex)
Called to begin editing a table row.void
endEdit(boolean result)
Terminates an edit operation.boolean
isEditing()
-
-
-
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
-true
to perform the edit;false
to cancel it.
-
isEditing
boolean isEditing()
- Returns:
- Whether an edit is currently in progress.
-
-