com.webobjects.eoapplication
Interface EOModalDialogController.ModalActions
- All Known Implementing Classes:
- EOFormController, EOListController
- Enclosing class:
- EOModalDialogController
- public static interface EOModalDialogController.ModalActions
The EOModalDialogController.ModalActions
interface defines the
methods subcontrollers of modal dialog controllers have to implement to handle
closing of the dialog.
Method Summary |
void |
cancel()
The action method invoked when the user cancels the modal dialog. |
boolean |
modalDialogShouldClose()
This method is invoked by the modal dialog controller on its subcontrollers
when the user attempts to close the modal dialog with the dialog's close
button (not the usual ok/cancel buttons). |
boolean |
ok()
The action method invoked when the user wants to finish the modal dialog. |
cancel
public void cancel()
- The action method invoked when the user cancels the modal dialog.
modalDialogShouldClose
public boolean modalDialogShouldClose()
- This method is invoked by the modal dialog controller on its subcontrollers
when the user attempts to close the modal dialog with the dialog's close
button (not the usual ok/cancel buttons). Subcontrollers return whether
the dialog can be closed (which corresponds to a cancel operation) or not.
- Returns:
true
if the dialog can be closed (the operation can
be cancelled); false
otherwise.
ok
public boolean ok()
- The action method invoked when the user wants to finish the modal dialog.
- Returns:
true
if the dialog can be closed (the operation was
performed successfully); false
otherwise.
Copyright © 2003 Apple Computer, Inc.