All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.ui.EditableList.EditVerifier

public interface EditVerifier
EditVerifier is an interface for added control over the interactions between EditableList and its editor.


Method Index

 o changedSinceLastAdd(EditableList)
Called by EditableList.changedSinceLastAdd() to determine whether the user had made any changes.
 o okToAdd(EditableList, ResultListener)
Called when the Add button is pressed.
 o okToDelete(EditableList, int, ResultListener)
Called when the Delete button is pressed.
 o okToModify(EditableList, int, ResultListener)
Called when the Modify button is pressed.
 o resetComponents(EditableList)
Called to reset the editor UI after an Add.
 o resetList(EditableList)
Called to reset the list when the Reset button is pressed.

Methods

 o okToAdd
 public abstract void okToAdd(EditableList list,
                              ResultListener listener)
Called when the Add button is pressed. Notify listener with succeeded or failed based on whether the add should continue.

Parameters:
list - The list whose Add button has been pressed.
listener - listener to notify of result.
 o okToModify
 public abstract void okToModify(EditableList list,
                                 int row,
                                 ResultListener listener)
Called when the Modify button is pressed. Notify listener with succeeded or failed based on whether the modify should continue.

Parameters:
list - The list whose Add button has been pressed.
row - The row to be modified.
listener - listener to notify of result.
 o okToDelete
 public abstract void okToDelete(EditableList list,
                                 int row,
                                 ResultListener listener)
Called when the Delete button is pressed. Notify listener with succeeded or failed based on whether the Delete should continue.

Parameters:
list - The list whose Add button has been pressed.
row - The row to be deleted.
listener - listener to notify of result.
 o resetComponents
 public abstract void resetComponents(EditableList list)
Called to reset the editor UI after an Add.

Parameters:
The - list whose editor should be reset.
 o resetList
 public abstract void resetList(EditableList list)
Called to reset the list when the Reset button is pressed.

Parameters:
list - The list to reset.
 o changedSinceLastAdd
 public abstract boolean changedSinceLastAdd(EditableList list)
Called by EditableList.changedSinceLastAdd() to determine whether the user had made any changes.

Parameters:
list - The list to check for changes.

All Packages  Class Hierarchy  This Package  Previous  Next  Index