|
Eclipse Platform Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObservableValue
A value whose changes can be tracked by value change listeners.
This interface is not intended to be implemented by clients. Clients should instead subclass one of the classes that implement this interface. Note that direct implementers of this interface outside of the framework will be broken in future releases when methods are added to this interface.
Method Summary | |
---|---|
void |
addValueChangeListener(IValueChangeListener listener)
|
java.lang.Object |
getValue()
Returns the value. |
java.lang.Object |
getValueType()
The value type of this observable value, or null if this
observable value is untyped. |
void |
removeValueChangeListener(IValueChangeListener listener)
|
void |
setValue(java.lang.Object value)
Sets the value. |
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable |
---|
addChangeListener, addStaleListener, dispose, getRealm, isStale, removeChangeListener, removeStaleListener |
Method Detail |
---|
java.lang.Object getValueType()
null
if this
observable value is untyped.
null
java.lang.Object getValue()
Realm
of the observable.
void setValue(java.lang.Object value)
Realm
of the observable.
value
- the value to set
java.lang.UnsupportedOperationException
- if this observable value cannot be set.void addValueChangeListener(IValueChangeListener listener)
listener
- void removeValueChangeListener(IValueChangeListener listener)
listener
-
|
Eclipse Platform Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.