public abstract class AbstractInteractionPlugin extends SimplePropertyObject implements IObserverCenterPlugin
| Constructor and Description |
|---|
AbstractInteractionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMouseListener(MouseListener listener)
Adds a MouseListener.
|
String |
getIconPath()
Returns the path to the icon for the plugin in the toolbar.
|
IVector2 |
getWorldCoordinates(Point p) |
void |
refresh()
Refreshes the display
|
void |
removeMouseListener(MouseListener listener)
Removes a MouseListener.
|
void |
shutdown()
Stops the plugin
|
void |
start(ObserverCenter main)
Starts the plugin
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getViewpublic void addMouseListener(MouseListener listener)
listener - The MouseListener.public void removeMouseListener(MouseListener listener)
listener - The MouseListener.public void refresh()
IObserverCenterPluginrefresh in interface IObserverCenterPluginpublic String getIconPath()
IObserverCenterPlugingetIconPath in interface IObserverCenterPluginpublic final void shutdown()
IObserverCenterPluginshutdown in interface IObserverCenterPluginpublic final void start(ObserverCenter main)
IObserverCenterPluginstart in interface IObserverCenterPluginCopyright © 2012. All Rights Reserved.