Kodo 4.2.0. generated on July 28 2008

com.solarmetric.manage
Class WatchableEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.solarmetric.manage.WatchableEvent
All Implemented Interfaces:
Serializable

public class WatchableEvent
extends EventObject

Event produced by the Watchable class and sent to WatchableListeners.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WatchableEvent(Watchable watchable, Statistic stat)
          Create a new event holding a reference to the watchable, and a reference to the newly registered statistic.
 
Method Summary
 Statistic getStatistic()
          Get the statistic.
 Watchable getWatchable()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WatchableEvent

public WatchableEvent(Watchable watchable,
                      Statistic stat)
Create a new event holding a reference to the watchable, and a reference to the newly registered statistic.

Method Detail

getWatchable

public Watchable getWatchable()

getStatistic

public Statistic getStatistic()
Get the statistic.


Kodo 4.2.0. generated on July 28 2008

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