org.sgx.j2s.aui
Class Dialog
java.lang.Object
org.sgx.j2s.js.NativeWrapper
org.sgx.j2s.yui3.yui.YUINativeWrapper
org.sgx.j2s.yui3.yui.event.EventTarget
org.sgx.j2s.yui3.yui.Attribute
org.sgx.j2s.yui3.yui.Base
org.sgx.j2s.yui3.yui.widget.Widget
org.sgx.j2s.aui.Component
org.sgx.j2s.aui.Panel
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();
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.yui3.yui.widget.Widget |
blur, disable, enable, focus, getByNode, getClassName, getDefaultLocale, getSkinName, getString, getStrings, hide, render, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dialog
public Dialog()
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()