jadex.application.space.envsupport.observer.gui.plugin
Class InteractionTestPlugin

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.application.space.envsupport.observer.gui.plugin.AbstractInteractionPlugin
          extended by jadex.application.space.envsupport.observer.gui.plugin.InteractionTestPlugin
All Implemented Interfaces:
IObserverCenterPlugin, IPropertyObject

public class InteractionTestPlugin
extends AbstractInteractionPlugin


Field Summary
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Constructor Summary
InteractionTestPlugin()
           
 
Method Summary
 String getName()
          Returns the name of the plugin
 Component getView()
          Returns the viewable component of the plugin
protected  void handleObjectClick(ISpaceObject object)
          This method receives space objects on left-clicks.
protected  void initialize(ObserverCenter center)
          Initializes the plugin.
 
Methods inherited from class jadex.application.space.envsupport.observer.gui.plugin.AbstractInteractionPlugin
addMouseListener, cleanUp, getIconPath, getWorldCoordinates, refresh, removeMouseListener, shutdown, start, startUp
 
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractionTestPlugin

public InteractionTestPlugin()
Method Detail

handleObjectClick

protected void handleObjectClick(ISpaceObject object)
Description copied from class: AbstractInteractionPlugin
This method receives space objects on left-clicks.

Overrides:
handleObjectClick in class AbstractInteractionPlugin
Parameters:
object - space object that was clicked.

initialize

protected void initialize(ObserverCenter center)
Description copied from class: AbstractInteractionPlugin
Initializes the plugin. This method is invoked once when the ObserverCenter becomes available.

Specified by:
initialize in class AbstractInteractionPlugin
Parameters:
center - The OberverCenter.

getName

public String getName()
Description copied from interface: IObserverCenterPlugin
Returns the name of the plugin

Returns:
name of the plugin

getView

public Component getView()
Description copied from interface: IObserverCenterPlugin
Returns the viewable component of the plugin

Returns:
viewable component of the plugin


Copyright © 2010. All Rights Reserved.