|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.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. |
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 |
---|
public void edit(ListView listView, int index)
ListView.ItemEditor
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()
Editor
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 |