public class Binding extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Set |
getAfterWhenEvents()
Deprecated.
Get save-after event expression.
|
Map<Object,Object> |
getArgs()
Deprecated.
Get generic arguments.
|
String |
getAttr()
Deprecated.
Get component attribute name.
|
Object |
getBean(org.zkoss.zk.ui.Component comp)
Deprecated.
Returns the associated bean of this binding; e.g., for a binding to the bean "a.b.c", this will return the bean associated to "a.b"
(and c is the property name).
|
DataBinder |
getBinder()
Deprecated.
Gets the associated Data Binder of this Binding.
|
org.zkoss.zk.ui.Component |
getComponent()
Deprecated.
Gets the associated Component of this Binding.
|
TypeConverter |
getConverter()
Deprecated.
Get the
TypeConverter. |
String |
getExpression()
Deprecated.
Get bean expression, e.g. a.b.c.
|
LinkedHashSet<String> |
getLoadAfterEvents()
Deprecated.
Get load-after event expression set.
|
LinkedHashSet<String> |
getLoadWhenEvents()
Deprecated.
Get load-when event expression set.
|
Set<String> |
getSaveWhenEvents()
Deprecated.
Get save-when event expression.
|
boolean |
isLoadable()
Deprecated.
Whether the binding is loadable.
|
boolean |
isSavable()
Deprecated.
Whether the binding is savable.
|
void |
loadAttribute(org.zkoss.zk.ui.Component comp)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
loadAttribute(org.zkoss.zk.ui.Component comp,
Object bean)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
saveAttribute(org.zkoss.zk.ui.Component comp)
Deprecated.
save into bean value from the attribute of the specified component.
|
String |
toString()
Deprecated.
|
public DataBinder getBinder()
public org.zkoss.zk.ui.Component getComponent()
public String getAttr()
public String getExpression()
public Set<String> getSaveWhenEvents()
public Set getAfterWhenEvents()
public LinkedHashSet<String> getLoadWhenEvents()
public LinkedHashSet<String> getLoadAfterEvents()
public boolean isLoadable()
public boolean isSavable()
public TypeConverter getConverter()
TypeConverter.public void loadAttribute(org.zkoss.zk.ui.Component comp)
comp - the component.public Object getBean(org.zkoss.zk.ui.Component comp)
Note if the expression is associated to a single variable; e.g. "a" only, this method returns null.
comp - public void loadAttribute(org.zkoss.zk.ui.Component comp,
Object bean)
comp - the component.bean - the bean value.public void saveAttribute(org.zkoss.zk.ui.Component comp)
comp - the component.Copyright © 2015. All rights reserved.