|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OkCancelModel
Defines the callback methods for objects which want to monitor "OK/Cancel" events.
Often one finds themselves presenting dialog boxes to users where the user must choose either "OK" or "Cancel". This interface defines "handlers" for these two types of events.
The plan is to use this interface to create a "showOkCancel"
dialog in the Resources class.
OkCancelDialog| Method Summary | |
|---|---|
void |
cancelAction()
Method to invoke if the user chooses the "Cancel" path. |
void |
okAction()
Method to invoke if the user chooses the "OK" path. |
| Method Detail |
|---|
void okAction()
void cancelAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||