| |
|
| java.lang.Object de.jwic.base.Control de.jwic.controls.ClientNotifierControl
ClientNotifierControl | public class ClientNotifierControl extends Control implements IResourceControl(Code) | | Creates a JavaScript on the client that polls the control if a 'submit' is
required. This enables the application to force a refresh of the controls on a
users page from another thread (i.e. a background process).
This control works ONLY if the users browser supports XmlHttpRequest (ajax).
author: Florian Lippisch version: $Revision: 1.2 $ |
ClientNotifierControl | public ClientNotifierControl(IControlContainer container)(Code) | | Parameters: container - Parameters: name - |
getInterval | public int getInterval()(Code) | | Returns the interval. |
getSleepTime | public int getSleepTime()(Code) | | Returns the sleepTime. |
getStateValue | public int getStateValue()(Code) | | Returns the stateValue. |
getUniqueID | public String getUniqueID()(Code) | | Returns a unique ID based upon the control ID that is used by the template to
render unique javascript functions.
|
notifyClient | public void notifyClient()(Code) | | |
setInterval | public void setInterval(int interval)(Code) | | Parameters: interval - The interval to set. |
setSleepTime | public void setSleepTime(int sleepTime)(Code) | | Parameters: sleepTime - The sleepTime to set. |
setStateValue | public void setStateValue(int stateValue)(Code) | | Parameters: stateValue - The stateValue to set. |
|
|
|