public class GridToolbar extends java.lang.Object implements IToolbarExtension, android.view.View.OnClickListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor and Description |
|---|
GridToolbar(MapView mapView,
android.widget.Button toolButton) |
| Modifier and Type | Method and Description |
|---|---|
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 |
onToolbarVisible(boolean v) |
public static final java.lang.String IDENTIFIER
public GridToolbar(MapView mapView, android.widget.Button toolButton)
public ActionBarView getToolbarView()
IToolbarExtensiongetToolbarView in interface IToolbarExtensionpublic java.util.List<Tool> getTools()
IToolbarExtensiongetTools in interface IToolbarExtensionpublic void onToolbarVisible(boolean v)
onToolbarVisible in interface IToolbarExtensionpublic boolean hasToolbar()
IToolbarExtensionhasToolbar in interface IToolbarExtensionpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListener