Package org.zkoss.stateless.sul
Class IScript.Updater
java.lang.Object
org.zkoss.stateless.sul.IScript.Updater
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- IScript
Builds an updater of type
IScript for UiAgent.smartUpdate(Locator, SmartUpdater).
Updater is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the given value ofcharsetto update to client widgetSets the given value ofcontentto update to client widgetdefer(boolean defer) Sets the given value ofdeferto update to client widgetSets the given value ofidto update to client widgetmarshal()Serializes the keys and values of the updater.Sets the given value ofmoldto update to client widgetSets the given value ofpackagesto update to client widgetSets the given value ofsrcto update to client widgetvisible(boolean visible) Sets the given value ofvisibleto update to client widgetwidgetClass(String widgetClass) Sets the given value ofwidgetClassto update to client widget
-
Constructor Details
-
Updater
public Updater()
-
-
Method Details
-
id
Sets the given value ofidto update to client widget- Parameters:
id- The new value forid- See Also:
-
visible
Sets the given value ofvisibleto update to client widget- Parameters:
visible- The new value forvisible- See Also:
-
mold
Sets the given value ofmoldto update to client widget- Parameters:
mold- The new value formold- See Also:
-
widgetClass
Sets the given value ofwidgetClassto update to client widget- Parameters:
widgetClass- The new value forwidgetClass- See Also:
-
charset
Sets the given value ofcharsetto update to client widget- Parameters:
charset- The new value forcharset- See Also:
-
src
Sets the given value ofsrcto update to client widget- Parameters:
src- The new value forsrc- See Also:
-
defer
Sets the given value ofdeferto update to client widget- Parameters:
defer- The new value fordefer- See Also:
-
content
Sets the given value ofcontentto update to client widget- Parameters:
content- The new value forcontent- See Also:
-
packages
Sets the given value ofpackagesto update to client widget- Parameters:
packages- The new value forpackages- See Also:
-
marshal
Description copied from interface:SmartUpdaterSerializes the keys and values of the updater.- Specified by:
marshalin interfaceSmartUpdater- Returns:
- A keys and values mapping for
UiAgent.smartUpdate(org.zkoss.stateless.ui.Locator, org.zkoss.stateless.ui.SmartUpdater)
-