|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.BaseConfig
com.gwtext.client.core.UrlLoadConfig
public class UrlLoadConfig
UpdateManager
configuration class.
UpdateManager.update(String, UrlLoadConfig , UrlLoadCallback, boolean)
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
UrlLoadConfig()
|
Method Summary | |
---|---|
void |
setCallback(UrlLoadCallback callback)
Set the callback when the XHR call is complete. |
void |
setDiscardUrl(boolean discardUrl)
By default when you execute an update the defaultUrl is changed to the last used url. |
void |
setNocache(boolean nocache)
|
void |
setParams(java.lang.String params)
The parameters to pass as a url encoded string "param1=1¶m2=2" |
void |
setParams(UrlParam[] params)
The parameters to pass. |
void |
setScripts(boolean scripts)
Whether to execute scripts from the laoded content. |
void |
setText(java.lang.String text)
Loading text. |
void |
setTimeout(int timeout)
The request tiemout. |
void |
setUrl(java.lang.String url)
The url for the request. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlLoadConfig()
Method Detail |
---|
public void setUrl(java.lang.String url)
url
- the request urlpublic void setParams(java.lang.String params)
params
- the request parameterspublic void setParams(UrlParam[] params)
params
- the request paramspublic void setDiscardUrl(boolean discardUrl)
discardUrl
- true to discard urlpublic void setCallback(UrlLoadCallback callback)
callback
- callback when transaction is completepublic void setNocache(boolean nocache)
nocache
- false to disable cachingpublic void setText(java.lang.String text)
text
- the loading textpublic void setTimeout(int timeout)
timeout
- request timeoutpublic void setScripts(boolean scripts)
scripts
- true to execute scripts
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |