SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

com.solarmetric.manage
Interface Watchable

All Known Implementing Classes:
TimeWatch

public interface Watchable

The Watchable interface specifies an interface for watching statistics. A Watchable can provide a set of statistics. Each statistic can be looked at, and a listener can be registered to listen for changes to the statistic.


Method Summary
 boolean addListener(WatchableListener listener)
          Add a listener.
 void clearListeners()
          Clear all listeners.
 Collection getStatistics()
          Get a collection of available statistics.
 boolean removeListener(WatchableListener listener)
          Remove a listener.
 

Method Detail

getStatistics

public Collection getStatistics()
Get a collection of available statistics. Items are of type Statistic.

addListener

public boolean addListener(WatchableListener listener)
Add a listener.

removeListener

public boolean removeListener(WatchableListener listener)
Remove a listener.

clearListeners

public void clearListeners()
Clear all listeners.

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.