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.StringgetName()Returns the name of the pluginjava.awt.ComponentgetView()Returns the viewable component of the pluginprotected voidhandleObjectClick(ISpaceObject object)This method receives space objects on left-clicks.protected voidinitialize(ObserverCenter center)Initializes the plugin.booleanisStartOnLoad()Should plugin be started on load.booleanisVisible()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:AbstractInteractionPluginThis method receives space objects on left-clicks.- Overrides:
handleObjectClickin classAbstractInteractionPlugin- Parameters:
object- space object that was clicked.
-
initialize
protected void initialize(ObserverCenter center)
Description copied from class:AbstractInteractionPluginInitializes the plugin. This method is invoked once when the ObserverCenter becomes available.- Specified by:
initializein classAbstractInteractionPlugin- Parameters:
center- The OberverCenter.
-
getName
public java.lang.String getName()
Description copied from interface:IObserverCenterPluginReturns the name of the plugin- Returns:
- name of the plugin
-
getView
public java.awt.Component getView()
Description copied from interface:IObserverCenterPluginReturns 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.
-
-