byucc.jhdl.apps.Broker
Class GUIListener

java.lang.Object
  extended bybyucc.jhdl.apps.Broker.GUIListener
All Implemented Interfaces:
java.util.EventListener, JHDLMouseEventListener, SchematicActionListener, SimControlActionListener, TreeBrowserActionListener, WiresTableActionListener

public class GUIListener
extends java.lang.Object
implements JHDLMouseEventListener, SchematicActionListener, TreeBrowserActionListener, WiresTableActionListener, SimControlActionListener


Constructor Summary
GUIListener(CLInterpreter interp)
          Deprecated.  
GUIListener(CLInterpreter interp, Broker b)
          New constructor so that the GUIListener gets a copy of the Broker, so that it can call the Broker directly to continue the Event passing mechanism.
 
Method Summary
 CLInterpreter getInterp()
           
 void JHDLMouseEventPerformed(JHDLMouseEvent e)
          This gets called when a JHDLMouseEvent occurs on one of the Widgets.
 void schematicActionPerformed(SchematicActionEvent e)
          Deprecated.  
 void simControlActionPerformed(SimControlActionEvent e)
          This gets called when a SimControlActionEvent occurs
 void treeBrowserActionPerformed(TreeBrowserActionEvent e)
          Deprecated.  
 void wiresTableActionPerformed(WiresTableActionEvent e)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIListener

public GUIListener(CLInterpreter interp)
Deprecated.  


GUIListener

public GUIListener(CLInterpreter interp,
                   Broker b)
New constructor so that the GUIListener gets a copy of the Broker, so that it can call the Broker directly to continue the Event passing mechanism.

Parameters:
interp - The CLInterpreter.
b - The Broker.
Method Detail

getInterp

public CLInterpreter getInterp()

JHDLMouseEventPerformed

public void JHDLMouseEventPerformed(JHDLMouseEvent e)
This gets called when a JHDLMouseEvent occurs on one of the Widgets. It Interprets the JHDLMouseEvent, and responds accordingly, calling the Broker with args for the Broker to now broadcast a JHDLWidgetEvent.

Specified by:
JHDLMouseEventPerformed in interface JHDLMouseEventListener
Parameters:
e - The JHDLMouseEvent containing the origin of the Event, and Event-specific details.

simControlActionPerformed

public void simControlActionPerformed(SimControlActionEvent e)
This gets called when a SimControlActionEvent occurs

Specified by:
simControlActionPerformed in interface SimControlActionListener

schematicActionPerformed

public void schematicActionPerformed(SchematicActionEvent e)
Deprecated.  

This gets called when a SchematicActionEvent occurs

Specified by:
schematicActionPerformed in interface SchematicActionListener

treeBrowserActionPerformed

public void treeBrowserActionPerformed(TreeBrowserActionEvent e)
Deprecated.  

This gets called when a TreeBrowserActionEvent occurs

Specified by:
treeBrowserActionPerformed in interface TreeBrowserActionListener

wiresTableActionPerformed

public void wiresTableActionPerformed(WiresTableActionEvent e)
Deprecated.  

This gets called when a WiresTableActionEvent occurs

Specified by:
wiresTableActionPerformed in interface WiresTableActionListener


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.