|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.rep.values.Variable
edu.washington.cs.supple.rep.values.ValueRef
ValueRef acts as a pointer to another value.
| Constructor Summary | |
ValueRef(ValueBinding binding)
|
|
| Method Summary | |
ValueBinding |
deref()
Get the referenced value binding. |
java.lang.Object |
getValue()
Get the bound value. |
java.lang.Class |
getValueClass()
Get the class of this variable |
void |
ref(ValueBinding binding)
Change the referenced value binding. |
void |
setValue(java.lang.Object value)
Set the value of this variable. |
void |
valueChanged(ValueBinding binding,
java.lang.Object newValue)
Signals variable change. |
| Methods inherited from class edu.washington.cs.supple.rep.values.Variable |
addListener, postLastListener, preFirstListener, processUpdate, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValueRef(ValueBinding binding)
| Method Detail |
public java.lang.Class getValueClass()
ValueBinding
getValueClass in interface ValueBindingpublic java.lang.Object getValue()
ValueBinding
getValue in interface ValueBindingpublic void setValue(java.lang.Object value)
ValueBinding
setValue in interface ValueBindingvalue - public void ref(ValueBinding binding)
binding - public ValueBinding deref()
public void valueChanged(ValueBinding binding,
java.lang.Object newValue)
ValueListener
valueChanged in interface ValueListenerbinding - newValue -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||