Class InteractionTestPlugin
- java.lang.Object
-
- jadex.commons.SimplePropertyObject
-
- jadex.extension.envsupport.observer.gui.plugin.AbstractInteractionPlugin
-
- jadex.extension.envsupport.observer.gui.plugin.InteractionTestPlugin
-
- All Implemented Interfaces:
IPropertyObject
,IObserverCenterPlugin
public class InteractionTestPlugin extends AbstractInteractionPlugin
-
-
Field Summary
-
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
-
-
Constructor Summary
Constructors Constructor Description InteractionTestPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of the pluginjava.awt.Component
getView()
Returns the viewable component of the pluginprotected void
handleObjectClick(ISpaceObject object)
This method receives space objects on left-clicks.protected void
initialize(ObserverCenter center)
Initializes the plugin.boolean
isStartOnLoad()
Should plugin be started on load.boolean
isVisible()
Should plugin be visible.-
Methods inherited from class jadex.extension.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, toString
-
-
-
-
Method Detail
-
handleObjectClick
protected void handleObjectClick(ISpaceObject object)
Description copied from class:AbstractInteractionPlugin
This method receives space objects on left-clicks.- Overrides:
handleObjectClick
in classAbstractInteractionPlugin
- 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 classAbstractInteractionPlugin
- Parameters:
center
- The OberverCenter.
-
getName
public java.lang.String getName()
Description copied from interface:IObserverCenterPlugin
Returns the name of the plugin- Returns:
- name of the plugin
-
getView
public java.awt.Component getView()
Description copied from interface:IObserverCenterPlugin
Returns the viewable component of the plugin- Returns:
- viewable component of the plugin
-
isVisible
public boolean isVisible()
Should plugin be visible.
-
isStartOnLoad
public boolean isStartOnLoad()
Should plugin be started on load.
-
-