com.esri.arcgis.beans.ui
Class BeanUtilities

java.lang.Object
  extended by com.esri.arcgis.beans.ui.BeanUtilities

public class BeanUtilities
extends java.lang.Object

A Bean utility class to facilitate the bean UI development.


Constructor Summary
BeanUtilities()
           
 
Method Summary
static java.lang.Object getItemObject(java.lang.String name)
          Returns a tool item object for the given class name.
static java.lang.String[] getTags(java.lang.String className)
          Returns readable enumerative values in an array string.
static int[] getValues(java.lang.String[] tags)
          Returns the orignal enumeration integers in array
static int parsingString(java.lang.String item)
          Extracting an integer from the given string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtilities

public BeanUtilities()
Method Detail

getTags

public static java.lang.String[] getTags(java.lang.String className)
Returns readable enumerative values in an array string. The orignal enumeration values are in integer.

Parameters:
className - String - a class name
Returns:
String[] an array containing the enumerative string.

getValues

public static int[] getValues(java.lang.String[] tags)
Returns the orignal enumeration integers in array

Parameters:
tags - String[] an string array returned by getTags
Returns:
int[] an integer array

parsingString

public static int parsingString(java.lang.String item)
Extracting an integer from the given string.

Parameters:
item - String a string in an array returned by getTags
Returns:
int an integer

getItemObject

public static java.lang.Object getItemObject(java.lang.String name)
Returns a tool item object for the given class name.

Parameters:
name - String - a class name string
Returns:
Object a instantiated object for the given class