byucc.jhdl.apps.Viewers.Event
Interface JHDLHostWidgetInterface

All Known Implementing Classes:
JHDLAbstractHostPanel

public interface JHDLHostWidgetInterface

The host interface for the master widget that will act as arbitrator between the JHDLMouseEventListener and the JHDLMouseEventGenerators, and between the JHDLWidgetEventListeners, and the JHDLWidgetEventGenerators.

Version:
$Id: JHDLHostWidgetInterface.java,v 1.4 2004/03/12 04:07:24 tsa6 Exp $
Author:
Tyler Anderson
See Also:
JHDLMouseEventListener, JHDLMouseEvent, JHDLMouseEventGenerator, JHDLWidgetEventListener, JHDLWidgetEvent, JHDLWidgetEventGenerator

Method Summary
 void addJHDLMouseEventGenerator(JHDLMouseEventGenerator meg)
          This method will take the passed in JHDLMouseEventGenerator, and call addJHDLMouseEventListener on it, passing in the designated JHDLMouseEventListener.
 void addJHDLWidgetEventListener(JHDLWidgetEventListener wel)
          This method must call addJHDLWidgetEventListener on whichever containing widget is designated as the JHDLWidgetEventListener, unless it defines the method, and adds the listener to its own list of listeners, itself.
 CLInterpreter getCLInterpreter()
          Accessor method.
 javax.swing.JMenuBar getJMenuBar()
          Returns the menu bar of the Master Widget.
 Cell getRootCell()
          Accessor method.
 void refreshGUI()
          Refreshes the Master Widget (used for after you add to its JMenuBar.
 void removeJHDLMouseEventGenerator(JHDLMouseEventGenerator meg)
          This method will take the passed in JHDLMouseEventGenerator, and call removeJHDLMouseEventListener on it, passing in the designated JHDLMouseEventListener.
 void removeJHDLWidgetEventListener(JHDLWidgetEventListener wel)
          This method must call removeJHDLWidgetEventListener on whichever containing widget is designated as the JHDLWidgetEventListener, unless it defines the method, and removes the listener from its own list of listeners, itself.
 

Method Detail

addJHDLMouseEventGenerator

public void addJHDLMouseEventGenerator(JHDLMouseEventGenerator meg)
This method will take the passed in JHDLMouseEventGenerator, and call addJHDLMouseEventListener on it, passing in the designated JHDLMouseEventListener.


removeJHDLMouseEventGenerator

public void removeJHDLMouseEventGenerator(JHDLMouseEventGenerator meg)
This method will take the passed in JHDLMouseEventGenerator, and call removeJHDLMouseEventListener on it, passing in the designated JHDLMouseEventListener.


addJHDLWidgetEventListener

public void addJHDLWidgetEventListener(JHDLWidgetEventListener wel)
This method must call addJHDLWidgetEventListener on whichever containing widget is designated as the JHDLWidgetEventListener, unless it defines the method, and adds the listener to its own list of listeners, itself.


removeJHDLWidgetEventListener

public void removeJHDLWidgetEventListener(JHDLWidgetEventListener wel)
This method must call removeJHDLWidgetEventListener on whichever containing widget is designated as the JHDLWidgetEventListener, unless it defines the method, and removes the listener from its own list of listeners, itself.


getCLInterpreter

public CLInterpreter getCLInterpreter()
Accessor method.


getRootCell

public Cell getRootCell()
Accessor method.


getJMenuBar

public javax.swing.JMenuBar getJMenuBar()
Returns the menu bar of the Master Widget.


refreshGUI

public void refreshGUI()
Refreshes the Master Widget (used for after you add to its JMenuBar.



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