de.mud.jta.plugin
Class Status

java.lang.Object
  |
  +--de.mud.jta.Plugin
        |
        +--de.mud.jta.plugin.Status
All Implemented Interfaces:
java.lang.Runnable, VisualPlugin

public class Status
extends Plugin
implements VisualPlugin, java.lang.Runnable

A simple plugin showing the current status of the application whether it is online or not.

Maintainer: Matthias L. Jugel

Version:
$Id: Status.java,v 2.9 2002/05/06 07:24:20 leo Exp $
Author:
Matthias L. Jugel, Marcus Meißner

Field Summary
 
Fields inherited from class de.mud.jta.Plugin
bus, id
 
Constructor Summary
Status(PluginBus bus, java.lang.String id)
           
 
Method Summary
 javax.swing.JMenu getPluginMenu()
          Get the menu entry for this component.
 javax.swing.JComponent getPluginVisual()
          Get the visible components from the plugin.
 void run()
           
 
Methods inherited from class de.mud.jta.Plugin
error, getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status(PluginBus bus,
              java.lang.String id)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getPluginVisual

public javax.swing.JComponent getPluginVisual()
Description copied from interface: VisualPlugin
Get the visible components from the plugin.

Specified by:
getPluginVisual in interface VisualPlugin
Returns:
a component that represents the plugin

getPluginMenu

public javax.swing.JMenu getPluginMenu()
Description copied from interface: VisualPlugin
Get the menu entry for this component.

Specified by:
getPluginMenu in interface VisualPlugin
Returns:
a menu that can be used to change the plugin state