com.esri.arcgis.beans.toolbar
Class ToolbarBeanToolMgr
java.lang.Object
com.esri.arcgis.beans.toolbar.ToolbarBeanToolMgr
public class ToolbarBeanToolMgr
- extends Object
The class provides the support for the class ToolbarBeanItemsPanel
.
It parses the and dynamically supplies the user selected tools for
above UI panel.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDefault
public static ToolbarBeanToolMgr getDefault()
- Instantiates an instance of the class.
- Returns:
- ToolbarBeanToolMgr
getCategories
public final Object[] getCategories()
- Returns the available categories.
- Returns:
- String[]
getCategory
public static final int getCategory(String categoryDesc)
- Returns the category enumeration index for given the category string
- Parameters:
categoryDesc
- String
- Returns:
- int
getToolItems
public final Object[] getToolItems(int categoryName)
- Returns the available tools
- Returns:
- ToolItem[] an array of tools
getToolItemIconName
public String getToolItemIconName(int pkgId,
String className)
- Returns the ToolItem the icon name for the given tool's class name
- Parameters:
pkgId
- intclassName
- String
- Returns:
- String
getToolItemDescriptiveName
public String getToolItemDescriptiveName(int pkgId,
String className)
- Returns the ToolItem the descriptive name for the given tool's class name
- Parameters:
pkgId
- intclassName
- String
- Returns:
- String
getIconDirectory
public String getIconDirectory(int category)
- Returns the tool package and class name.
- Parameters:
category
- int an integer for the category id
- Returns:
- String a combined package/class name