oracle.forms.demos.bigraph
Class graphTypeRegistry

java.lang.Object
  |
  +--oracle.forms.demos.bigraph.graphTypeRegistry

public abstract class graphTypeRegistry
extends java.lang.Object

graphTypeRegistry maps BI Graph types to the named strings passed as an argument to the getTypeForString method. The following Graph type names can be placed as an argument The main use of this registry is to limit the number of supported Graphs in Forms. To add additional graph types, just add the graph type definition to this class


Constructor Summary
graphTypeRegistry()
           
 
Method Summary
static int getTypeForString(java.lang.String gt)
          getTypeForString(String gt) retrieves the dss Graph internal number for the Graph type specified in the string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

graphTypeRegistry

public graphTypeRegistry()
Method Detail

getTypeForString

public static int getTypeForString(java.lang.String gt)
                            throws java.lang.Exception
getTypeForString(String gt) retrieves the dss Graph internal number for the Graph type specified in the string. If no matching Graph type is found then the method returns 0