kaos.kpat.gui.util
Class ClassBuilderUtils
java.lang.Object
kaos.kpat.gui.util.ClassBuilderUtils
public abstract class ClassBuilderUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ClassBuilderUtils
public ClassBuilderUtils()
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)