Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dinopolis.gpstool.plugin
Interface MouseModePlugin  view MouseModePlugin download MouseModePlugin.java

All Superinterfaces:
java.util.EventListener, java.awt.event.MouseListener, org.dinopolis.gpstool.gui.MouseMode, java.awt.event.MouseMotionListener, Plugin

public interface MouseModePlugin
extends Plugin, org.dinopolis.gpstool.gui.MouseMode

This interface is used for all plugins that want to provide any mouse handling for the application. If the mouse mode wants to draw anything on the map, it may return a layer in the getLayer() 55 method.

The plugins are informed about start and stop, so they may initialize and free their resources on startup and on closing of the application.

Version:
$Revision: 1.5 $

Method Summary
 Layer getLayer()
          If the mouse mode plugin wants to draw anything on the map it may return a layer here or null if not.
 
Methods inherited from interface org.dinopolis.gpstool.plugin.Plugin
getPluginDescription, getPluginIdentifier, getPluginName, getPluginVersion, initializePlugin, startPlugin, stopPlugin
 
Methods inherited from interface org.dinopolis.gpstool.gui.MouseMode
getMouseModeAcceleratorKey, getMouseModeDescription, getMouseModeIcon, getMouseModeMnemonic, getMouseModeName, isActive, setActive
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
 

Method Detail

getLayer

public Layer getLayer()
If the mouse mode plugin wants to draw anything on the map it may return a layer here or null if not. If this method is called more than once, the plugin should return always the same layer!