Package org.zkoss.stateless.sul
Class IStyle.Updater
java.lang.Object
org.zkoss.stateless.sul.IStyle.Updater
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- IStyle
Builds an updater of type
IStyle 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 ofcontentto update to client widgetSets the given value ofidto update to client widgetmarshal()Serializes the keys and values of the updater.Sets the given value ofmediato update to client widgetSets the given value ofmoldto 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:
-
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:
-
media
Sets the given value ofmediato update to client widget- Parameters:
media- The new value formedia- See Also:
-
content
Sets the given value ofcontentto update to client widget- Parameters:
content- The new value forcontent- See Also:
-
src
Sets the given value ofsrcto update to client widget- Parameters:
src- The new value forsrc- See Also:
-
visible
Sets the given value ofvisibleto update to client widget- Parameters:
visible- The new value forvisible- 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)
-