|
||||||||||
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ListView.ItemEditor |
---|
ListView.ItemEditor.ItemEditorListenerList |
Constructor Summary | |
---|---|
ListViewItemEditor()
|
Method Summary | |
---|---|
void |
cancelEdit()
Cancels an edit that is in progress by reverting any edits the user has made. |
void |
editItem(ListView listView,
int index)
Notifies the editor that editing should begin. |
ListenerList<ListView.ItemEditorListener> |
getItemEditorListeners()
Gets the item editor listener list. |
boolean |
isEditing()
Tells whether or not an edit is currently in progress. |
void |
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 ListViewItemEditor()
Method Detail |
---|
public void editItem(ListView listView, int index)
editItem
in interface ListView.ItemEditor
listView
- The list viewindex
- The index of the item to editListView.setItemEditor(ItemEditor)
public boolean isEditing()
isEditing
in interface Editor
public void saveChanges()
saveChanges
in interface Editor
public void cancelEdit()
cancelEdit
in interface Editor
public ListenerList<ListView.ItemEditorListener> getItemEditorListeners()
ListView.ItemEditor
getItemEditorListeners
in interface ListView.ItemEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |