|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zkplus.databind.Binding
public class Binding
A Data Binding that associate component+attr to an bean expression.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public DataBinder getBinder()
public org.zkoss.zk.ui.Component getComponent()
public String getAttr()
public Map<Object,Object> getArgs()
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.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||