public class RouteToolbarBroadcastReceiver extends DropDownReceiver implements android.view.View.OnClickListener, IToolbarExtension
Modifier and Type | Field and Description |
---|---|
protected TextWidget |
_text |
static java.lang.String |
TOOLBAR_IDENTIFIER |
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 |
---|
RouteToolbarBroadcastReceiver(MapView mapView,
RouteMapReceiver RouteMapReceiver) |
Modifier and Type | Method and Description |
---|---|
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
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.
|
void |
onClick(android.view.View v) |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
onToolbarVisible(boolean vis) |
static void |
openToolbar() |
_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
protected TextWidget _text
public static final java.lang.String TOOLBAR_IDENTIFIER
public RouteToolbarBroadcastReceiver(MapView mapView, RouteMapReceiver RouteMapReceiver)
public void disposeImpl()
DropDownReceiver
disposeImpl
in class DropDownReceiver
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
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 static void openToolbar()