public abstract class Tool extends java.lang.Object implements ToolDescriptor
Modifier and Type | Class and Description |
---|---|
static interface |
Tool.ToolCallback |
Constructor and Description |
---|
Tool() |
Modifier and Type | Method and Description |
---|---|
Group[] |
getGroups()
Unused in ATAK, will always return just GENERAL.
|
abstract android.graphics.drawable.Drawable |
getIcon() |
Tool |
getTool() |
abstract void |
onActivate(android.app.Activity arg0,
MapView arg1,
android.view.ViewGroup arg2,
android.os.Bundle arg3,
Tool.ToolCallback arg4) |
abstract void |
onDeactivate(Tool.ToolCallback arg0) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getShortDescription
public abstract android.graphics.drawable.Drawable getIcon()
getIcon
in interface ToolDescriptor
public Group[] getGroups()
ToolDescriptor
getGroups
in interface ToolDescriptor
public Tool getTool()
getTool
in interface ToolDescriptor
public abstract void onActivate(android.app.Activity arg0, MapView arg1, android.view.ViewGroup arg2, android.os.Bundle arg3, Tool.ToolCallback arg4)
public abstract void onDeactivate(Tool.ToolCallback arg0)