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, unhideDropDown
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
protected 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()
DropDownReceiver
onBackButtonPressed
in class DropDownReceiver
public java.lang.String getAssociationKey()
DropDownReceiver
getAssociationKey
in class DropDownReceiver
public void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver
public java.lang.String getToolbarTitle()
public void setToolbar(IToolbarExtension toolbar)
public java.util.List<Tool> getTools()
IToolbarExtension
getTools
in interface IToolbarExtension
public ActionBarView getToolbarView()
IToolbarExtension
getToolbarView
in interface IToolbarExtension
public boolean hasToolbar()
IToolbarExtension
hasToolbar
in interface IToolbarExtension
public void onToolbarVisible(boolean vis)
onToolbarVisible
in interface IToolbarExtension
public void setSelected(MapItem m)
setSelected
in class DropDownReceiver
public void onReceive(android.content.Context c, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void onDropDownSelectionRemoved()
onDropDownSelectionRemoved
in interface DropDown.OnStateListener
public void onDropDownVisible(boolean v)
onDropDownVisible
in interface DropDown.OnStateListener
public void onDropDownSizeChanged(double width, double height)
onDropDownSizeChanged
in interface DropDown.OnStateListener
public void onDropDownClose()
onDropDownClose
in interface DropDown.OnStateListener
protected boolean isShowing()