Package org.zkoss.stateless.sul
Class IRating.Updater
java.lang.Object
org.zkoss.stateless.sul.IRating.Updater
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- IRating
Builds an updater of type
IRating 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 TypeMethodDescriptioncancelable(boolean cancelable) Sets the given value ofcancelableto update to client widgetclientAction(String clientAction) Sets the given value ofclientActionto update to client widgetdisabled(boolean disabled) Sets the given value ofdisabledto update to client widgetSets the given value ofdraggableto update to client widgetSets the given value ofdroppableto update to client widgetfocus(boolean focus) Sets the given value offocusto update to client widgetSets the given value ofheightto update to client widgetSets the given value ofhflexto update to client widgeticonSclass(String iconSclass) Sets the given value oficonSclassto update to client widgetSets the given value ofidto update to client widgetSets the given value ofleftto update to client widgetmarshal()Serializes the keys and values of the updater.max(int max) Sets the given value ofmaxto update to client widgetSets the given value ofmoldto update to client widgetSets the given value oforientto update to client widgetrating(int rating) Sets the given value ofratingto update to client widgetreadonly(boolean readonly) Sets the given value ofreadonlyto update to client widgetrenderdefer(int renderdefer) Sets the given value ofrenderdeferto update to client widgetSets the given value ofsclassto update to client widgetSets the given value ofskeletonto update to client widgetSets the given value ofstyleto update to client widgetSets the given value oftabindexto update to client widgettooltiptext(String tooltiptext) Sets the given value oftooltiptextto update to client widgetSets the given value oftopto update to client widgetSets the given value ofvflexto 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 widgetSets the given value ofwidthto update to client widgetSets the given value ofzclassto update to client widgetzIndex(int zIndex) Sets the given value ofzIndexto 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:
-
left
Sets the given value ofleftto update to client widget- Parameters:
left- The new value forleft- See Also:
-
top
Sets the given value oftopto update to client widget- Parameters:
top- The new value fortop- See Also:
-
zIndex
Sets the given value ofzIndexto update to client widget- Parameters:
zIndex- The new value forzIndex- See Also:
-
height
Sets the given value ofheightto update to client widget- Parameters:
height- The new value forheight- See Also:
-
width
Sets the given value ofwidthto update to client widget- Parameters:
width- The new value forwidth- See Also:
-
tooltiptext
Sets the given value oftooltiptextto update to client widget- Parameters:
tooltiptext- The new value fortooltiptext- See Also:
-
zclass
Sets the given value ofzclassto update to client widget- Parameters:
zclass- The new value forzclass- See Also:
-
sclass
Sets the given value ofsclassto update to client widget- Parameters:
sclass- The new value forsclass- See Also:
-
style
Sets the given value ofstyleto update to client widget- Parameters:
style- The new value forstyle- See Also:
-
draggable
Sets the given value ofdraggableto update to client widget- Parameters:
draggable- The new value fordraggable- See Also:
-
focus
Sets the given value offocusto update to client widget- Parameters:
focus- The new value forfocus- See Also:
-
droppable
Sets the given value ofdroppableto update to client widget- Parameters:
droppable- The new value fordroppable- See Also:
-
vflex
Sets the given value ofvflexto update to client widget- Parameters:
vflex- The new value forvflex- See Also:
-
hflex
Sets the given value ofhflexto update to client widget- Parameters:
hflex- The new value forhflex- See Also:
-
renderdefer
Sets the given value ofrenderdeferto update to client widget- Parameters:
renderdefer- The new value forrenderdefer- See Also:
-
clientAction
Sets the given value ofclientActionto update to client widget- Parameters:
clientAction- The new value forclientAction- See Also:
-
tabindex
Sets the given value oftabindexto update to client widget- Parameters:
tabindex- The new value fortabindex- See Also:
-
skeleton
Sets the given value ofskeletonto update to client widget- Parameters:
skeleton- The new value forskeleton- See Also:
-
disabled
Sets the given value ofdisabledto update to client widget- Parameters:
disabled- The new value fordisabled- See Also:
-
widgetClass
Sets the given value ofwidgetClassto update to client widget- Parameters:
widgetClass- The new value forwidgetClass- See Also:
-
max
Sets the given value ofmaxto update to client widget- Parameters:
max- The new value formax- See Also:
-
rating
Sets the given value ofratingto update to client widget- Parameters:
rating- The new value forrating- See Also:
-
readonly
Sets the given value ofreadonlyto update to client widget- Parameters:
readonly- The new value forreadonly- See Also:
-
cancelable
Sets the given value ofcancelableto update to client widget- Parameters:
cancelable- The new value forcancelable- See Also:
-
orient
Sets the given value oforientto update to client widget- Parameters:
orient- The new value fororient- See Also:
-
iconSclass
Sets the given value oficonSclassto update to client widget- Parameters:
iconSclass- The new value foriconSclass- 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)
-