edu.memphis.ccrg.lida.framework.gui.events
Interface GuiEventProvider

All Known Implementing Classes:
TaskManager

public interface GuiEventProvider

A GuiContentProvider is a class that provides content to a GUI. The GUIs listen to providers, following Observer pattern.

Author:
Ryan J. McCall

Method Summary
 void addFrameworkGuiEventListener(FrameworkGuiEventListener listener)
          Must be able to register FrameworkGuiEvent listeners
 void sendEventToGui(FrameworkGuiEvent event)
          This is a convenience method to send GUI events to listeners.
 

Method Detail

addFrameworkGuiEventListener

void addFrameworkGuiEventListener(FrameworkGuiEventListener listener)
Must be able to register FrameworkGuiEvent listeners

Parameters:
listener - receiver of GuiEvents, typically a GuiPanel

sendEventToGui

void sendEventToGui(FrameworkGuiEvent event)
This is a convenience method to send GUI events to listeners.

Parameters:
event - GuiEvent