|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.content.TableViewCellEditor
public class TableViewCellEditor
Default table view cell editor.
Constructor Summary | |
---|---|
TableViewCellEditor()
|
Method Summary | |
---|---|
void |
cancel()
Cancels an edit that is in progress by reverting any edits the user has made. |
void |
edit(TableView tableView,
int rowIndex,
int columnIndex)
Notifies the editor that editing should begin. |
protected TextInput |
getEditor()
Gets the text input that serves as the editor component. |
boolean |
isEditing()
Tells whether or not an edit is currently in progress. |
void |
save()
Saves an edit that is in progress by updating the appropriate data object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableViewCellEditor()
Method Detail |
---|
protected final TextInput getEditor()
isEditing()
public void edit(TableView tableView, int rowIndex, int columnIndex)
edit
in interface TableView.RowEditor
tableView
- The table viewrowIndex
- The row index of the cell to editcolumnIndex
- The column index of the cell to editTableView.setRowEditor(RowEditor)
public boolean isEditing()
Editor
isEditing
in interface Editor
public void save()
save
in interface Editor
public void cancel()
Editor
cancel
in interface Editor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |