public class RubberModelEditTool extends RubberSheetEditTool
RubberSheetEditTool.RotateActionRectangleEditTool.ManualRectangleEditReceiver| Modifier and Type | Field and Description |
|---|---|
protected RubberModel |
_model |
static java.lang.String |
TOOL_NAME |
_abReceiver, _buttons, _center, _cont, _context, _group, _oldPoints, _p0, _p1, _p2, _p3, _prefs, _sheet, _startAngle, _subText, _toolbar, _topEdge, DRAG, ELEV, HEADING, PITCH, ROLL_rectangle, _undoButton, TOOL_IDENTIFIER_button, _imageButton_identifier, _mapListenerCount, _mapView| Constructor and Description |
|---|
RubberModelEditTool(MapView mapView,
MapGroup group) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayPrompt()
Display the help tooltip
|
java.lang.String |
getIdentifier()
Returns the identifier used to refer to this tool in intents.
|
PointMapItem |
getMarker() |
void |
onClick(android.view.View v) |
void |
onMapEvent(MapEvent event) |
void |
onMoved(Rectangle r,
GeoPointMetaData[] oldPoints,
GeoPointMetaData[] newPoints) |
boolean |
onToolBegin(android.os.Bundle extras)
Called when this tool has been asked to start (and after the last tool has cleaned up)
|
void |
onToolEnd()
Called when this tool has been asked to end, either directly or by the user selecting a new
tool or possibly a new toolbar.
|
protected void |
reset() |
protected void |
rotate(double ang) |
dispose, getMode, onItemAdded, onItemRemoved, undo, unregisterListeners, updateSubTextonConflict, runinitButton, onButtonClicked, setActiveclearExtraListeners, endTool, findPoint, getActive, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBackpublic static final java.lang.String TOOL_NAME
protected RubberModel _model
public PointMapItem getMarker()
public java.lang.String getIdentifier()
ToolgetIdentifier in class Toolpublic boolean onToolBegin(android.os.Bundle extras)
ToolonToolBegin in class RubberSheetEditToolextras - extra params that were passed by the GUIpublic void onToolEnd()
ToolonToolEnd in class RubberSheetEditToolprotected void displayPrompt()
RubberSheetEditTooldisplayPrompt in class RubberSheetEditToolpublic void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListeneronMapEvent in class RubberSheetEditToolpublic void onMoved(Rectangle r, GeoPointMetaData[] oldPoints, GeoPointMetaData[] newPoints)
onMoved in interface Rectangle.OnMoveListeneronMoved in class RectangleEditToolprotected void rotate(double ang)
rotate in class RubberSheetEditToolprotected void reset()
reset in class RubberSheetEditToolpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListeneronClick in class RubberSheetEditTool