public interface PlugIn extends PropertyConsumer
PlugInLayer
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Notification to the PlugIn that it has been removed from the application,
so it can disconnect from all other objects that may be holding a
reference to it.
|
java.awt.Component |
getComponent()
Get the component the plugin is using (most likely, its parent).
|
java.awt.Component |
getGUI()
Gives the PlugIn a chance to present components that control its
attributes.
|
MapMouseListener |
getMapMouseListener()
Returns the MapMouseListener that the plugin thinks should be used to
handle its events, if asked.
|
OMGraphicList |
getRectangle(Projection p)
The getRectangle call is the main call into the PlugIn module.
|
void |
removed()
Notification to the PlugIn that it has been removed from the map, so it
can free resources.
|
void |
setComponent(java.awt.Component parent)
The setComponent command is provided so that the plugin can be told its
parent.
|
void |
setMapMouseListener(MapMouseListener mml)
Set the MapMouseListener for this PlugIn.
|
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix
void setComponent(java.awt.Component parent)
java.awt.Component getComponent()
void setMapMouseListener(MapMouseListener mml)
mml
- MapMouseListener.MapMouseListener
MapMouseListener getMapMouseListener()
MapMouseListener
OMGraphicList getRectangle(Projection p)
p
- projection of the screen, holding scale, center coords, height,
width. May be null if the parent component hasn't had the
projection set.Projection
,
OMGraphicList
java.awt.Component getGUI()
void removed()
void dispose()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details