public interface IValueProperty extends IProperty
ValueProperty
,
SimpleValueProperty
Modifier and Type | Method and Description |
---|---|
Object |
getValue(Object source)
Returns the current value of this property on the specified property
source.
|
Object |
getValueType()
Returns the value type of the property, or
null if untyped. |
IListProperty |
list(IListProperty detailList)
Returns the nested combination of this property and the specified detail
list property.
|
IMapProperty |
map(IMapProperty detailMap)
Returns the nested combination of this property and the specified detail
map property.
|
IObservableValue |
observe(Object source)
Returns an observable value observing this value property on the given
property source.
|
IObservableValue |
observe(Realm realm,
Object source)
Returns an observable value observing this value property on the given
property source
|
IObservableList |
observeDetail(IObservableList master)
Returns an observable list on the master observable's realm which tracks
this property on each element of
master . |
IObservableMap |
observeDetail(IObservableMap master)
Returns an observable map on the master observable's realm where the
map's key set is the same as the master observable map, and where each
value is the property value of the corresponding value in the master
observable map.
|
IObservableMap |
observeDetail(IObservableSet master)
Returns an observable map on the master observable's realm where the
map's key set is the specified master set, and where each key maps to the
current property value for each element.
|
IObservableValue |
observeDetail(IObservableValue master)
Returns an observable value on the master observable's realm which tracks
this property on the current value of
master . |
ISetProperty |
set(ISetProperty detailSet)
Returns the nested combination of this property and the specified detail
set property.
|
void |
setValue(Object source,
Object value)
Sets this property on the specified property source to the specified
value.
|
IValueProperty |
value(IValueProperty detailValue)
Returns the nested combination of this property and the specified detail
value property.
|
IObservableFactory |
valueFactory()
Returns a factory for creating observable values tracking this property
of a particular property source.
|
IObservableFactory |
valueFactory(Realm realm)
Returns a factory for creating observable values in the given realm,
tracking this property of a particular property source.
|
Object getValueType()
null
if untyped.null
if untyped.Object getValue(Object source)
source
- the property source (may be null)void setValue(Object source, Object value)
Note: This method is made available to facilitate basic property
access. However if the property source lacks property change
notification, then observables on the source object may not be notified
of the change. In most cases it is preferable to call
IObservableValue.setValue(Object)
on the observable instead.
source
- the property source (may be null)value
- the new property valueIObservableValue observe(Object source)
source
- the property sourceIObservableValue observe(Realm realm, Object source)
realm
- the observable's realmsource
- the property sourceIObservableFactory valueFactory()
IObservableFactory valueFactory(Realm realm)
realm
- the realmIObservableValue observeDetail(IObservableValue master)
master
.master
- the master observablemaster
.IObservableList observeDetail(IObservableList master)
master
.master
- the master observableIObservableMap observeDetail(IObservableSet master)
master
- the master observableIObservableMap observeDetail(IObservableMap master)
master
- the master observableIValueProperty value(IValueProperty detailValue)
detailValue
- the detail propertyIListProperty list(IListProperty detailList)
detailList
- the detail propertyISetProperty set(ISetProperty detailSet)
detailSet
- the detail propertyIMapProperty map(IMapProperty detailMap)
detailMap
- the detail property
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.