|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.beansbinding.Bindings
public class Bindings
A factory class for creating instances of the concrete Binding
implementations provided by this package.
| Method Summary | ||
|---|---|---|
static
|
createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty)
Creates an instance of AutoBinding that binds a property of a source object to a property of a target object. |
|
static
|
createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
Creates a named instance of AutoBinding that binds a property of a source object to a property of a target object. |
|
static
|
createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty)
Creates an instance of AutoBinding that binds a source object to a property of a target object. |
|
static
|
createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
Creates a named instance of AutoBinding that binds a source object to a property of a target object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <SS,TS,TV> AutoBinding<SS,SS,TS,TV> createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty)
AutoBinding that binds a source object to a property of a target object.
The AutoBinding's source property is set to an instance of ObjectProperty so that the
source object is used directly, rather than some property of the source object.
strategy - the update strategy for the bindingsourceObject - the source objecttargetObject - the target objecttargetProperty - the target property
AutoBinding that binds the source object to the target property of the target object
java.lang.IllegalArgumentException - if the update strategy or target property is null
public static <SS,TS,TV> AutoBinding<SS,SS,TS,TV> createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
AutoBinding that binds a source object to a property of a target object.
The AutoBinding's source property is set to an instance of ObjectProperty so that the
source object is used directly, rather than some property of the source object.
strategy - the update strategy for the bindingsourceObject - the source objecttargetObject - the target objecttargetProperty - the target propertyname - a name for the binding
AutoBinding that binds the source object to the target property of the target object
java.lang.IllegalArgumentException - if the update strategy or target property is null
public static <SS,SV,TS,TV> AutoBinding<SS,SV,TS,TV> createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty)
AutoBinding that binds a property of a source object to a property of a target object.
strategy - the update strategy for the bindingsourceObject - the source objectsourceProperty - the source propertytargetObject - the target objecttargetProperty - the target property
AutoBinding that binds the source object to the target property of the target object
java.lang.IllegalArgumentException - if the update strategy, source property or target property is null
public static <SS,SV,TS,TV> AutoBinding<SS,SV,TS,TV> createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
AutoBinding that binds a property of a source object to a property of a target object.
strategy - the update strategy for the bindingsourceObject - the source objectsourceProperty - the source propertytargetObject - the target objecttargetProperty - the target propertyname - a name for the binding
AutoBinding that binds the source object to the target property of the target object
java.lang.IllegalArgumentException - if the update strategy, source property or target property is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||