gov.sandia.ccaffeine.dc.user_iface.MVC.event
Interface GuiUserListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Gui

public interface GuiUserListener
extends java.util.EventListener

Request access to the GUI.


Method Summary
 void getComponentClass(QueryEvent event)
          The end-user wants to send a query to fetch the class of cca component.
 void getComponentInstance(QueryEvent event)
          The end-user wants to send a query to fetch a component instance.
 void getWaitingForPorts(QueryEvent event)
          The end-user wants to send a query to fetch the "waitingForPorts" flag.
 void print(PrintEvent event)
          The end-user wants to print a string.
 void println(PrintEvent event)
          The end-user wants to print a string.
 

Method Detail

print

void print(PrintEvent event)
The end-user wants to print a string. A GUI might respond by writing the string to standard out.

Parameters:
event - The event that is generated whenever the end-user wants to print a string.

println

void println(PrintEvent event)
The end-user wants to print a string. A GUI might respond by writing the string to standard out.

Parameters:
event - The event that is generated whenever the end-user wants to print a string.

getComponentInstance

void getComponentInstance(QueryEvent event)
The end-user wants to send a query to fetch a component instance. A GUI might respond by sending back a ResultSetEvent.

Parameters:
event - The event that is created whenever an entity wants to fetch a component instance.

getComponentClass

void getComponentClass(QueryEvent event)
The end-user wants to send a query to fetch the class of cca component. A view entity might respond by sending back a ResultSetEvent.

Parameters:
event - The event that is created whenever the end-user wants to fetch the class of a component.

getWaitingForPorts

void getWaitingForPorts(QueryEvent event)
The end-user wants to send a query to fetch the "waitingForPorts" flag. A GUI might respond by sending back a ResultSetEvent.

Parameters:
event - The event that is created whenever the end-user wants to fetch the "waitingForPorts" flag.