public interface BindContext
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(Object key)
Returns value of the given key in this Bind Context.
|
Map<Object,Object> |
getAttributes()
Returns a copy of all attributes in this Bind context.
|
Binder |
getBinder()
Returns associated Binder of this Bind context.
|
Binding |
getBinding()
Returns associated Binding of this Bind context.
|
Object |
getBindingArg(String key)
Returns binding arg value of the given key in this Bind Context.
|
Object |
getCommandArg(String key)
Returns command arg value of the given key in this Bind Context.
|
String |
getCommandName()
Returns associated command name of this Bind Context; null if not involved.
|
org.zkoss.zk.ui.Component |
getComponent()
Returns the associated component context.
|
Object |
getConverterArg(String key)
Returns converter arg value of the given key in this Bind Context.
|
org.zkoss.zk.ui.event.Event |
getTriggerEvent()
Returns associated event that trigger the associated command; null if not involved.
|
Object |
getValidatorArg(String key)
Returns validator arg value of the given key in this Bind Context.
|
boolean |
isSave()
Returns whether currently is doing save operation.
|
Object |
setAttribute(Object key,
Object value)
Sets given value to the given key in this Bind context.
|
Binder getBinder()
Binding getBinding()
Object getAttribute(Object key)
key - the key to the value.Object setAttribute(Object key, Object value)
key - the key to the valuevalue - the valueMap<Object,Object> getAttributes()
boolean isSave()
String getCommandName()
org.zkoss.zk.ui.Component getComponent()
org.zkoss.zk.ui.event.Event getTriggerEvent()
Object getCommandArg(String key)
key - the key to the value.Object getBindingArg(String key)
key - the key to the value.Object getConverterArg(String key)
key - the key to the value.Copyright © 2020. All rights reserved.