PojoProperties
insteadpublic final class PojoObservables extends Object
property change events
on change. This
factory is identical to BeansObservables
except for this fact.Constructor and Description |
---|
PojoObservables()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static IObservableFactory |
listFactory(Realm realm,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
listFactory(String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
mapPropertyFactory(Realm realm,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
mapPropertyFactory(String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableList |
observeDetailList(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableList |
observeDetailList(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableMap |
observeDetailMap(IObservableValue master,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeDetailMap(Realm realm,
IObservableValue master,
String propertyName)
Deprecated.
Use
observeDetailMap(IObservableValue, String)
instead |
static IObservableSet |
observeDetailSet(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
observeDetailSet(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
Use
observeDetailSet(IObservableValue, String, Class)
instead. |
static IObservableValue |
observeDetailValue(IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
observeDetailValue(Realm realm,
IObservableValue master,
String propertyName,
Class propertyType)
Deprecated.
|
static IObservableList |
observeList(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableList |
observeList(Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableList |
observeList(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableList |
observeList(Realm realm,
Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(IObservableSet domain,
Class pojoClass,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(IObservableSet domain,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(Object pojo,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableMap |
observeMap(Realm realm,
Object pojo,
String propertyName,
Class keyType,
Class valueType)
Deprecated.
use
PojoProperties instead |
static IObservableMap[] |
observeMaps(IObservableSet domain,
Class pojoClass,
String[] propertyNames)
Deprecated.
use
PojoProperties instead |
static IObservableMap[] |
observeMaps(IObservableSet domain,
String[] propertyNames)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
observeSet(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
observeSet(Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
observeSet(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableSet |
observeSet(Realm realm,
Object pojo,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
observeValue(Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableValue |
observeValue(Realm realm,
Object pojo,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
setFactory(Realm realm,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
setFactory(Realm realm,
String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
setFactory(String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
setFactory(String propertyName,
Class elementType)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
valueFactory(Realm realm,
String propertyName)
Deprecated.
use
PojoProperties instead |
static IObservableFactory |
valueFactory(String propertyName)
Deprecated.
use
PojoProperties instead |
public static IObservableValue observeValue(Object pojo, String propertyName)
PojoProperties
insteadpojo
- the objectpropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableValue observeValue(Realm realm, Object pojo, String propertyName)
PojoProperties
insteadrealm
- the realmpojo
- the objectpropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableMap observeMap(IObservableSet domain, String propertyName)
PojoProperties
insteadput
values to these elements will be ignored.domain
- the set of bean objectspropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableMap observeMap(IObservableSet domain, Class pojoClass, String propertyName)
PojoProperties
insteaddomain
- the set of pojo objectspojoClass
- the common base type of pojo objects that may be in the setpropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableMap[] observeMaps(IObservableSet domain, String[] propertyNames)
PojoProperties
insteadput
values to these elements
will be ignored.domain
- the set of objectspropertyNames
- the array of property names. May be nested e.g. "parent.name"public static IObservableMap[] observeMaps(IObservableSet domain, Class pojoClass, String[] propertyNames)
PojoProperties
insteaddomain
- the set of objectspojoClass
- the common base type of objects that may be in the setpropertyNames
- the array of property names. May be nested e.g. "parent.name"public static IObservableMap observeMap(Realm realm, Object pojo, String propertyName)
PojoProperties
insteadrealm
- the realmpojo
- the pojo objectpropertyName
- the name of the propertypublic static IObservableMap observeMap(Realm realm, Object pojo, String propertyName, Class keyType, Class valueType)
PojoProperties
insteadrealm
- the realmpojo
- the pojo objectpropertyName
- the name of the propertykeyType
- the element type of the observable map's key set, or
null
if untypedvalueType
- the element type of the observable map's values collection, or
null
if untypedpublic static IObservableMap observeMap(Object pojo, String propertyName)
PojoProperties
insteadpojo
- the pojo objectpropertyName
- the name of the propertypublic static IObservableMap observeMap(Object pojo, String propertyName, Class keyType, Class valueType)
PojoProperties
insteadpojo
- the pojo objectpropertyName
- the name of the propertykeyType
- the element type of the observable map's key set, or
null
if untypedvalueType
- the element type of the observable map's values collection, or
null
if untypedpublic static IObservableList observeList(Realm realm, Object pojo, String propertyName)
PojoProperties
insteadrealm
- the realmpojo
- the objectpropertyName
- the name of the collection-typed propertyobserveList(Realm, Object, String, Class)
public static IObservableList observeList(Object pojo, String propertyName)
PojoProperties
insteadpojo
- the objectpropertyName
- the name of the collection-typed propertyobserveList(Realm, Object, String, Class)
public static IObservableList observeList(Realm realm, Object pojo, String propertyName, Class elementType)
PojoProperties
insteadPropertyChangeEvents
. This is done to provide
the same behavior as is expected from arrays as specified in the bean
spec in section 7.2.realm
- the realmpojo
- the bean objectpropertyName
- the name of the propertyelementType
- type of the elements in the list. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableList observeList(Object pojo, String propertyName, Class elementType)
PojoProperties
insteadPropertyChangeEvents
. This is done to provide
the same behavior as is expected from arrays as specified in the bean
spec in section 7.2.pojo
- the bean objectpropertyName
- the name of the propertyelementType
- type of the elements in the list. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableSet observeSet(Realm realm, Object pojo, String propertyName)
PojoProperties
insteadrealm
- the realmpojo
- the pojo objectpropertyName
- the name of the propertypublic static IObservableSet observeSet(Object pojo, String propertyName)
PojoProperties
insteadpojo
- the pojo objectpropertyName
- the name of the propertypublic static IObservableSet observeSet(Realm realm, Object pojo, String propertyName, Class elementType)
PojoProperties
insteadrealm
- the realmpojo
- the pojo objectpropertyName
- the name of the propertyelementType
- type of the elements in the set. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableSet observeSet(Object pojo, String propertyName, Class elementType)
PojoProperties
insteadpojo
- the pojo objectpropertyName
- the name of the propertyelementType
- type of the elements in the set. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableFactory valueFactory(Realm realm, String propertyName)
PojoProperties
insteadrealm
- the realm to usepropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableFactory valueFactory(String propertyName)
PojoProperties
insteadpropertyName
- the name of the property. May be nested e.g. "parent.name"public static IObservableFactory listFactory(Realm realm, String propertyName, Class elementType)
PojoProperties
insteadrealm
- the realm to usepropertyName
- the name of the propertyelementType
- public static IObservableFactory listFactory(String propertyName, Class elementType)
PojoProperties
insteadpropertyName
- the name of the propertyelementType
- public static IObservableFactory setFactory(Realm realm, String propertyName)
PojoProperties
insteadrealm
- the realm to usepropertyName
- the name of the propertypublic static IObservableFactory setFactory(String propertyName)
PojoProperties
insteadpropertyName
- the name of the propertypublic static IObservableFactory setFactory(Realm realm, String propertyName, Class elementType)
PojoProperties
insteadrealm
- the realm to usepropertyName
- the name of the propertyelementType
- type of the elements in the set. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableFactory setFactory(String propertyName, Class elementType)
PojoProperties
insteadpropertyName
- the name of the propertyelementType
- type of the elements in the set. If null
and the
property is an array the type will be inferred. If
null
and the property type cannot be inferred
element type will be null
.public static IObservableFactory mapPropertyFactory(Realm realm, String propertyName)
PojoProperties
insteadIObservableMap
in the
given realm that tracks the map-typed named property for the specified
pojo.realm
- the realm assigned to observables created by the returned
factory.propertyName
- the name of the propertyIObservableMap
objects.public static IObservableFactory mapPropertyFactory(String propertyName)
PojoProperties
insteadIObservableMap
in the
current default realm that tracks the map-typed named property for the
specified pojo.propertyName
- the name of the propertyIObservableMap
objects.@Deprecated public static IObservableValue observeDetailValue(Realm realm, IObservableValue master, String propertyName, Class propertyType)
observeDetailValue(IObservableValue, String, Class)
insteadMasterDetailObservables.detailValue(master, valueFactory(realm,
propertyName), propertyType)
realm
- master
- propertyName
- the property name. May be nested e.g. "parent.name"propertyType
- can be null
MasterDetailObservables
public static IObservableValue observeDetailValue(IObservableValue master, String propertyName, Class propertyType)
PojoProperties
insteadMasterDetailObservables.detailValue(master, valueFactory(master.getRealm, propertyName), propertyType)
master
- propertyName
- the property name. May be nested e.g. "parent.name"propertyType
- can be null
MasterDetailObservables
@Deprecated public static IObservableList observeDetailList(Realm realm, IObservableValue master, String propertyName, Class propertyType)
observeDetailList(IObservableValue, String, Class)
insteadMasterDetailObservables.detailList(master, listFactory(realm,
propertyName, propertyType), propertyType)
realm
- master
- propertyName
- propertyType
- can be null
MasterDetailObservables
public static IObservableList observeDetailList(IObservableValue master, String propertyName, Class propertyType)
PojoProperties
insteadMasterDetailObservables.detailList(master, listFactory(master.getRealm(), propertyName, propertyType), propertyType)
master
- propertyName
- propertyType
- can be null
MasterDetailObservables
@Deprecated public static IObservableSet observeDetailSet(Realm realm, IObservableValue master, String propertyName, Class propertyType)
observeDetailSet(IObservableValue, String, Class)
instead.MasterDetailObservables.detailSet(master, setFactory(realm,
propertyName), propertyType)
realm
- master
- propertyName
- propertyType
- can be null
MasterDetailObservables
public static IObservableSet observeDetailSet(IObservableValue master, String propertyName, Class propertyType)
PojoProperties
insteadMasterDetailObservables.detailSet(master, setFactory(master.getRealm(), propertyName), propertyType)
master
- propertyName
- propertyType
- can be null
MasterDetailObservables
@Deprecated public static IObservableMap observeDetailMap(Realm realm, IObservableValue master, String propertyName)
observeDetailMap(IObservableValue, String)
insteadMasterDetailObservables.detailMap(master, mapFactory(realm, propertyName))
realm
- master
- propertyName
- public static IObservableMap observeDetailMap(IObservableValue master, String propertyName)
PojoProperties
insteadMasterDetailObservables.detailMap(master, mapFactory(master.getRealm(), propertyName))
master
- propertyName
-
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.