org.objectweb.jac.aspects.gui
Interface DialogView

All Superinterfaces:
View, ViewIdentity, WindowView
All Known Implementing Classes:
Dialog, Dialog, RefreshPage

public interface DialogView
extends WindowView

A dialog box interface.


Method Summary
 void restoreContext()
          Restore context attributes memorized at creation time
 boolean waitForClose()
          Waits until the dialog is closed or timeout iccurs.
 
Methods inherited from interface org.objectweb.jac.aspects.gui.WindowView
getContentView
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
close, getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
equalsView, equalsView, getParameters, getType, setParameters, setType
 

Method Detail

waitForClose

public boolean waitForClose()
                     throws TimeoutException
Waits until the dialog is closed or timeout iccurs.

Returns:
true if the dialog was validated with the OK button by the user, false otherwise
TimeoutException

restoreContext

public void restoreContext()
Restore context attributes memorized at creation time