hep.lcd.plugin
Class LCDPlugin

java.lang.Object
  |
  +--jas.plugin.BasicPlugin
        |
        +--jas.plugin.Plugin
              |
              +--hep.lcd.plugin.LCDPlugin

public final class LCDPlugin
extends Plugin
implements RunListener, PageListener

A plugin subclass for visualizing LCD events. When first loaded into the application, the plugin merely adds its menu to the application's menu bar and registers a run listener.

Author:
Jonas Gifford
Source Code:
LCDPlugin.java

Fields inherited from class jas.plugin.BasicPlugin
out
 
Constructor Summary
LCDPlugin()
          The constructor sets up the detector properties.
 
Method Summary
 void init()
          Installs the LCD menu in the application's menu bar, and registers a run listener.
 void pageChanged(PageEvent e)
           
 void runStateChanged(RunEvent e)
           
 
Methods inherited from class jas.plugin.Plugin
addRunListener, destroy, getCurrentEvent, getPluginContext, removeRunListener, sendJob, setPluginContext
 
Methods inherited from class jas.plugin.BasicPlugin
addMenu, error, error, installConsole, installControl, installPage, removeMenu, sendMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LCDPlugin

public LCDPlugin()
The constructor sets up the detector properties. For now, values are hard-coded but code to support modifiable properties is included and commented out.
Method Detail

init

public void init()
Installs the LCD menu in the application's menu bar, and registers a run listener.
Overrides:
init in class BasicPlugin
See Also:
BasicPluginContext.addMenu(JMenu), PluginContext.addRunListener(RunListener)

runStateChanged

public void runStateChanged(RunEvent e)
Specified by:
runStateChanged in interface RunListener

pageChanged

public void pageChanged(PageEvent e)
Specified by:
pageChanged in interface PageListener


The LCD Group