|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.bind.impl.BindContextImpl
public class BindContextImpl
Implementation of BindContext
.
Field Summary | |
---|---|
static java.lang.String |
BINDING_ARGS
|
static java.lang.String |
COMMAND_ARGS
|
static java.lang.String |
CONVERTER_ARGS
|
static java.lang.String |
VALIDATOR_ARGS
|
Constructor Summary | |
---|---|
BindContextImpl(Binder binder,
Binding binding,
boolean save,
java.lang.String command,
Component comp,
Event event)
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.Object key)
Returns value of the given key in this Bind Context. |
java.util.Map<java.lang.Object,java.lang.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. |
java.lang.Object |
getBindingArg(java.lang.String key)
Returns binding arg value of the given key in this Bind Context. |
java.lang.Object |
getCommandArg(java.lang.String key)
Returns command arg value of the given key in this Bind Context. |
java.lang.String |
getCommandName()
Returns associated command name of this Bind Context; null if not involved. |
Component |
getComponent()
Returns the associated component context. |
java.lang.Object |
getConverterArg(java.lang.String key)
Returns converter arg value of the given key in this Bind Context. |
Event |
getTriggerEvent()
Returns associated event that trigger the associated command; null if not involved. |
java.lang.Object |
getValidatorArg(java.lang.String key)
Returns validator arg value of the given key in this Bind Context. |
boolean |
isSave()
Returns whether currently is doing save operation. |
java.lang.Object |
setAttribute(java.lang.Object key,
java.lang.Object value)
Sets given value to the given key in this Bind context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMMAND_ARGS
public static final java.lang.String BINDING_ARGS
public static final java.lang.String VALIDATOR_ARGS
public static final java.lang.String CONVERTER_ARGS
Constructor Detail |
---|
public BindContextImpl(Binder binder, Binding binding, boolean save, java.lang.String command, Component comp, Event event)
Method Detail |
---|
public Binder getBinder()
BindContext
getBinder
in interface BindContext
public Binding getBinding()
BindContext
getBinding
in interface BindContext
public java.lang.Object getAttribute(java.lang.Object key)
BindContext
getAttribute
in interface BindContext
key
- the key to the value.
public java.lang.Object setAttribute(java.lang.Object key, java.lang.Object value)
BindContext
setAttribute
in interface BindContext
key
- the key to the valuevalue
- the value
public java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
BindContext
getAttributes
in interface BindContext
public java.lang.Object getCommandArg(java.lang.String key)
BindContext
getCommandArg
in interface BindContext
key
- the key to the value.
public java.lang.Object getBindingArg(java.lang.String key)
BindContext
getBindingArg
in interface BindContext
key
- the key to the value.
public java.lang.Object getConverterArg(java.lang.String key)
BindContext
getConverterArg
in interface BindContext
key
- the key to the value.
public java.lang.Object getValidatorArg(java.lang.String key)
BindContext
getValidatorArg
in interface BindContext
key
- the key to the value.
public boolean isSave()
BindContext
isSave
in interface BindContext
public java.lang.String getCommandName()
BindContext
getCommandName
in interface BindContext
public Component getComponent()
BindContext
getComponent
in interface BindContext
public Event getTriggerEvent()
BindContext
getTriggerEvent
in interface BindContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |