org.formaria.aria
Interface DialogSupport

All Superinterfaces:
ExceptionHandler, PageSupport, PersistentState
All Known Implementing Classes:
DateChooserDialog, DateChooserDialog, Dialog, Dialog, Dialog, DialogTable, DialogTableAddColumn, DialogTableAddItem, DialogTableSetValueColumnItem, LanguageChooserDialog, LanguageChooserDialog, LanguageChooserDialog, MessageBox, MessageBox, PageSizeDialog, PasswordDlg, PojoDialog

public interface DialogSupport
extends PageSupport


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.formaria.aria.PageSupport
PageSupport.IDialog
 
Field Summary
 
Fields inherited from interface org.formaria.aria.PageSupport
ACTIVATED, ANNOTATEDIMAGE, ARIA_AWT_PACKAGE, ARIA_HTML_PACKAGE, ARIA_SWING_PACKAGE, ARIA_SWT_PACKAGE, BORDER_LAYOUT, BOX_LAYOUT, BUTTON, CARD_LAYOUT, CHECK, COLUMN_LAYOUT, COMBO, CREATED, DEACTIVATED, DISCARDED, DISPLAYED, EDIT, FLOW_LAYOUT, GRID_LAYOUT, GRIDBAG_LAYOUT, GROUP, GUIDE_LAYOUT, HOTSPOTIMAGE, IMAGE, IMAGEMAP, LABEL, LAYER_LAYOUT, LIST, LOADED, MENU, MENUBAR, MENUITEM, METACONTENT, NULL_LAYOUT, PANEL, PASSWORD, RADIO, SCALE_LAYOUT, SCROLLABLEMETACONTENT, SCROLLPANE, SPLITPANE, SPRING_LAYOUT, TABLE, TABPANEL, TEXTAREA, UNKNOWN, UNKNOWN_PAGE_STATE, WMF
 
Method Summary
 void pack()
          Pack the components so that the dialog is just large enough to display all its content.
 void setCaption(java.lang.String caption)
          Set the dialog title or caption
 int showDialog(java.lang.Object owner)
          Show the dialog, making it visible and modal
 
Methods inherited from interface org.formaria.aria.PageSupport
accumulateMessages, addBinding, addHandler, addHandler, addListener, addNestedPage, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, enterDataBindingContext, evaluateAttribute, evaluatePath, exitDataBindingContext, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getDataBindingContext, getDataBindingContext, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, pageAdded, pageCreated, pageDeactivated, removeBinding, saveBoundComponentValues, setAttribute, setBackground, setClearPage, setComponentFactory, setEventHandler, setExceptionHandler, setExtension, setLayout, setLocation, setName, setSize, setStatus, setValidationFactory, setVisible, showComponents, showHandCursor, showMessage, showMessage, stripAttributeValues, translate, updateBinding, updateBindings, updateBoundComponentValues, validate, validationHandler, wasMouseClicked, wasMouseDoubleClicked, wasMouseRightClicked
 
Methods inherited from interface org.formaria.aria.PersistentState
restoreState, saveState
 

Method Detail

setCaption

void setCaption(java.lang.String caption)
Set the dialog title or caption

Parameters:
caption - the new caption

pack

void pack()
Pack the components so that the dialog is just large enough to display all its content.


showDialog

int showDialog(java.lang.Object owner)
Show the dialog, making it visible and modal

Parameters:
owner - The container to which the dialog is added.
Returns:
the returnValue