de.fhkoeln.zra.statix.plugins
Class StatAbstractPlugin

java.lang.Object
  |
  +--de.fhkoeln.zra.statix.plugins.StatAbstractPlugin
All Implemented Interfaces:
StatPlugable
Direct Known Subclasses:
StatClock, StatCnPImport, StatPongGame, StatTestPlugin

public abstract class StatAbstractPlugin
extends Object
implements StatPlugable

Author:
Thies Hauschild, hld@gmx.net(05.06.2003)

Field Summary
protected  StatController control
           
protected  boolean isInit
           
protected  String menuPath
           
protected  String name
           
protected  Properties props
           
 
Constructor Summary
protected StatAbstractPlugin()
           
protected StatAbstractPlugin(StatController control)
           
 
Method Summary
abstract  void excute(String event)
           
 Action[] getActions()
           
 JComponent getDisplayComponent()
           
 String getName()
           
 String getParentMenuPath()
           
 Enumeration getProperties()
           
 String getProperty(String key)
           
 void initPlugin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

menuPath

protected String menuPath

props

protected Properties props

control

protected StatController control

isInit

protected boolean isInit
Constructor Detail

StatAbstractPlugin

protected StatAbstractPlugin()

StatAbstractPlugin

protected StatAbstractPlugin(StatController control)
Method Detail

getActions

public Action[] getActions()
Specified by:
getActions in interface StatPlugable
See Also:
StatPlugable.getActions()

getDisplayComponent

public JComponent getDisplayComponent()
Specified by:
getDisplayComponent in interface StatPlugable
See Also:
StatPlugable.getDisplayComponent()

getName

public String getName()
Specified by:
getName in interface StatPlugable
See Also:
StatPlugable.getName()

getParentMenuPath

public String getParentMenuPath()
Specified by:
getParentMenuPath in interface StatPlugable
See Also:
StatPlugable.getParentMenuPath()

getProperties

public Enumeration getProperties()
Specified by:
getProperties in interface StatPlugable
See Also:
StatPlugable.getProperties()

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface StatPlugable
See Also:
StatPlugable.getProperty(String)

initPlugin

public void initPlugin()

excute

public abstract void excute(String event)
Specified by:
excute in interface StatPlugable
See Also:
StatPlugable.excute(String)