|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.content.ListViewItemEditor
public class ListViewItemEditor
Default list view item editor.
Constructor Summary | |
---|---|
ListViewItemEditor()
|
Method Summary | |
---|---|
void |
cancel()
Cancels an edit that is in progress by reverting any edits the user has made. |
void |
edit(ListView listView,
int index)
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 ListViewItemEditor()
Method Detail |
---|
protected final TextInput getEditor()
isEditing()
public void edit(ListView listView, int index)
edit
in interface ListView.ItemEditor
listView
- The list viewindex
- The index of the item to editListView.setItemEditor(ItemEditor)
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 |