org.objectweb.jac.aspects.gui
Interface CustomizedDisplay

All Superinterfaces:
Display
All Known Implementing Classes:
SwingDisplay, WebDisplay

public interface CustomizedDisplay
extends Display

Defines a display which contains customized GUI windows.

A display is an GUI entity that is used by the program to interact with the GUI users.


Method Summary
 void addTimedoutDialog(DialogView dialog)
          Add a dialog to the list of timedout dialogs
 void closeWindow(View window, boolean validate)
          Close a window.
 CustomizedView getCustomizedView(String customizedID)
          Returns a CustomizedView identified by its id
 Collection getCustomizedViews()
          Returns a collection of all CustomizedViews contained in the display.
 ViewFactory getFactory()
          Returns the ViewFactory of the display.
 
Methods inherited from interface org.objectweb.jac.core.Display
applicationStarted, close, fillParameters, fullRefresh, getDisplayID, onInvocationReturn, openView, refresh, setDisplayID, show, show, showCustomized, showCustomized, showError, showInput, showMessage, showMessage, showModal, showModal, showRefreshMessage
 

Method Detail

getCustomizedView

public CustomizedView getCustomizedView(String customizedID)
Returns a CustomizedView identified by its id

Parameters:
customizedID - the id of the CustomizedView
Returns:
the customized if exists, null otherwise

getCustomizedViews

public Collection getCustomizedViews()
Returns a collection of all CustomizedViews contained in the display.

Returns:
all the customized of the display

getFactory

public ViewFactory getFactory()
Returns the ViewFactory of the display.

A view factory implements the creation methods for different visualisation supports (e.g. SWING, WEB, ...).

Returns:
the factory that is used for this display

addTimedoutDialog

public void addTimedoutDialog(DialogView dialog)
Add a dialog to the list of timedout dialogs

Parameters:
dialog - the timedout dialog

closeWindow

public void closeWindow(View window,
                        boolean validate)
Close a window.

Parameters:
window - view window to close
validate - wether to validate values in editors