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.

Constructor Index

 o ValueModel()

Method Index

 o getValue()
Called to get the current value this object represents.
 o setValue(Object)
Called to set the current value, which must be cast to an Object.

Constructors

 o ValueModel
  public ValueModel()

Methods

 o 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
 o 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