org.sgx.j2s.aui
Class DialogManager

Package class diagram package DialogManager
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.OverlayManager
                          extended by org.sgx.j2s.aui.DialogManager

public class DialogManager
extends OverlayManager

A base class for DialogManager


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
DialogManager()
           
 
Method Summary
 Dialog closeByChild(java.lang.Object child)
          Invoke the close method from the Dialog which contains the child element.
 Widget findByChild(java.lang.Object child)
          Find the Widget instance based on a child element.
 void refreshByChild(java.lang.Object child)
          Invoke the start method from the IOPlugin plugged on this Dialog instance.
 
Methods inherited from class org.sgx.j2s.yui3.yui.OverlayManager
bringToTop, each, getZIndexBase, hideAll, register, remove, setZIndexBase, showAll
 
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

DialogManager

public DialogManager()
Method Detail

closeByChild

public Dialog closeByChild(java.lang.Object child)
Invoke the close method from the Dialog which contains the child element.
Example:
A.DialogManager.closeByChild('#dialogContent1');

Parameters:
child - Child node of the Dialog.

findByChild

public Widget findByChild(java.lang.Object child)
Find the Widget instance based on a child element.

Parameters:
child - Child node of the Dialog.

refreshByChild

public void refreshByChild(java.lang.Object child)
Invoke the start method from the IOPlugin plugged on this Dialog instance. If there is no IOPlugin plugged it does nothing.
Example:
A.DialogManager.refreshByChild('#dialogContent1');

Parameters:
child - Child node of the Dialog.