org.apache.pivot.wtk
Interface ListView.ItemEditor

All Superinterfaces:
Editor
All Known Implementing Classes:
ListViewItemEditor
Enclosing class:
ListView

public static interface ListView.ItemEditor
extends Editor

List item editor interface.


Nested Class Summary
static class ListView.ItemEditor.ItemEditorListenerList
          Item editor listener list.
 
Method Summary
 void editItem(ListView listView, int index)
          Notifies the editor that editing should begin.
 ListenerList<ListView.ItemEditorListener> getItemEditorListeners()
          Gets the item editor listener list.
 
Methods inherited from interface org.apache.pivot.wtk.Editor
cancelEdit, isEditing, saveChanges
 

Method Detail

editItem

void editItem(ListView listView,
              int index)
Notifies the editor that editing should begin. If the editor is currently installed on the list view, the skin may call this method when the user executes the appropriate gesture (as defined by the skin).

Parameters:
listView - The list view
index - The index of the item to edit
See Also:
ListView.setItemEditor(ItemEditor)

getItemEditorListeners

ListenerList<ListView.ItemEditorListener> getItemEditorListeners()
Gets the item editor listener list.