public class RubberModelEditTool extends RubberSheetEditTool
RubberSheetEditTool.RotateAction
RectangleEditTool.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, updateSubText
onConflict, run
initButton, onButtonClicked, setActive
clearExtraListeners, endTool, findPoint, getActive, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, shouldEndOnBack
public static final java.lang.String TOOL_NAME
protected RubberModel _model
public PointMapItem getMarker()
public java.lang.String getIdentifier()
Tool
getIdentifier
in class Tool
public boolean onToolBegin(android.os.Bundle extras)
Tool
onToolBegin
in class RubberSheetEditTool
extras
- extra params that were passed by the GUIpublic void onToolEnd()
Tool
onToolEnd
in class RubberSheetEditTool
protected void displayPrompt()
RubberSheetEditTool
displayPrompt
in class RubberSheetEditTool
public void onMapEvent(MapEvent event)
onMapEvent
in interface MapEventDispatcher.MapEventDispatchListener
onMapEvent
in class RubberSheetEditTool
public void onMoved(Rectangle r, GeoPointMetaData[] oldPoints, GeoPointMetaData[] newPoints)
onMoved
in interface Rectangle.OnMoveListener
onMoved
in class RectangleEditTool
protected void rotate(double ang)
rotate
in class RubberSheetEditTool
protected void reset()
reset
in class RubberSheetEditTool
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
onClick
in class RubberSheetEditTool