lt.monarch.chart.events
Class EventObserver

java.lang.Object
  extended by lt.monarch.chart.events.EventObserver
All Implemented Interfaces:
ChartEventListener, EventListenerSupport

public class EventObserver
extends java.lang.Object
implements ChartEventListener, EventListenerSupport

GW event observer


Constructor Summary
Constructor and Description
EventObserver()
           
 
Method Summary
Modifier and Type Method and Description
 void addListener(ChartEventListener listener)
          Adds listener to observers list
 void dispose()
          Disposes object
 void fireEvent(AbstractEvent event)
          Fires event, that property has changed
 void removeAllListeners()
          Removes all listeners
 void removeListener(ChartEventListener listener)
          Removes listener from observers list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventObserver

public EventObserver()
Method Detail

addListener

public void addListener(ChartEventListener listener)
Description copied from interface: EventListenerSupport
Adds listener to observers list

Specified by:
addListener in interface EventListenerSupport
Parameters:
listener - listener to add

removeListener

public void removeListener(ChartEventListener listener)
Description copied from interface: EventListenerSupport
Removes listener from observers list

Specified by:
removeListener in interface EventListenerSupport
Parameters:
listener - listener to remove

removeAllListeners

public void removeAllListeners()
Description copied from interface: EventListenerSupport
Removes all listeners

Specified by:
removeAllListeners in interface EventListenerSupport

fireEvent

public void fireEvent(AbstractEvent event)
Fires event, that property has changed

Specified by:
fireEvent in interface ChartEventListener
Parameters:
event - Event, that property has changed

dispose

public void dispose()
Disposes object