csheets.ui.ctrl
Class UIController.EventDispatcher

java.lang.Object
  extended by csheets.ui.ctrl.UIController.EventDispatcher
All Implemented Interfaces:
Runnable
Enclosing class:
UIController

public static class UIController.EventDispatcher
extends Object
implements Runnable

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

Author:
Einar Pehrson

Constructor Summary
UIController.EventDispatcher(SelectionEvent event, SelectionListener[] 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

UIController.EventDispatcher

public UIController.EventDispatcher(SelectionEvent event,
                                    SelectionListener[] 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