public class RubberModelDropDown extends AbstractSheetDropDown implements RubberModel.OnChangedListener
_alphaBar, _areaTxt, _centerBtn, _colorBtn, _context, _coordFmt, _defaultActions, _editActions, _editBtn, _editTool, _endBtn, _extraDetails, _extraLayout, _mapView, _nameTxt, _prefs, _rangeSys, _remarksLayout, _root, _showLabels, _thicknessBar, _undoBtn, COORD_FMT, RANGE_FMT
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 |
---|
RubberModelDropDown(MapView mapView,
MapGroup group) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSheetListeners() |
protected void |
inflateView() |
void |
onAltitudeChanged(RubberModel model,
double altitude,
GeoPoint.AltitudeReference ref)
Center point altitude has been changed (by itself)
Note that this is not called when the point lat/lng has changed
|
void |
onRotationChanged(RubberModel model,
double[] rotation)
Model pitch or roll has been changed
Note that this is not called for heading, listen for onPointsChanged
instead
|
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
protected void |
refreshArea() |
protected void |
refreshUnits() |
protected void |
removeSheetListeners() |
boolean |
show(AbstractSheet item,
boolean edit) |
disposeImpl, edit, formatRange, getActiveTool, onCheckedChanged, onClick, onDropDownClose, onDropDownSelectionRemoved, onDropDownSizeChanged, onDropDownVisible, onMapEvent, onPointChanged, onPointsChanged, onProgressChanged, onReceive, onStartTrackingTouch, onStopTrackingTouch, onToolBegin, onToolEnded, refresh, refreshCenter
_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, unhideDropDown
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public boolean show(AbstractSheet item, boolean edit)
show
in class AbstractSheetDropDown
protected void inflateView()
inflateView
in class AbstractSheetDropDown
protected void refreshArea()
refreshArea
in class AbstractSheetDropDown
protected void refreshUnits()
refreshUnits
in class AbstractSheetDropDown
public void onSharedPreferenceChanged(android.content.SharedPreferences p, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener
onSharedPreferenceChanged
in class AbstractSheetDropDown
protected void addSheetListeners()
addSheetListeners
in class AbstractSheetDropDown
protected void removeSheetListeners()
removeSheetListeners
in class AbstractSheetDropDown
public void onRotationChanged(RubberModel model, double[] rotation)
RubberModel.OnChangedListener
onRotationChanged
in interface RubberModel.OnChangedListener
model
- Model instancerotation
- The new rotation arraypublic void onAltitudeChanged(RubberModel model, double altitude, GeoPoint.AltitudeReference ref)
RubberModel.OnChangedListener
onAltitudeChanged
in interface RubberModel.OnChangedListener
model
- Model instancealtitude
- New altitude in metersref
- Altitude reference