DrawingToolRequestor (OpenMap API)
Date: 2016-12-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bbn.openmap.tools.drawing
Interface DrawingToolRequestor

All Known Implementing Classes:
  AmpLinkLayer, BoundsTestLayer, BufferedLinkLayer, DemoLayer, DrawingToolLayer, DrawingToolRequestorList, DrawLinkLayer, EditorLayer, GeoCrossDemoLayer, GeoIntersectionLayer, LinkLayer, LOSGraphicLoader, MapTileMakerComponent, TimelineLayer

    public interface DrawingToolRequestor

A DrawingToolRequestor is an object that asks a DrawingTool to do something for it. The drawingComplete method is called when the DrawingTool is complete, letting the requestor know when it should get the map repainted, or to send the EditableOMGraphic to another object.

Method Summary
`void` | `drawingComplete(OMGraphic omg, OMAction action)` The method where a graphic, and an action to take on the graphic, arrives.
`java.lang.String` | `getName()` Needed to fill in a GUI with a receiver's name, to enable the user to send a graphic to a specific object.

Method Detail

### drawingComplete

    void drawingComplete(OMGraphic omg,
                         OMAction action)

  The method where a graphic, and an action to take on the graphic, arrives.

### getName

    java.lang.String getName()

  Needed to fill in a GUI with a receiver's name, to enable the user to send a graphic to a specific object. Should be a pretty name, suitable to let a user know what it is. It's important that the requestor have a name, because that could be the key that is used in some GUI components.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details