Kodo 4.2.0. generated on July 28 2008

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

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


addListener

boolean addListener(WatchableListener listener)
Add a listener.


removeListener

boolean removeListener(WatchableListener listener)
Remove a listener.


clearListeners

void clearListeners()
Clear all listeners.


Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.