|
||||||||||
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableView.RowEditor |
---|
TableView.RowEditor.RowEditorListenerList |
Constructor Summary | |
---|---|
TableViewCellEditor()
|
Method Summary | |
---|---|
void |
cancelEdit()
Cancels an edit that is in progress by reverting any edits the user has made. |
void |
editRow(TableView tableView,
int rowIndex,
int columnIndex)
Notifies the editor that editing should begin. |
ListenerList<TableView.RowEditorListener> |
getRowEditorListeners()
Gets the row editor listener list. |
boolean |
isEditing()
Tells whether or not an edit is currently in progress. |
boolean |
saveChanges()
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 |
---|
public void editRow(TableView tableView, int rowIndex, int columnIndex)
editRow
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()
isEditing
in interface Editor
public boolean saveChanges()
saveChanges
in interface Editor
public void cancelEdit()
cancelEdit
in interface Editor
public ListenerList<TableView.RowEditorListener> getRowEditorListeners()
getRowEditorListeners
in interface TableView.RowEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |