protected class HierarchyListReceiver.HierarchyListDropDown extends DropDownReceiver implements IToolbarExtension, DropDown.OnStateListener
| Modifier and Type | Field and Description |
|---|---|
protected HierarchyListAdapter |
_adapter |
protected boolean |
_showingDropDown |
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 |
|---|
HierarchyListDropDown() |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
java.lang.String |
getAssociationKey()
Get the associated settings screen key
|
java.lang.String |
getToolbarTitle() |
ActionBarView |
getToolbarView()
Implement this method to return the view that should be placed in the toolbar drawer when
your component has control of it.
|
java.util.List<Tool> |
getTools()
Implement this method to return a set of tools to be managed by ToolbarLibrary.
|
boolean |
hasToolbar()
Implement this method to tell ToolbarLibrary whether your component will sometimes take
control of the toolbar's contents or whether it only implements tools without implementing a
toolbar.
|
protected boolean |
isShowing() |
protected boolean |
onBackButtonPressed()
For a dropdown that has told the drop down manager to ignore the back button.
|
protected boolean |
onCloseList(boolean forceClose) |
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onReceive(android.content.Context c,
android.content.Intent intent) |
void |
onToolbarVisible(boolean vis) |
protected void |
setCloseIntents(java.util.List<android.content.Intent> intents) |
void |
setSelected(MapItem m) |
void |
setToolbar(IToolbarExtension toolbar) |
protected void |
showDropDown() |
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onStateRequested, resize, setAssociationKey, setRetain, 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 HierarchyListAdapter _adapter
protected boolean _showingDropDown
protected void showDropDown()
protected void setCloseIntents(java.util.List<android.content.Intent> intents)
protected boolean onCloseList(boolean forceClose)
protected boolean onBackButtonPressed()
DropDownReceiveronBackButtonPressed in class DropDownReceiverpublic java.lang.String getAssociationKey()
DropDownReceivergetAssociationKey in class DropDownReceiverpublic void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic java.lang.String getToolbarTitle()
public void setToolbar(IToolbarExtension toolbar)
public java.util.List<Tool> getTools()
IToolbarExtensiongetTools in interface IToolbarExtensionpublic ActionBarView getToolbarView()
IToolbarExtensiongetToolbarView in interface IToolbarExtensionpublic boolean hasToolbar()
IToolbarExtensionhasToolbar in interface IToolbarExtensionpublic void onToolbarVisible(boolean vis)
onToolbarVisible in interface IToolbarExtensionpublic void setSelected(MapItem m)
setSelected in class DropDownReceiverpublic void onReceive(android.content.Context c,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void onDropDownSelectionRemoved()
onDropDownSelectionRemoved in interface DropDown.OnStateListenerpublic void onDropDownVisible(boolean v)
onDropDownVisible in interface DropDown.OnStateListenerpublic void onDropDownSizeChanged(double width,
double height)
onDropDownSizeChanged in interface DropDown.OnStateListenerpublic void onDropDownClose()
onDropDownClose in interface DropDown.OnStateListenerprotected boolean isShowing()