|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.commons.SimplePropertyObject
jadex.application.space.envsupport.observer.gui.plugin.AbstractInteractionPlugin
public abstract class AbstractInteractionPlugin
| Field Summary |
|---|
| Fields inherited from class jadex.commons.SimplePropertyObject |
|---|
pcs, properties |
| Constructor Summary | |
|---|---|
AbstractInteractionPlugin()
|
|
| Method Summary | |
|---|---|
void |
addMouseListener(MouseListener listener)
Adds a MouseListener. |
protected void |
cleanUp(ObserverCenter center)
This method is executed when the plugins shuts down. |
String |
getIconPath()
Returns the path to the icon for the plugin in the toolbar. |
IVector2 |
getWorldCoordinates(Point p)
|
protected void |
handleObjectClick(ISpaceObject object)
This method receives space objects on left-clicks. |
protected abstract void |
initialize(ObserverCenter center)
Initializes the plugin. |
void |
refresh()
Refreshes the display |
void |
removeMouseListener(MouseListener listener)
Removes a MouseListener. |
void |
shutdown()
Stops the plugin |
void |
start(ObserverCenter main)
Starts the plugin |
protected void |
startUp(ObserverCenter center)
This method is executed when the plugins starts. |
| 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 |
| Methods inherited from interface jadex.application.space.envsupport.observer.gui.plugin.IObserverCenterPlugin |
|---|
getName, getView |
| Constructor Detail |
|---|
public AbstractInteractionPlugin()
| Method Detail |
|---|
public void addMouseListener(MouseListener listener)
listener - The MouseListener.public void removeMouseListener(MouseListener listener)
listener - The MouseListener.protected abstract void initialize(ObserverCenter center)
center - The OberverCenter.protected void startUp(ObserverCenter center)
center - The OberverCenter.protected void cleanUp(ObserverCenter center)
center - The OberverCenter.protected void handleObjectClick(ISpaceObject object)
object - space object that was clicked.public void refresh()
IObserverCenterPlugin
refresh in interface IObserverCenterPluginpublic String getIconPath()
IObserverCenterPlugin
getIconPath in interface IObserverCenterPluginpublic final void shutdown()
IObserverCenterPlugin
shutdown in interface IObserverCenterPluginpublic final void start(ObserverCenter main)
IObserverCenterPlugin
start in interface IObserverCenterPluginpublic IVector2 getWorldCoordinates(Point p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||