Package org.zkoss.stateless.sul
Class IBandbox.Updater
java.lang.Object
org.zkoss.stateless.sul.IBandbox.Updater
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- IBandbox
Builds an updater of type
IBandbox 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 TypeMethodDescriptionautodrop(boolean autodrop) Sets the given value ofautodropto update to client widgetbuttonVisible(boolean buttonVisible) Sets the given value ofbuttonVisibleto update to client widgetclientAction(String clientAction) Sets the given value ofclientActionto update to client widgetcols(int cols) Sets the given value ofcolsto update to client widgetconstraint(String constraint) Sets the given value ofconstraintto update to client widgetSets the given value ofcontextto update to client widgetSets the given value ofctrlKeysto 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 widgeterrorboxIconSclass(String errorboxIconSclass) Sets the given value oferrorboxIconSclassto update to client widgeterrorboxSclass(String errorboxSclass) Sets the given value oferrorboxSclassto update to client widgeterrorMessage(String errorMessage) Sets the given value oferrorMessageto 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 widgetinplace(boolean inplace) Sets the given value ofinplaceto update to client widgetinstant(boolean instant) Sets the given value ofinstantto update to client widgetSets the given value ofleftto update to client widgetmarshal()Serializes the keys and values of the updater.maxlength(int maxlength) Sets the given value ofmaxlengthto update to client widgetSets the given value ofmoldto update to client widgetmultiline(boolean multiline) Sets the given value ofmultilineto update to client widgetSets the given value ofnameto update to client widgetopen(boolean open) Sets the given value ofopento update to client widgetplaceholder(String placeholder) Sets the given value ofplaceholderto update to client widgetSets the given value ofpopupto update to client widgetpopupWidth(String popupWidth) Sets the given value ofpopupWidthto 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 widgetrows(int rows) Sets the given value ofrowsto 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 widgetsubmitByEnter(boolean submitByEnter) Sets the given value ofsubmitByEnterto update to client widgettabbable(boolean tabbable) Sets the given value oftabbableto update to client widgetSets the given value oftabindexto update to client widgetSets the given value oftooltipto 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 oftypeto update to client widgetSets the given value ofvalueto 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:
-
ctrlKeys
Sets the given value ofctrlKeysto update to client widget- Parameters:
ctrlKeys- The new value forctrlKeys- See Also:
-
context
Sets the given value ofcontextto update to client widget- Parameters:
context- The new value forcontext- See Also:
-
popup
Sets the given value ofpopupto update to client widget- Parameters:
popup- The new value forpopup- See Also:
-
tooltip
Sets the given value oftooltipto update to client widget- Parameters:
tooltip- The new value fortooltip- See Also:
-
readonly
Sets the given value ofreadonlyto update to client widget- Parameters:
readonly- The new value forreadonly- See Also:
-
name
Sets the given value ofnameto update to client widget- Parameters:
name- The new value forname- See Also:
-
placeholder
Sets the given value ofplaceholderto update to client widget- Parameters:
placeholder- The new value forplaceholder- See Also:
-
value
Sets the given value ofvalueto update to client widget- Parameters:
value- The new value forvalue- See Also:
-
constraint
Sets the given value ofconstraintto update to client widget- Parameters:
constraint- The new value forconstraint- See Also:
-
errorboxSclass
Sets the given value oferrorboxSclassto update to client widget- Parameters:
errorboxSclass- The new value forerrorboxSclass- See Also:
-
errorboxIconSclass
Sets the given value oferrorboxIconSclassto update to client widget- Parameters:
errorboxIconSclass- The new value forerrorboxIconSclass- See Also:
-
disabled
Sets the given value ofdisabledto update to client widget- Parameters:
disabled- The new value fordisabled- See Also:
-
inplace
Sets the given value ofinplaceto update to client widget- Parameters:
inplace- The new value forinplace- See Also:
-
maxlength
Sets the given value ofmaxlengthto update to client widget- Parameters:
maxlength- The new value formaxlength- See Also:
-
cols
Sets the given value ofcolsto update to client widget- Parameters:
cols- The new value forcols- See Also:
-
instant
Sets the given value ofinstantto update to client widget- Parameters:
instant- The new value forinstant- See Also:
-
errorMessage
Sets the given value oferrorMessageto update to client widget- Parameters:
errorMessage- The new value forerrorMessage- See Also:
-
multiline
Sets the given value ofmultilineto update to client widget- Parameters:
multiline- The new value formultiline- See Also:
-
rows
Sets the given value ofrowsto update to client widget- Parameters:
rows- The new value forrows- See Also:
-
tabbable
Sets the given value oftabbableto update to client widget- Parameters:
tabbable- The new value fortabbable- See Also:
-
type
Sets the given value oftypeto update to client widget- Parameters:
type- The new value fortype- See Also:
-
submitByEnter
Sets the given value ofsubmitByEnterto update to client widget- Parameters:
submitByEnter- The new value forsubmitByEnter- See Also:
-
widgetClass
Sets the given value ofwidgetClassto update to client widget- Parameters:
widgetClass- The new value forwidgetClass- See Also:
-
popupWidth
Sets the given value ofpopupWidthto update to client widget- Parameters:
popupWidth- The new value forpopupWidth- See Also:
-
autodrop
Sets the given value ofautodropto update to client widget- Parameters:
autodrop- The new value forautodrop- See Also:
-
buttonVisible
Sets the given value ofbuttonVisibleto update to client widget- Parameters:
buttonVisible- The new value forbuttonVisible- See Also:
-
iconSclass
Sets the given value oficonSclassto update to client widget- Parameters:
iconSclass- The new value foriconSclass- See Also:
-
open
Sets the given value ofopento update to client widget- Parameters:
open- The new value foropen- 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)
-