public class RangeAndBearingCircleDropDown extends DropDownReceiver implements DropDown.OnStateListener, android.view.View.OnClickListener, DrawingCircle.OnRadiusChangedListener, Shape.OnPointsChangedListener, MapItem.OnGroupChangedListener, ToolListener
| Modifier and Type | Field and Description |
|---|---|
protected android.widget.ImageButton |
_colorButton |
protected android.content.Context |
_context |
protected ExtraDetailsLayout |
_extrasLayout |
protected MapView |
_mapView |
protected android.widget.EditText |
_nameEditText |
protected java.text.DecimalFormat |
_one |
protected UnitPreferences |
_prefs |
protected RangeCircle |
_rabCircle |
protected RemarksLayout |
_remarksEditText |
protected android.view.ViewGroup |
_root |
protected java.text.DecimalFormat |
_two |
static java.lang.String |
TAG |
protected UnitsArrayAdapter |
unitsAdapter |
protected static Span[] |
unitsArray |
protected android.widget.Spinner |
unitsSpinner |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH| Constructor and Description |
|---|
RangeAndBearingCircleDropDown(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
protected android.view.ViewGroup |
createRootView(MapView mapView) |
protected void |
displayCoordinateDialog(GeoPointMetaData centerPoint) |
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
protected CircleEditTool |
getEditTool() |
protected void |
initializeWidgets() |
void |
onClick(android.view.View v) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onItemAdded(MapItem item,
MapGroup group) |
void |
onItemRemoved(MapItem item,
MapGroup group) |
void |
onPointsChanged(Shape shape) |
void |
onRadiusChanged(DrawingCircle circle,
double oldRadius) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onToolBegin(Tool tool,
android.os.Bundle extras)
A tool has began
|
void |
onToolEnded(Tool tool)
A tool has ended
|
protected void |
openCircle(RangeCircle circle) |
protected void |
populateLocationWidgets() |
protected void |
refresh() |
protected void |
startEdit() |
protected void |
updateColorButton(int color) |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onBackButtonPressed, onStateRequested, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDownabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final java.lang.String TAG
protected static final Span[] unitsArray
protected final java.text.DecimalFormat _one
protected final java.text.DecimalFormat _two
protected final MapView _mapView
protected final android.content.Context _context
protected final UnitPreferences _prefs
protected final android.view.ViewGroup _root
protected RangeCircle _rabCircle
protected android.widget.EditText _nameEditText
protected RemarksLayout _remarksEditText
protected android.widget.ImageButton _colorButton
protected android.widget.Spinner unitsSpinner
protected UnitsArrayAdapter unitsAdapter
protected ExtraDetailsLayout _extrasLayout
public RangeAndBearingCircleDropDown(MapView mapView)
protected android.view.ViewGroup createRootView(MapView mapView)
public void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverprotected void openCircle(RangeCircle circle)
public void onRadiusChanged(DrawingCircle circle, double oldRadius)
onRadiusChanged in interface DrawingCircle.OnRadiusChangedListenerprotected void initializeWidgets()
public void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerprotected void startEdit()
public void onToolBegin(Tool tool, android.os.Bundle extras)
ToolListeneronToolBegin in interface ToolListenertool - Tool instanceextras - Tool extras (read-only)public void onToolEnded(Tool tool)
ToolListeneronToolEnded in interface ToolListenertool - Tool instanceprotected CircleEditTool getEditTool()
protected void refresh()
protected void populateLocationWidgets()
protected void updateColorButton(int color)
protected void displayCoordinateDialog(GeoPointMetaData centerPoint)
public void onPointsChanged(Shape shape)
onPointsChanged in interface Shape.OnPointsChangedListenerpublic void onItemAdded(MapItem item, MapGroup group)
onItemAdded in interface MapItem.OnGroupChangedListenerpublic void onItemRemoved(MapItem item, MapGroup group)
onItemRemoved in interface MapItem.OnGroupChangedListenerpublic void onDropDownSelectionRemoved()
onDropDownSelectionRemoved in interface DropDown.OnStateListenerpublic void onDropDownClose()
onDropDownClose in interface DropDown.OnStateListenerpublic void onDropDownSizeChanged(double width,
double height)
onDropDownSizeChanged in interface DropDown.OnStateListenerpublic void onDropDownVisible(boolean v)
onDropDownVisible in interface DropDown.OnStateListener