org.sgx.j2s.aui
Class Dialog

Package class diagram package Dialog
java.lang.Object
  extended by org.sgx.j2s.js.NativeWrapper
      extended by org.sgx.j2s.yui3.yui.YUINativeWrapper
          extended by org.sgx.j2s.yui3.yui.event.EventTarget
              extended by org.sgx.j2s.yui3.yui.Attribute
                  extended by org.sgx.j2s.yui3.yui.Base
                      extended by org.sgx.j2s.yui3.yui.widget.Widget
                          extended by org.sgx.j2s.aui.Component
                              extended by org.sgx.j2s.aui.Panel
                                  extended by org.sgx.j2s.aui.Dialog

public class Dialog
extends Panel

A base class for Dialog, providing:
Widget Lifecycle (initializer, renderUI, bindUI, syncUI, destructor)
Emulate the behavior of an dialog window using a floating, draggable HTML element
Interface for easily gathering information from the user without leaving the underlying page context
Using the IOPlugin, supports the submission of form data either through an XMLHttpRequest, through a normal form submission, or through a fully script-based response
Quick Example:

var instance = new A.Dialog({
        bodyContent: 'Dialog body',
        centered: true,
        constrain2view: true,
        destroyOnClose: true,
        draggable: true,
        height: 250,
        resizable: false,
        stack: true,
        title: 'Dialog title',
        width: 500
}).render();


Field Summary
 
Fields inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper
Y
 
Fields inherited from class org.sgx.j2s.js.NativeWrapper
_data, _EMPTYPARAMS
 
Constructor Summary
Dialog()
           
 
Method Summary
 void close()
          Fires the close event to close the Dialog.
 java.lang.String getBodyContent()
           
 void setBodyContent(java.lang.String content)
           
 
Methods inherited from class org.sgx.j2s.aui.Panel
collapse, expand, getBodyNode, getIcons, getTitle, isCollapsed, isSetCollapsible, setCollapsed, setIcons, setSetCollapsible, setTitle, toggle, toggleCollapse
 
Methods inherited from class org.sgx.j2s.aui.Component
clone
 
Methods inherited from class org.sgx.j2s.yui3.yui.widget.Widget
blur, disable, enable, focus, getByNode, getClassName, getDefaultLocale, getSkinName, getString, getStrings, hide, render, show
 
Methods inherited from class org.sgx.j2s.yui3.yui.Attribute
addAttr, addAttrs, attrAdded, get, getAttrs, modifyAttr, removeAttr, reset, set, setAttrs
 
Methods inherited from class org.sgx.j2s.yui3.yui.event.EventTarget
after, before, detach, detachAll, fire, getEvent, on, once, publish
 
Methods inherited from class org.sgx.j2s.yui3.yui.YUINativeWrapper
_load
 
Methods inherited from class org.sgx.j2s.js.NativeWrapper
_call, _get, _getData, create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dialog

public Dialog()
Method Detail

close

public void close()
Fires the close event to close the Dialog.


setBodyContent

public void setBodyContent(java.lang.String content)

getBodyContent

public java.lang.String getBodyContent()