Package org.apache.pivot.wtk
Interface ListView.ItemEditor
-
- All Known Implementing Classes:
ListViewItemEditor
- Enclosing class:
- ListView
public static interface ListView.ItemEditor
List view item editor interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beginEdit(ListView listView, int itemIndex)
Called to begin editing a list item.void
endEdit(boolean result)
Terminates an edit operation.boolean
isEditing()
Tests whether an edit is currently in progress.
-
-
-
Method Detail
-
beginEdit
void beginEdit(ListView listView, int itemIndex)
Called to begin editing a list item.- Parameters:
listView
- The list view being edited.itemIndex
- The index if the particular item being edited.
-
endEdit
void endEdit(boolean result)
Terminates an edit operation.- Parameters:
result
-true
to perform the edit;false
to cancel it.
-
isEditing
boolean isEditing()
Tests whether an edit is currently in progress.- Returns:
- Whether an edit is in progress.
-
-