|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapProperty
Interface for map-typed properties
MapProperty
,
SimpleMapProperty
Method Summary | |
---|---|
Object |
getKeyType()
Returns the element type of the map's key set or null if the
key set is untyped. |
Object |
getValueType()
Returns the element type of the map's values collection or null if the collection is untyped. |
IObservableFactory |
mapFactory()
Returns a factory for creating observable maps tracking this property of a particular property source. |
IObservableFactory |
mapFactory(Realm realm)
Returns a factory for creating observable maps in the given realm, tracking this property of a particular property source. |
IObservableMap |
observe(Object source)
Returns an observable map observing this map property on the given property source |
IObservableMap |
observe(Realm realm,
Object source)
Returns an observable map observing this map property on the given property source |
IObservableMap |
observeDetail(IObservableValue master)
Returns an observable map on the master observable's realm which tracks this property of the values in the entry set of master . |
IMapProperty |
values(IValueProperty detailValues)
Returns the nested combination of this property and the specified detail value property. |
Method Detail |
---|
Object getKeyType()
null
if the
key set is untyped.
null
if the
key set is untyped.Object getValueType()
null
if the collection is untyped.
null
if the collection is untyped.IObservableMap observe(Object source)
source
- the property source
IObservableMap observe(Realm realm, Object source)
realm
- the observable's realmsource
- the property source
IObservableFactory mapFactory()
IObservableFactory mapFactory(Realm realm)
realm
- the realm
IObservableMap observeDetail(IObservableValue master)
master
.
master
- the master observable
master
.IMapProperty values(IValueProperty detailValues)
IObservableMap.put(Object, Object)
and
Map.putAll(java.util.Map)
methods. In the latter case,
this property does not entries for keys not already contained in the
master map's key set. Modifications made through the returned property
are delegated to the detail property, using the corresponding entry value
from the master property as the source.
detailValues
- the detail property
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.