Package org.zkoss.stateless.sul
Class IArea.Updater
- java.lang.Object
-
- org.zkoss.stateless.sul.IArea.Updater
-
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- IArea
public static class IArea.Updater extends java.lang.ObjectBuilds an updater of typeIAreaforUiAgent.smartUpdate(Locator, SmartUpdater).Updateris not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.- See Also:
SmartUpdater
-
-
Constructor Summary
Constructors Constructor Description Updater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IArea.Updatercoords(java.lang.String coords)Sets the given value ofcoordsto update to client widgetIArea.Updaterid(java.lang.String id)Sets the given value ofidto update to client widgetjava.util.Map<java.lang.String,java.lang.Object>marshal()Serializes the keys and values of the updater.IArea.Updatermold(java.lang.String mold)Sets the given value ofmoldto update to client widgetIArea.Updatershape(java.lang.String shape)Sets the given value ofshapeto update to client widgetIArea.Updatertabindex(java.lang.Integer tabindex)Sets the given value oftabindexto update to client widgetIArea.Updatertooltiptext(java.lang.String tooltiptext)Sets the given value oftooltiptextto update to client widgetIArea.Updatervisible(boolean visible)Sets the given value ofvisibleto update to client widgetIArea.UpdaterwidgetClass(java.lang.String widgetClass)Sets the given value ofwidgetClassto update to client widget
-
-
-
Method Detail
-
id
public IArea.Updater id(java.lang.String id)
Sets the given value ofidto update to client widget- Parameters:
id- The new value forid- See Also:
IComponent.withId(java.lang.String)
-
visible
public IArea.Updater visible(boolean visible)
Sets the given value ofvisibleto update to client widget- Parameters:
visible- The new value forvisible- See Also:
IComponent.withVisible(boolean)
-
mold
public IArea.Updater mold(java.lang.String mold)
Sets the given value ofmoldto update to client widget- Parameters:
mold- The new value formold- See Also:
IComponent.withMold(java.lang.String)
-
widgetClass
public IArea.Updater widgetClass(java.lang.String widgetClass)
Sets the given value ofwidgetClassto update to client widget- Parameters:
widgetClass- The new value forwidgetClass- See Also:
IComponent.withWidgetClass(java.lang.String)
-
coords
public IArea.Updater coords(java.lang.String coords)
Sets the given value ofcoordsto update to client widget- Parameters:
coords- The new value forcoords- See Also:
IArea.withCoords(java.lang.String)
-
shape
public IArea.Updater shape(java.lang.String shape)
Sets the given value ofshapeto update to client widget- Parameters:
shape- The new value forshape- See Also:
IArea.withShape(java.lang.String)
-
tooltiptext
public IArea.Updater tooltiptext(java.lang.String tooltiptext)
Sets the given value oftooltiptextto update to client widget- Parameters:
tooltiptext- The new value fortooltiptext- See Also:
IArea.withTooltiptext(java.lang.String)
-
tabindex
public IArea.Updater tabindex(java.lang.Integer tabindex)
Sets the given value oftabindexto update to client widget- Parameters:
tabindex- The new value fortabindex- See Also:
IArea.withTabindex(java.lang.Integer)
-
marshal
public java.util.Map<java.lang.String,java.lang.Object> 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)
-
-