public class BloodHoundNavWidget extends MarkerIconWidget implements MapWidget.OnClickListener, MapWidget.OnLongPressListener
MarkerIconWidget.OnMarkerWidgetIconChangedListener, MarkerIconWidget.OnMarkerWidgetIconRotationChangedListener, MarkerIconWidget.OnMarkerWidgetIconStateChangedListener
MapWidget2.OnWidgetSizeChangedListener
MapWidget.Factory, MapWidget.OnClickListener, MapWidget.OnLongPressListener, MapWidget.OnMoveListener, MapWidget.OnPressListener, MapWidget.OnUnpressListener, MapWidget.OnVisibleChangedListener, MapWidget.OnWidgetPointChangedListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
FIELDS
|
Constructor and Description |
---|
BloodHoundNavWidget(MapView mapView,
BloodHoundTool toolbarButton)
CONSTRUCTOR
|
Modifier and Type | Method and Description |
---|---|
void |
disableWidget() |
void |
enableWidget()
PRIVATE METHODS
|
void |
onMapWidgetClick(MapWidget widget,
android.view.MotionEvent event) |
void |
onMapWidgetLongPress(MapWidget widget) |
boolean |
setVisible(boolean visible)
Set the visibility of this map widget
|
void |
stop() |
addOnMarkerWidgetIconChangedListener, addOnMarkerWidgetIconRotationChangedListener, addOnMarkerWidgetIconStateChangedListener, getIcon, getMarkerHitBounds, getMarkerHitBounds, getRotation, getState, getWidgetIcon, isEnterable, orientationChanged, removeOnMarkerWidgetIconChangedListener, removeOnMarkerWidgetIconRotationChangedListener, removeOnMarkerWidgetIconStateChangedListener, seekHit, setIcon, setIconSizePx, setMarkerHitBounds, setMarkerHitBounds, setRotation, setState
addOnWidgetSizeChangedListener, getSize, onSizeChanged, removeOnWidgetSizeChangedListener, seekHit, seekWidgetHit, testHit
addOnClickListener, addOnHoverListener, addOnLongPressListener, addOnMoveListener, addOnPressListener, addOnUnpressListener, addOnVisibleChangedListener, addOnWidgetPointChangedListener, equals, getAbsolutePath, getAbsolutePosition, getAbsoluteWidgetPosition, getHeight, getMargins, getName, getPadding, getParent, getPointX, getPointY, getPropertyValue, getSize, getWidth, getZOrder, hashCode, isTouchable, isVisible, onClick, onClick, onHover, onLongPress, onMove, onMove, onPointChanged, onPress, onPress, onUnpress, onUnpress, onVisibleChanged, registerForwardedListener, removeOnClickListener, removeOnHoverListener, removeOnLongPressListener, removeOnMoveListener, removeOnPressListener, removeOnUnpressListener, removeOnVisibleChangedListener, removeOnWidgetPointChangedListener, setHeight, setMargins, setName, setPadding, setPadding, setParent, setPoint, setSize, setTouchable, setWidth, setZOrder, unregisterForwardedListener, visitPropertyInfos
public static final java.lang.String TAG
public BloodHoundNavWidget(MapView mapView, BloodHoundTool toolbarButton)
public void stop()
public void onMapWidgetClick(MapWidget widget, android.view.MotionEvent event)
onMapWidgetClick
in interface MapWidget.OnClickListener
public void onMapWidgetLongPress(MapWidget widget)
onMapWidgetLongPress
in interface MapWidget.OnLongPressListener
public boolean setVisible(boolean visible)
MapWidget
setVisible
in class MapWidget
visible
- True to show, false to hidepublic void enableWidget()
public void disableWidget()