All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.util.ObservableNamedValue
java.lang.Object
   |
   +----java.util.Observable
           |
           +----kh.util.ObservableNamedValue

  Summary

public abstract class  ObservableNamedValue
     extends java.util.Observable
     implements kh.util.NamedValue
{
          // Constructors 1
     public ObservableNamedValue(Object);

          // Methods 2
     public Object getName();
     public abstract double getValue() throws Exception;
}

This class defines a data source which has a string name. You can get the last read value of the data source or ask the datasource to update it's value


  Cross Reference

Extended By:
CachingNamedValue, DependantValue

Returned By:
NamedValueSet.get()





  Constructors

· ObservableNamedValue

Summary  |  Top
   public ObservableNamedValue(Object name) 


  Methods

· getName

Summary  |  Top
   public Object getName() 

Return the identifier for this data source - normally a string

Implements:
getName in interface NamedValue


· getValue

Summary  |  Top
   public abstract double getValue()  throws Exception

Update the value to reflect current reality and return the new value.

Implements:
getValue in interface NamedValue


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7