kaos.kpat.gui.util
Class ClassBuilderUtils

java.lang.Object
  extended by kaos.kpat.gui.util.ClassBuilderUtils

public abstract class ClassBuilderUtils
extends java.lang.Object


Field Summary
static java.lang.String HAS_CLASS_STRING
           
static java.lang.String TO_CLASS_STRING
           
 
Constructor Summary
ClassBuilderUtils()
           
 
Method Summary
static void centerDialog(javax.swing.JDialog dialog)
           
static java.lang.String checkXMLName(java.lang.String name)
          checks to see if a string is a valid XML name returns an error message, or null if there was no error
static java.awt.Font getBoldFontForComponent(java.awt.Component c)
           
static java.awt.Frame getFrameForComponent(java.awt.Component c)
           
static int getHTMLFontSizeIndex(int pointSize)
           
static java.lang.String getHTMLRegex(java.lang.String regex)
           
static java.lang.String getHypertextStringForSchema(XMLSchemaBuilderImpl schema)
           
static java.lang.String getHypertextStringForSchema(XMLSchemaBuilderImpl schema, boolean isFunctionalProperty)
           
static java.awt.Dialog getParentDialog(java.awt.Component c)
           
static java.lang.String getRVMStrForRole(java.lang.String role, KAoSRoleValueMap map)
           
static java.lang.String getStringForSchema(XMLSchemaBuilderImpl schema)
           
static java.util.Vector<OntClassPropertyDescription> getTCDs(OntologyService ontServ, java.lang.String targetClassName)
           
static javax.swing.JTextArea getWrappingLabel()
           
static void setBoldFont(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TO_CLASS_STRING

public static final java.lang.String TO_CLASS_STRING
See Also:
Constant Field Values

HAS_CLASS_STRING

public static final java.lang.String HAS_CLASS_STRING
See Also:
Constant Field Values
Constructor Detail

ClassBuilderUtils

public ClassBuilderUtils()
Method Detail

getBoldFontForComponent

public static java.awt.Font getBoldFontForComponent(java.awt.Component c)

setBoldFont

public static void setBoldFont(java.awt.Component c)

getHTMLFontSizeIndex

public static int getHTMLFontSizeIndex(int pointSize)

getWrappingLabel

public static javax.swing.JTextArea getWrappingLabel()

getTCDs

public static java.util.Vector<OntClassPropertyDescription> getTCDs(OntologyService ontServ,
                                                                    java.lang.String targetClassName)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

getRVMStrForRole

public static java.lang.String getRVMStrForRole(java.lang.String role,
                                                KAoSRoleValueMap map)

getHypertextStringForSchema

public static java.lang.String getHypertextStringForSchema(XMLSchemaBuilderImpl schema)

getHypertextStringForSchema

public static java.lang.String getHypertextStringForSchema(XMLSchemaBuilderImpl schema,
                                                           boolean isFunctionalProperty)

getHTMLRegex

public static java.lang.String getHTMLRegex(java.lang.String regex)

getStringForSchema

public static java.lang.String getStringForSchema(XMLSchemaBuilderImpl schema)

checkXMLName

public static java.lang.String checkXMLName(java.lang.String name)
checks to see if a string is a valid XML name returns an error message, or null if there was no error


centerDialog

public static void centerDialog(javax.swing.JDialog dialog)

getParentDialog

public static java.awt.Dialog getParentDialog(java.awt.Component c)

getFrameForComponent

public static java.awt.Frame getFrameForComponent(java.awt.Component c)