Package org.apache.pivot.wtk
Interface Editor
- 
 public interface EditorBase interface for content editors.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelEdit()Cancels an edit that is in progress by reverting any edits the user has made.booleanisEditing()booleansaveChanges()Saves an edit that is in progress by updating the appropriate data object.
 
- 
- 
- 
Method Detail- 
isEditingboolean isEditing() - Returns:
- Flag saying whether or not an edit is currently in progress.
 
 - 
saveChangesboolean saveChanges() Saves an edit that is in progress by updating the appropriate data object. It is up to implementations to define the behavior whenisEditing() == false.- Returns:
- trueif the changes were successfully saved;- falseotherwise.
 
 - 
cancelEditvoid cancelEdit() Cancels an edit that is in progress by reverting any edits the user has made. It is up to implementations to define the behavior whenisEditing() == false.
 
- 
 
-