|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PlugIn
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 | |
|---|---|
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. |
| Methods inherited from interface com.bbn.openmap.PropertyConsumer |
|---|
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix |
| Method Detail |
|---|
void setComponent(java.awt.Component parent)
java.awt.Component getComponent()
void setMapMouseListener(MapMouseListener mml)
mml - MapMouseListener.MapMouseListenerMapMouseListener getMapMouseListener()
MapMouseListenerOMGraphicList 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,
OMGraphicListjava.awt.Component getGUI()
void removed()
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||