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.Object
Builds an updater of typeIArea
forUiAgent.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:
SmartUpdater
-
-
Constructor Summary
Constructors Constructor Description Updater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IArea.Updater
coords(java.lang.String coords)
Sets the given value ofcoords
to update to client widgetIArea.Updater
id(java.lang.String id)
Sets the given value ofid
to update to client widgetjava.util.Map<java.lang.String,java.lang.Object>
marshal()
Serializes the keys and values of the updater.IArea.Updater
mold(java.lang.String mold)
Sets the given value ofmold
to update to client widgetIArea.Updater
shape(java.lang.String shape)
Sets the given value ofshape
to update to client widgetIArea.Updater
tabindex(java.lang.Integer tabindex)
Sets the given value oftabindex
to update to client widgetIArea.Updater
tooltiptext(java.lang.String tooltiptext)
Sets the given value oftooltiptext
to update to client widgetIArea.Updater
visible(boolean visible)
Sets the given value ofvisible
to update to client widgetIArea.Updater
widgetClass(java.lang.String widgetClass)
Sets the given value ofwidgetClass
to update to client widget
-
-
-
Method Detail
-
id
public IArea.Updater id(java.lang.String id)
Sets the given value ofid
to 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 ofvisible
to 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 ofmold
to 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 ofwidgetClass
to 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 ofcoords
to 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 ofshape
to 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 oftooltiptext
to 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 oftabindex
to 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:SmartUpdater
Serializes the keys and values of the updater.- Specified by:
marshal
in interfaceSmartUpdater
- Returns:
- A keys and values mapping for
UiAgent.smartUpdate(org.zkoss.stateless.ui.Locator, org.zkoss.stateless.ui.SmartUpdater)
-
-