Class com.bdnm.mvc.ValueModel
All Packages Class Hierarchy This Package Previous Next Index
Class com.bdnm.mvc.ValueModel
java.lang.Object
|
+----java.util.Observable
|
+----com.bdnm.mvc.ValueModel
- public class ValueModel
- extends Observable
- implements Valuable
Just an abstract class which is an Observable
and implements the Valuable interface. Other
than that, this really doesn't do anything.
-
ValueModel()
-
-
getValue()
- Called to get the current value this object represents.
-
setValue(Object)
- Called to set the current value, which must
be cast to an Object.
ValueModel
public ValueModel()
getValue
public abstract Object getValue()
- Called to get the current value this object represents.
Necessary to implement Valuable.
- Returns:
- the current value, which is cast to an Object
setValue
public abstract void setValue(Object newValue)
- Called to set the current value, which must
be cast to an Object. Necessary to implement
Valuable.
- Parameters:
- newValue - the new value to set
All Packages Class Hierarchy This Package Previous Next Index