Package org.zkoss.stateless.sul
Class ICropper.Updater
java.lang.Object
org.zkoss.stateless.sul.ICropper.Updater
- All Implemented Interfaces:
SmartUpdater
- Enclosing interface:
- ICropper
Builds an updater of type
ICropper 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 TypeMethodDescriptionaspectRatio(double aspectRatio) Sets the given value ofaspectRatioto update to client widgetclientAction(String clientAction) Sets the given value ofclientActionto update to client widgetcontent(org.zkoss.image.Image content) Sets the given value ofcontentto update to client widgetcroppedFormat(String croppedFormat) Sets the given value ofcroppedFormatto update to client widgetcrossorigin(String crossorigin) Sets the given value ofcrossoriginto 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 widgeth(int h) Sets the given value ofhto update to client widgetSets the given value ofheightto update to client widgetSets the given value ofhflexto update to client widgetSets the given value ofidto 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.maxHeight(int maxHeight) Sets the given value ofmaxHeightto update to client widgetmaxWidth(int maxWidth) Sets the given value ofmaxWidthto update to client widgetminHeight(int minHeight) Sets the given value ofminHeightto update to client widgetminWidth(int minWidth) Sets the given value ofminWidthto update to client widgetSets the given value ofmoldto 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 ofsrcto update to client widgetSets the given value ofstyleto update to client widgetSets the given value oftabindexto update to client widgettoolbarVisible(boolean toolbarVisible) Sets the given value oftoolbarVisibleto 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 widgetw(int w) Sets the given value ofwto update to client widgetwidgetClass(String widgetClass) Sets the given value ofwidgetClassto update to client widgetSets the given value ofwidthto update to client widgetx(int x) Sets the given value ofxto update to client widgety(int y) Sets the given value ofyto 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:
-
widgetClass
Sets the given value ofwidgetClassto update to client widget- Parameters:
widgetClass- The new value forwidgetClass- See Also:
-
crossorigin
Sets the given value ofcrossoriginto update to client widget- Parameters:
crossorigin- The new value forcrossorigin- See Also:
-
content
Sets the given value ofcontentto update to client widget- Parameters:
content- The new value forcontent- See Also:
-
aspectRatio
Sets the given value ofaspectRatioto update to client widget- Parameters:
aspectRatio- The new value foraspectRatio- See Also:
-
minWidth
Sets the given value ofminWidthto update to client widget- Parameters:
minWidth- The new value forminWidth- See Also:
-
minHeight
Sets the given value ofminHeightto update to client widget- Parameters:
minHeight- The new value forminHeight- See Also:
-
maxWidth
Sets the given value ofmaxWidthto update to client widget- Parameters:
maxWidth- The new value formaxWidth- See Also:
-
maxHeight
Sets the given value ofmaxHeightto update to client widget- Parameters:
maxHeight- The new value formaxHeight- See Also:
-
x
Sets the given value ofxto update to client widget- Parameters:
x- The new value forx- See Also:
-
y
Sets the given value ofyto update to client widget- Parameters:
y- The new value fory- See Also:
-
w
Sets the given value ofwto update to client widget- Parameters:
w- The new value forw- See Also:
-
h
Sets the given value ofhto update to client widget- Parameters:
h- The new value forh- See Also:
-
toolbarVisible
Sets the given value oftoolbarVisibleto update to client widget- Parameters:
toolbarVisible- The new value fortoolbarVisible- See Also:
-
croppedFormat
Sets the given value ofcroppedFormatto update to client widget- Parameters:
croppedFormat- The new value forcroppedFormat- See Also:
-
instant
Sets the given value ofinstantto update to client widget- Parameters:
instant- The new value forinstant- See Also:
-
src
Sets the given value ofsrcto update to client widget- Parameters:
src- The new value forsrc- 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)
-