|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.glaivestone.javax.util.EventManager | +--com.glaivestone.mv.ApplicationModel | +--com.glaivestone.mv.DialogApplicationModel
An application model which supports dialog views.
A dialog view is a secondary window, usually modal, which is opened from a main window to provide supporting processing for the main application. Dialog windows usually have a title bar containing a standard title; the icon is usually derived from the main window, rather than configured by the dialog.
Dialogs frequently are invoked to obtain information
from the user. Subclasses which implement dialogs whose
purpose is to obtain information should reimplement
the clearResult
method to clear any state
which represents the information that is to be returned
and implement a suitably-typed getResult
or
equivalent service(s) to allow the dialog client to access
the information obtained by the dialog.
Constructor Summary | |
DialogApplicationModel()
Create a new application model. |
|
DialogApplicationModel(java.awt.Window aWindow)
Create a new application model on behalf of the client window. |
Method Summary | |
void |
clearResult()
Clear the result to be returned by the dialog. |
java.awt.Window |
getClient()
Answer the client on whose behalf this dialog was invoked. |
void |
setClient(java.awt.Window aWindow)
Specify the client on whose behalf this dialog was invoked. |
Methods inherited from class com.glaivestone.mv.ApplicationModel |
closeWindow, getAllViews, getAllViews, getAllViews, getView, getWindow, openWindow, openWindow, requestCloseWindow, resolveResourceReference |
Methods inherited from class com.glaivestone.javax.util.EventManager |
addFirstListener, addListener, getEventTable, getEventTableForEdit, getListeners, removeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DialogApplicationModel()
public DialogApplicationModel(java.awt.Window aWindow)
Method Detail |
public void clearResult()
Should usually be reimplemented by subclasses.
public java.awt.Window getClient()
public void setClient(java.awt.Window aWindow)
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |