Package arez.spy
Interface ComponentInfo
- All Superinterfaces:
ElementInfo
A representation of a component instance exposed to spy framework.
-
Method Summary
Methods inherited from interface arez.spy.ElementInfo
getName, isDisposed
-
Method Details
-
getType
Return the component type. This is an opaque string specified by the user.- Returns:
- the component type.
-
getId
Return the unique id of the component. This will return null for singletons.- Returns:
- the unique id of the component.
-
getObservableValues
Return the Observables associated with the component. This does NOT include observables that are associated with aComputableValue
. This collection returned is unmodifiable.- Returns:
- the associated observables.
-
getObservers
Return the Observers associated with the component. This does NOT include observers that are associated with aComputableValue
. This collection returned is unmodifiable. This operation recreates the list and is a relatively expensive operation.- Returns:
- the associated observers.
-
getComputableValues
Return the ComputableValues associated with the component. This collection returned is unmodifiable.- Returns:
- the associated computable values.
-