Class IToolbarbutton.Updater

java.lang.Object
org.zkoss.stateless.sul.IToolbarbutton.Updater
All Implemented Interfaces:
SmartUpdater
Enclosing interface:
IToolbarbutton

public static class IToolbarbutton.Updater extends Object
Builds an updater of type IToolbarbutton 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 Details

    • Updater

      public Updater()
  • Method Details

    • id

      Sets the given value of id to update to client widget
      Parameters:
      id - The new value for id
      See Also:
      • WithIToolbarbutton.withId(java.lang.String)
    • visible

      public IToolbarbutton.Updater visible(boolean visible)
      Sets the given value of visible to update to client widget
      Parameters:
      visible - The new value for visible
      See Also:
      • WithIToolbarbutton.withVisible(boolean)
    • mold

      public IToolbarbutton.Updater mold(String mold)
      Sets the given value of mold to update to client widget
      Parameters:
      mold - The new value for mold
      See Also:
      • WithIToolbarbutton.withMold(java.lang.String)
    • left

      public IToolbarbutton.Updater left(String left)
      Sets the given value of left to update to client widget
      Parameters:
      left - The new value for left
      See Also:
      • WithIToolbarbutton.withLeft(java.lang.String)
    • top

      public IToolbarbutton.Updater top(String top)
      Sets the given value of top to update to client widget
      Parameters:
      top - The new value for top
      See Also:
      • WithIToolbarbutton.withTop(java.lang.String)
    • zIndex

      public IToolbarbutton.Updater zIndex(int zIndex)
      Sets the given value of zIndex to update to client widget
      Parameters:
      zIndex - The new value for zIndex
      See Also:
      • WithIToolbarbutton.withZIndex(int)
    • height

      public IToolbarbutton.Updater height(String height)
      Sets the given value of height to update to client widget
      Parameters:
      height - The new value for height
      See Also:
      • WithIToolbarbutton.withHeight(java.lang.String)
    • width

      public IToolbarbutton.Updater width(String width)
      Sets the given value of width to update to client widget
      Parameters:
      width - The new value for width
      See Also:
      • WithIToolbarbutton.withWidth(java.lang.String)
    • tooltiptext

      public IToolbarbutton.Updater tooltiptext(String tooltiptext)
      Sets the given value of tooltiptext to update to client widget
      Parameters:
      tooltiptext - The new value for tooltiptext
      See Also:
      • WithIToolbarbutton.withTooltiptext(java.lang.String)
    • zclass

      public IToolbarbutton.Updater zclass(String zclass)
      Sets the given value of zclass to update to client widget
      Parameters:
      zclass - The new value for zclass
      See Also:
      • WithIToolbarbutton.withZclass(java.lang.String)
    • sclass

      public IToolbarbutton.Updater sclass(String sclass)
      Sets the given value of sclass to update to client widget
      Parameters:
      sclass - The new value for sclass
      See Also:
      • WithIToolbarbutton.withSclass(java.lang.String)
    • style

      public IToolbarbutton.Updater style(String style)
      Sets the given value of style to update to client widget
      Parameters:
      style - The new value for style
      See Also:
      • WithIToolbarbutton.withStyle(java.lang.String)
    • draggable

      public IToolbarbutton.Updater draggable(String draggable)
      Sets the given value of draggable to update to client widget
      Parameters:
      draggable - The new value for draggable
      See Also:
      • WithIToolbarbutton.withDraggable(java.lang.String)
    • focus

      public IToolbarbutton.Updater focus(boolean focus)
      Sets the given value of focus to update to client widget
      Parameters:
      focus - The new value for focus
      See Also:
      • WithIToolbarbutton.withFocus(boolean)
    • droppable

      public IToolbarbutton.Updater droppable(String droppable)
      Sets the given value of droppable to update to client widget
      Parameters:
      droppable - The new value for droppable
      See Also:
      • WithIToolbarbutton.withDroppable(java.lang.String)
    • vflex

      public IToolbarbutton.Updater vflex(String vflex)
      Sets the given value of vflex to update to client widget
      Parameters:
      vflex - The new value for vflex
      See Also:
      • WithIToolbarbutton.withVflex(java.lang.String)
    • hflex

      public IToolbarbutton.Updater hflex(String hflex)
      Sets the given value of hflex to update to client widget
      Parameters:
      hflex - The new value for hflex
      See Also:
      • WithIToolbarbutton.withHflex(java.lang.String)
    • renderdefer

      public IToolbarbutton.Updater renderdefer(int renderdefer)
      Sets the given value of renderdefer to update to client widget
      Parameters:
      renderdefer - The new value for renderdefer
      See Also:
      • WithIToolbarbutton.withRenderdefer(int)
    • clientAction

      public IToolbarbutton.Updater clientAction(String clientAction)
      Sets the given value of clientAction to update to client widget
      Parameters:
      clientAction - The new value for clientAction
      See Also:
      • WithIToolbarbutton.withClientAction(java.lang.String)
    • tabindex

      public IToolbarbutton.Updater tabindex(Integer tabindex)
      Sets the given value of tabindex to update to client widget
      Parameters:
      tabindex - The new value for tabindex
      See Also:
      • WithIToolbarbutton.withTabindex(java.lang.Integer)
    • skeleton

      public IToolbarbutton.Updater skeleton(String skeleton)
      Sets the given value of skeleton to update to client widget
      Parameters:
      skeleton - The new value for skeleton
      See Also:
      • WithIToolbarbutton.withSkeleton(java.lang.String)
    • ctrlKeys

      public IToolbarbutton.Updater ctrlKeys(String ctrlKeys)
      Sets the given value of ctrlKeys to update to client widget
      Parameters:
      ctrlKeys - The new value for ctrlKeys
      See Also:
      • WithIToolbarbutton.withCtrlKeys(java.lang.String)
    • context

      public IToolbarbutton.Updater context(String context)
      Sets the given value of context to update to client widget
      Parameters:
      context - The new value for context
      See Also:
      • WithIToolbarbutton.withContext(java.lang.String)
    • popup

      public IToolbarbutton.Updater popup(String popup)
      Sets the given value of popup to update to client widget
      Parameters:
      popup - The new value for popup
      See Also:
      • WithIToolbarbutton.withPopup(java.lang.String)
    • tooltip

      public IToolbarbutton.Updater tooltip(String tooltip)
      Sets the given value of tooltip to update to client widget
      Parameters:
      tooltip - The new value for tooltip
      See Also:
      • WithIToolbarbutton.withTooltip(java.lang.String)
    • label

      public IToolbarbutton.Updater label(String label)
      Sets the given value of label to update to client widget
      Parameters:
      label - The new value for label
      See Also:
      • WithIToolbarbutton.withLabel(java.lang.String)
    • iconSclass

      public IToolbarbutton.Updater iconSclass(String iconSclass)
      Sets the given value of iconSclass to update to client widget
      Parameters:
      iconSclass - The new value for iconSclass
      See Also:
      • WithIToolbarbutton.withIconSclass(java.lang.String)
    • iconSclasses

      public IToolbarbutton.Updater iconSclasses(String[] iconSclasses)
      Sets the given value of iconSclasses to update to client widget
      Parameters:
      iconSclasses - The new value for iconSclasses
      See Also:
      • WithIToolbarbutton.withIconSclasses(java.lang.String[])
    • iconTooltip

      public IToolbarbutton.Updater iconTooltip(String iconTooltip)
      Sets the given value of iconTooltip to update to client widget
      Parameters:
      iconTooltip - The new value for iconTooltip
      See Also:
      • WithIToolbarbutton.withIconTooltip(java.lang.String)
    • iconTooltips

      public IToolbarbutton.Updater iconTooltips(String[] iconTooltips)
      Sets the given value of iconTooltips to update to client widget
      Parameters:
      iconTooltips - The new value for iconTooltips
      See Also:
      • WithIToolbarbutton.withIconTooltips(java.lang.String[])
    • image

      public IToolbarbutton.Updater image(String image)
      Sets the given value of image to update to client widget
      Parameters:
      image - The new value for image
      See Also:
      • WithIToolbarbutton.withImage(java.lang.String)
    • hoverImage

      public IToolbarbutton.Updater hoverImage(String hoverImage)
      Sets the given value of hoverImage to update to client widget
      Parameters:
      hoverImage - The new value for hoverImage
      See Also:
      • WithIToolbarbutton.withHoverImage(java.lang.String)
    • preloadImage

      public IToolbarbutton.Updater preloadImage(boolean preloadImage)
      Sets the given value of preloadImage to update to client widget
      Parameters:
      preloadImage - The new value for preloadImage
      See Also:
      • WithIToolbarbutton.withPreloadImage(boolean)
    • dir

      public IToolbarbutton.Updater dir(String dir)
      Sets the given value of dir to update to client widget
      Parameters:
      dir - The new value for dir
      See Also:
      • WithIToolbarbutton.withDir(java.lang.String)
    • orient

      public IToolbarbutton.Updater orient(String orient)
      Sets the given value of orient to update to client widget
      Parameters:
      orient - The new value for orient
      See Also:
      • WithIToolbarbutton.withOrient(java.lang.String)
    • type

      public IToolbarbutton.Updater type(String type)
      Sets the given value of type to update to client widget
      Parameters:
      type - The new value for type
      See Also:
      • WithIToolbarbutton.withType(java.lang.String)
    • disabled

      public IToolbarbutton.Updater disabled(boolean disabled)
      Sets the given value of disabled to update to client widget
      Parameters:
      disabled - The new value for disabled
      See Also:
      • WithIToolbarbutton.withDisabled(boolean)
    • autodisable

      public IToolbarbutton.Updater autodisable(String autodisable)
      Sets the given value of autodisable to update to client widget
      Parameters:
      autodisable - The new value for autodisable
      See Also:
      • WithIToolbarbutton.withAutodisable(java.lang.String)
    • target

      public IToolbarbutton.Updater target(String target)
      Sets the given value of target to update to client widget
      Parameters:
      target - The new value for target
      See Also:
      • WithIToolbarbutton.withTarget(java.lang.String)
    • upload

      public IToolbarbutton.Updater upload(String upload)
      Sets the given value of upload to update to client widget
      Parameters:
      upload - The new value for upload
      See Also:
      • WithIToolbarbutton.withUpload(java.lang.String)
    • href

      public IToolbarbutton.Updater href(String href)
      Sets the given value of href to update to client widget
      Parameters:
      href - The new value for href
      See Also:
      • WithIToolbarbutton.withHref(java.lang.String)
    • widgetClass

      public IToolbarbutton.Updater widgetClass(String widgetClass)
      Sets the given value of widgetClass to update to client widget
      Parameters:
      widgetClass - The new value for widgetClass
      See Also:
      • WithIToolbarbutton.withWidgetClass(java.lang.String)
    • mode

      public IToolbarbutton.Updater mode(String mode)
      Sets the given value of mode to update to client widget
      Parameters:
      mode - The new value for mode
      See Also:
    • checked

      public IToolbarbutton.Updater checked(boolean checked)
      Sets the given value of checked to update to client widget
      Parameters:
      checked - The new value for checked
      See Also:
    • marshal

      public Map<String,Object> marshal()
      Description copied from interface: SmartUpdater
      Serializes the keys and values of the updater.
      Specified by:
      marshal in interface SmartUpdater
      Returns:
      A keys and values mapping for UiAgent.smartUpdate(org.zkoss.stateless.ui.Locator, org.zkoss.stateless.ui.SmartUpdater)