net.xoetrope.xui
Interface DialogSupport

All Superinterfaces:
PageSupport, XExceptionHandler
All Known Implementing Classes:
XDialog, XDialog, XLanguageChooserDialog, XLanguageChooserDialog, XMessageBox, XMessageBox

public interface DialogSupport
extends PageSupport


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 net.xoetrope.xui.PageSupport
accumulateMessages, addBinding, addHandler, addHandler, addListener, addValidation, addValidation, addValidation, checkValidations, clearValidations, doLayout, evaluateAttribute, evaluatePath, findComponent, findComponent, getAttribute, getAttribute, getBinding, getBinding, getBindings, getComponentFactory, getComponentName, getCurrentEvent, getEventAttribute, getEventHandler, getExtension, getName, getOwner, getPageSize, getProject, getStatus, getValidationHandler, handleEventHandlerException, handleException, isFocusChangeSuppressed, pageActivated, 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
 

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