csheets
Class CleanSheets.EventDispatcher

java.lang.Object
  extended by csheets.CleanSheets.EventDispatcher
All Implemented Interfaces:
Runnable
Enclosing class:
CleanSheets

public static class CleanSheets.EventDispatcher
extends Object
implements Runnable

A utility for dispatching events on the AWT event dispatching thread.

Author:
Einar Pehrson

Constructor Summary
CleanSheets.EventDispatcher(SpreadsheetAppEvent event, SpreadsheetAppListener[] listeners)
          Creates a new event dispatcher.
 
Method Summary
 void run()
          Dispatches the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanSheets.EventDispatcher

public CleanSheets.EventDispatcher(SpreadsheetAppEvent event,
                                   SpreadsheetAppListener[] listeners)
Creates a new event dispatcher.

Parameters:
event - the event to fire
listeners - the listeners to which the event should be dispatched
Method Detail

run

public void run()
Dispatches the event.

Specified by:
run in interface Runnable