com.esri.arcgis.beans.ui
Class BeanUtilities

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

public class BeanUtilities
extends Object

A Bean utility class to facilitate the bean UI development.


Constructor Summary
BeanUtilities()
           
 
Method Summary
static Object getItemObject(String name)
          Returns a tool item object for the given class name.
static String[] getTags(String className)
          Returns readable enumerative values in an array string.
static int[] getValues(String[] tags)
          Returns the orignal enumeration integers in array
static int parsingString(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 String[] getTags(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(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(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 Object getItemObject(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