net.groboclown.gui.pluginapp.v1.plugin
Class EventReporterPlugin

java.lang.Object
  |
  +--net.groboclown.gui.pluginapp.v1.plugin.EventReporterPlugin
All Implemented Interfaces:
IElement, IPluginElement, IPrimaryComponent, Serializable

public class EventReporterPlugin
extends Object
implements IPrimaryComponent

The main GUI frame controller. It has the Frame, the MenuBar, and the Tabbed Pane where everyone plays. For each primary component, there is a JMenu and JComponent.

See Also:
Serialized Form

Inner Class Summary
private  class EventReporterPlugin.EventListener
           
 
Field Summary
private static String DISPLAY
           
private  EventManager eventMgr
           
private static String NAME
           
private  PropertyManager propertyMgr
           
private  StringBuffer runningText
           
private  JEditorPane text
           
 
Constructor Summary
EventReporterPlugin()
           
 
Method Summary
 JMenu createMenu()
           
 Component createPane()
           
 String getDisplayName()
           
 String getName()
           
 int getVersion()
           
 String[] load()
           
 void reportEvent(EventBusEvent ebe)
           
 String[] save()
           
 void setup(Core core)
           
 void teardown()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

NAME

private static final String NAME

DISPLAY

private static final String DISPLAY

text

private JEditorPane text

propertyMgr

private PropertyManager propertyMgr

eventMgr

private EventManager eventMgr

runningText

private StringBuffer runningText
Constructor Detail

EventReporterPlugin

public EventReporterPlugin()
Method Detail

setup

public void setup(Core core)
Specified by:
setup in interface IElement

teardown

public void teardown()
Specified by:
teardown in interface IElement

getName

public String getName()
Specified by:
getName in interface IElement

getVersion

public int getVersion()
Specified by:
getVersion in interface IElement

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface IPrimaryComponent

createMenu

public JMenu createMenu()
Specified by:
createMenu in interface IPrimaryComponent

createPane

public Component createPane()
Specified by:
createPane in interface IPrimaryComponent

load

public String[] load()

save

public String[] save()

reportEvent

public void reportEvent(EventBusEvent ebe)


Written under the LGPL