edu.washington.cs.supple.rep.values
Interface ValueBinding

All Known Implementing Classes:
AsBooleanValue, BeanlikeValue, ConstantValue, EqualsValue, Value, Variable

public interface ValueBinding

ValueBinding represents the interface between ui specifications and application data.

Author:
dbc1

Method Summary
 void addListener(ValueListener listener)
          Add a listener for this variable.
 java.lang.Object getValue()
          Get the bound value.
 java.lang.Class getValueClass()
          Get the class of this variable
 void removeListener(ValueListener listener)
          Remove a listener for this variable.
 void setValue(java.lang.Object value)
          Set the value of this variable.
 

Method Detail

getValueClass

public java.lang.Class getValueClass()
Get the class of this variable

Returns:

getValue

public java.lang.Object getValue()
Get the bound value.

Returns:

setValue

public void setValue(java.lang.Object value)
Set the value of this variable.

Parameters:
value -

addListener

public void addListener(ValueListener listener)
Add a listener for this variable.


removeListener

public void removeListener(ValueListener listener)
Remove a listener for this variable.