Package org.zkoss.bind.impl
Class BindingImpl
- java.lang.Object
-
- org.zkoss.bind.impl.BindingImpl
-
- All Implemented Interfaces:
java.io.Serializable,Binding
- Direct Known Subclasses:
ChildrenBindingImpl,CommandBindingImpl,FormBindingImpl,LoadTemplateBindingImpl,PropertyBindingImpl,ReferenceBindingImpl
public class BindingImpl extends java.lang.Object implements Binding, java.io.Serializable
Base implementation for implementing aBinding- Since:
- 6.0.0
- Author:
- henrichen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBindingImpl(Binder binder, org.zkoss.zk.ui.Component comp, java.util.Map<java.lang.String,java.lang.Object> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancontainsAttribute(BindContext ctx, java.lang.Object key)java.util.Map<java.lang.String,java.lang.Object>getArgs()Returns an argument<tags, object>pairs map(read only).protected java.lang.ObjectgetAttribute(BindContext ctx, java.lang.Object key)BindergetBinder()Returns the owner binder of this binding.org.zkoss.zk.ui.ComponentgetComponent()Returns the associated component of this binding.protected java.lang.ObjectsetAttribute(BindContext ctx, java.lang.Object key, java.lang.Object value)
-
-
-
Constructor Detail
-
BindingImpl
protected BindingImpl(Binder binder, org.zkoss.zk.ui.Component comp, java.util.Map<java.lang.String,java.lang.Object> args)
-
-
Method Detail
-
getComponent
public org.zkoss.zk.ui.Component getComponent()
Description copied from interface:BindingReturns the associated component of this binding.- Specified by:
getComponentin interfaceBinding- Returns:
- the associated component of this binding.
-
getBinder
public Binder getBinder()
Description copied from interface:BindingReturns the owner binder of this binding.
-
getArgs
public java.util.Map<java.lang.String,java.lang.Object> getArgs()
Description copied from interface:BindingReturns an argument<tags, object>pairs map(read only).
-
setAttribute
protected java.lang.Object setAttribute(BindContext ctx, java.lang.Object key, java.lang.Object value)
-
getAttribute
protected java.lang.Object getAttribute(BindContext ctx, java.lang.Object key)
-
containsAttribute
protected boolean containsAttribute(BindContext ctx, java.lang.Object key)
-
-