Interface BindContext

All Known Implementing Classes:
BindContextImpl

public interface BindContext
Binding Context
Since:
6.0.0
Author:
henrichen
  • Method Details

    • getBinder

      Binder getBinder()
      Returns associated Binder of this Bind context.
      Returns:
      associated Binder of this Bind context.
    • getBinding

      Binding getBinding()
      Returns associated Binding of this Bind context.
      Returns:
      associated Binding of this Bind context.
    • getAttribute

      Object getAttribute(Object key)
      Returns value of the given key in this Bind Context.
      Parameters:
      key - the key to the value.
      Returns:
      value of the given key in this Bind Context.
    • setAttribute

      Object setAttribute(Object key, Object value)
      Sets given value to the given key in this Bind context.
      Parameters:
      key - the key to the value
      value - the value
      Returns:
      previous value that associated with the given key.
    • getAttributes

      Map<Object,Object> getAttributes()
      Returns a copy of all attributes in this Bind context.
      Returns:
      a copy of all attributes in this Bind context.
    • isSave

      boolean isSave()
      Returns whether currently is doing save operation.
      Returns:
      whether currently is doing save operation.
    • getCommandName

      String getCommandName()
      Returns associated command name of this Bind Context; null if not involved.
      Returns:
      associated command name of this Bind Context; null if not involved.
    • getComponent

      org.zkoss.zk.ui.Component getComponent()
      Returns the associated component context.
      Returns:
      the associated component context.
    • getTriggerEvent

      org.zkoss.zk.ui.event.Event getTriggerEvent()
      Returns associated event that trigger the associated command; null if not involved.
      Returns:
      associated event that trigger the associated command; null if not involved.
    • getCommandArg

      Object getCommandArg(String key)
      Returns command arg value of the given key in this Bind Context.
      Parameters:
      key - the key to the value.
      Returns:
      value of command arg of the given key in this Bind Context.
    • getBindingArg

      Object getBindingArg(String key)
      Returns binding arg value of the given key in this Bind Context.
      Parameters:
      key - the key to the value.
      Returns:
      value of binding arg of the given key in this Bind Context.
    • getConverterArg

      Object getConverterArg(String key)
      Returns converter arg value of the given key in this Bind Context.
      Parameters:
      key - the key to the value.
      Returns:
      value of converter arg of the given key in this Bind Context.
    • getValidatorArg

      Object getValidatorArg(String key)
      Returns validator arg value of the given key in this Bind Context.
      Parameters:
      key - the key to the value.
      Returns:
      value of validator arg of the given key in this Bind Context.