Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SolarMetric Kodo JDO 3.4.1 generated on May 30 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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