public class DropDownNavigationStack extends DropDownReceiver implements DropDown.OnStateListener
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 |
---|
DropDownNavigationStack(MapView mapView) |
DropDownNavigationStack(MapView mapView,
double lwFraction,
double lhFraction,
double pwFraction,
double phFraction) |
DropDownNavigationStack(MapView mapView,
double lwFraction,
double lhFraction,
double pwFraction,
double phFraction,
boolean ignoreBackButton) |
Modifier and Type | Method and Description |
---|---|
void |
closeNavigationStack() |
protected void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
void |
hideView() |
boolean |
isRootView()
Return true if there is no more items on the navigation stack.
|
boolean |
onBackButtonPressed()
For a dropdown that has told the drop down manager to ignore the back button.
|
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
popToRootView()
removal all views off of the view stack.
|
void |
popView() |
void |
pushView(NavigationStackView view)
Push a view to this drop-down's navigation stack
If the view is already in the stack this will have no effect
|
protected void |
resize(double widthFraction,
double heightFraction)
Resize the dropdown and open the side pane to fit.
|
void |
unhideView() |
void |
updateButtons() |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onStateRequested, 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 DropDownNavigationStack(MapView mapView)
public DropDownNavigationStack(MapView mapView, double lwFraction, double lhFraction, double pwFraction, double phFraction)
public DropDownNavigationStack(MapView mapView, double lwFraction, double lhFraction, double pwFraction, double phFraction, boolean ignoreBackButton)
public boolean isRootView()
public void pushView(NavigationStackView view)
view
- View to addpublic void popView()
public void popToRootView()
public void hideView()
public void unhideView()
protected void resize(double widthFraction, double heightFraction)
DropDownReceiver
resize
in class DropDownReceiver
widthFraction
- fraction of the screen width-wise the view should take.heightFraction
- fraction of the screen height-wise the view should take.protected void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver
public boolean onBackButtonPressed()
DropDownReceiver
onBackButtonPressed
in class DropDownReceiver
public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved
in interface DropDown.OnStateListener
public void onDropDownClose()
onDropDownClose
in interface DropDown.OnStateListener
public void onDropDownSizeChanged(double width, double height)
onDropDownSizeChanged
in interface DropDown.OnStateListener
public void onDropDownVisible(boolean v)
onDropDownVisible
in interface DropDown.OnStateListener
public void updateButtons()
public void closeNavigationStack()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver