|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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)
|
Object |
getValue()
Returns the value. |
Object |
getValueType()
The value type of this observable value, or null if this
observable value is untyped. |
void |
removeValueChangeListener(IValueChangeListener listener)
|
void |
setValue(Object value)
Sets the value. |
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable |
---|
addChangeListener, addStaleListener, dispose, getRealm, isStale, removeChangeListener, removeStaleListener |
Method Detail |
public Object getValueType()
null
if this
observable value is untyped.
null
public Object getValue()
Realm
of the observable.
public void setValue(Object value)
Realm
of the observable.
value
- the value to set
UnsupportedOperationException
- if this observable value cannot be set.public void addValueChangeListener(IValueChangeListener listener)
listener
- public 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.