|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AJAX Request
Method Summary | |
void |
addMenu(MenuItem menu)
Adds the given Menu to the AJAX response for this action. |
void |
cancelAjaxRequest()
Cancels the AJAX event processing of the framework. |
java.lang.Object |
getAjaxAttribute(Control control,
java.lang.String attributeName)
Returns the attribute with the given name from the container |
java.util.Iterator |
getAjaxAttributeNames(Control control)
Returns an Iterator that iterates all attribute names |
java.util.Iterator |
getDirtyControls()
Returns an iterator that iterates all dirty controls that needs to be rendered after an AJAX request. |
java.util.Iterator |
getMenus()
Returns an Iterator that iterates all menus |
boolean |
isAjaxCanceled()
Returns true when this AJAX request has been canceled. |
boolean |
isAjaxRequest()
Returns true when this request was sent by an AJAX function
call from within the clients browser. |
void |
markDirty(Control control)
Adds the given Control to the dirty list. |
void |
setAjaxAttribute(Control control,
java.lang.String attributeName,
java.lang.Object value)
Adds a new Attribute to the container. |
Method Detail |
public boolean isAjaxRequest()
true
when this request was sent by an AJAX function
call from within the clients browser.
public void cancelAjaxRequest()
public boolean isAjaxCanceled()
true
when this AJAX request has been canceled.
public java.util.Iterator getDirtyControls()
public void markDirty(Control control)
control
- the control that needs to be redrawnpublic java.lang.Object getAjaxAttribute(Control control, java.lang.String attributeName)
control
- the control or null
attributeName
- The attributes name
null
public java.util.Iterator getAjaxAttributeNames(Control control)
control
- the control or null
public void setAjaxAttribute(Control control, java.lang.String attributeName, java.lang.Object value)
control
- the control or null
attributeName
- The attributes namevalue
- The attribute valuepublic void addMenu(MenuItem menu)
menu
- the menu to add to the responsepublic java.util.Iterator getMenus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |