public abstract class AbstractSheetDropDown extends DropDownReceiver implements DropDown.OnStateListener, android.content.SharedPreferences.OnSharedPreferenceChangeListener, MapEventDispatcher.MapEventDispatchListener, android.widget.CompoundButton.OnCheckedChangeListener, PointMapItem.OnPointChangedListener, android.widget.SeekBar.OnSeekBarChangeListener, Shape.OnPointsChangedListener, android.view.View.OnClickListener, ToolListener
| Modifier and Type | Field and Description |
|---|---|
protected android.widget.SeekBar |
_alphaBar |
protected android.widget.TextView |
_areaTxt |
protected android.widget.Button |
_centerBtn |
protected android.widget.ImageButton |
_colorBtn |
protected android.content.Context |
_context |
protected CoordinateFormat |
_coordFmt |
protected android.view.View |
_defaultActions |
protected android.view.View |
_editActions |
protected android.widget.Button |
_editBtn |
protected RubberSheetEditTool |
_editTool |
protected android.widget.Button |
_endBtn |
protected ExtraDetailsLayout |
_extraDetails |
protected android.view.ViewGroup |
_extraLayout |
protected AbstractSheet |
_item |
protected MapView |
_mapView |
protected android.widget.EditText |
_nameTxt |
protected android.content.SharedPreferences |
_prefs |
protected int |
_rangeSys |
protected RemarksLayout |
_remarksLayout |
protected android.view.ViewGroup |
_root |
protected android.widget.CheckBox |
_showLabels |
protected android.widget.SeekBar |
_thicknessBar |
protected android.widget.Button |
_undoBtn |
protected static java.lang.String |
COORD_FMT |
protected static java.lang.String |
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 |
|---|
AbstractSheetDropDown(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSheetListeners() |
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
void |
edit() |
protected java.lang.String |
formatRange(double meters) |
protected Tool |
getActiveTool() |
protected void |
inflateView() |
void |
onCheckedChanged(android.widget.CompoundButton cb,
boolean checked) |
void |
onClick(android.view.View v) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onMapEvent(MapEvent event) |
void |
onPointChanged(PointMapItem pmi) |
void |
onPointsChanged(Shape shape) |
void |
onProgressChanged(android.widget.SeekBar bar,
int prog,
boolean user) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
void |
onStartTrackingTouch(android.widget.SeekBar seekBar) |
void |
onStopTrackingTouch(android.widget.SeekBar seekBar) |
void |
onToolBegin(Tool tool,
android.os.Bundle extras)
A tool has began
|
void |
onToolEnded(Tool tool)
A tool has ended
|
protected void |
refresh() |
protected void |
refreshArea() |
protected void |
refreshCenter() |
protected void |
refreshUnits() |
protected void |
removeSheetListeners() |
boolean |
show(AbstractSheet item,
boolean edit) |
_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, setResultExtrasprotected static final java.lang.String COORD_FMT
protected static final java.lang.String RANGE_FMT
protected final MapView _mapView
protected final android.content.Context _context
protected final android.content.SharedPreferences _prefs
protected RubberSheetEditTool _editTool
protected AbstractSheet _item
protected CoordinateFormat _coordFmt
protected int _rangeSys
protected android.view.ViewGroup _root
protected android.widget.EditText _nameTxt
protected RemarksLayout _remarksLayout
protected android.widget.TextView _areaTxt
protected android.widget.Button _centerBtn
protected android.widget.ImageButton _colorBtn
protected android.widget.CheckBox _showLabels
protected android.widget.SeekBar _alphaBar
protected android.widget.SeekBar _thicknessBar
protected android.view.View _defaultActions
protected android.view.View _editActions
protected android.widget.Button _editBtn
protected android.widget.Button _undoBtn
protected android.widget.Button _endBtn
protected android.view.ViewGroup _extraLayout
protected ExtraDetailsLayout _extraDetails
public AbstractSheetDropDown(MapView mapView)
public void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic boolean show(AbstractSheet item, boolean edit)
public void edit()
protected void inflateView()
protected void refresh()
protected void refreshCenter()
protected void refreshArea()
protected void refreshUnits()
protected java.lang.String formatRange(double meters)
protected Tool getActiveTool()
public void onMapEvent(MapEvent event)
onMapEvent in interface MapEventDispatcher.MapEventDispatchListenerpublic void onPointChanged(PointMapItem pmi)
onPointChanged in interface PointMapItem.OnPointChangedListenerpublic void onPointsChanged(Shape shape)
onPointsChanged in interface Shape.OnPointsChangedListenerpublic 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.OnStateListenerprotected void addSheetListeners()
protected void removeSheetListeners()
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 instancepublic void onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key)
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListenerpublic void onCheckedChanged(android.widget.CompoundButton cb,
boolean checked)
onCheckedChanged in interface android.widget.CompoundButton.OnCheckedChangeListenerpublic void onProgressChanged(android.widget.SeekBar bar,
int prog,
boolean user)
onProgressChanged in interface android.widget.SeekBar.OnSeekBarChangeListenerpublic void onStartTrackingTouch(android.widget.SeekBar seekBar)
onStartTrackingTouch in interface android.widget.SeekBar.OnSeekBarChangeListenerpublic void onStopTrackingTouch(android.widget.SeekBar seekBar)
onStopTrackingTouch in interface android.widget.SeekBar.OnSeekBarChangeListenerpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListener