|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes a component that can supply OMGraphics based on a Projection. PlugIns can be added to the map via a PlugInLayer.
PlugInLayer
Field Summary |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Method Summary | |
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. |
Methods inherited from interface com.bbn.openmap.PropertyConsumer |
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix |
Method Detail |
public void setComponent(java.awt.Component parent)
public java.awt.Component getComponent()
public void setMapMouseListener(MapMouseListener mml)
mml
- MapMouseListener.MapMouseListener
public MapMouseListener getMapMouseListener()
MapMouseListener
public 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
public java.awt.Component getGUI()
public void removed()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |