jaxx.runtime.binding
Class SimpleJAXXObjectBinding
java.lang.Object
jaxx.runtime.binding.DefaultJAXXBinding
jaxx.runtime.binding.SimpleJAXXObjectBinding
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, JAXXBinding
public abstract class SimpleJAXXObjectBinding
- extends DefaultJAXXBinding
Created: 5 déc. 2009
- Version:
- $Revision: 2013 $
Mise a jour: $Date: 2010-06-30 18:48:34 +0200 (mer, 30 jun 2010) $ par :
$Author: tchemit $
- Author:
- tchemit
|
Constructor Summary |
SimpleJAXXObjectBinding(JAXXObject source,
String id,
boolean defaultBinding,
String... propertyNames)
Creates a new Data binding which will run the given data binding
when it receives a PropertyChangeEvent. |
propertyNames
protected final String[] propertyNames
SimpleJAXXObjectBinding
public SimpleJAXXObjectBinding(JAXXObject source,
String id,
boolean defaultBinding,
String... propertyNames)
- Creates a new Data binding which will run the given data binding
when it receives a
PropertyChangeEvent.
- Parameters:
source - the JAXXObject source of the bindingid - the name of the data binding to rundefaultBinding - flag to knwon if binding is coming from a generated jaxx object (true).propertyNames - the name of properties to listen on source
canApply
public boolean canApply()
getPropertyNames
public String[] getPropertyNames()
applyDataBinding
public void applyDataBinding()
- Description copied from interface:
JAXXBinding
- Apply the binding without processing it (say just install listeners).
removeDataBinding
public void removeDataBinding()
- Description copied from interface:
JAXXBinding
- Remove the binding.
Copyright © 2008-2010 CodeLutin. All Rights Reserved.