|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 BindContextpublic Binding getBinding()
BindContext
getBinding in interface BindContextpublic java.lang.Object getAttribute(java.lang.Object key)
BindContext
getAttribute in interface BindContextkey - the key to the value.
public java.lang.Object setAttribute(java.lang.Object key,
java.lang.Object value)
BindContext
setAttribute in interface BindContextkey - the key to the valuevalue - the value
public java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
BindContext
getAttributes in interface BindContextpublic java.lang.Object getCommandArg(java.lang.String key)
BindContext
getCommandArg in interface BindContextkey - the key to the value.
public java.lang.Object getBindingArg(java.lang.String key)
BindContext
getBindingArg in interface BindContextkey - the key to the value.
public java.lang.Object getConverterArg(java.lang.String key)
BindContext
getConverterArg in interface BindContextkey - the key to the value.
public java.lang.Object getValidatorArg(java.lang.String key)
BindContext
getValidatorArg in interface BindContextkey - the key to the value.
public boolean isSave()
BindContext
isSave in interface BindContextpublic java.lang.String getCommandName()
BindContext
getCommandName in interface BindContextpublic Component getComponent()
BindContext
getComponent in interface BindContextpublic Event getTriggerEvent()
BindContext
getTriggerEvent in interface BindContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||