|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.ui.code.OWLTextFormatter
public class OWLTextFormatter
A static utility class for JTextComponents with specific features to edit OWL expressions in the compact syntax.
Constructor Summary | |
---|---|
OWLTextFormatter()
|
Method Summary | |
---|---|
static String |
getDisplayString(String str)
|
static String |
getParseableString(String str)
Deprecated. Moved to CompactParserUtil - this method is no longer needed as it will be called by the parser on the fly |
static void |
initKeymap(JTextComponent textComponent)
|
static void |
updateDisplay(OWLClassDisplay display)
|
static void |
updateSyntax(JTextComponent textComponent)
Replaces all occurences of special symbols with the corresponding unicode symbols. |
static void |
updateSyntax(JTextComponent textComponent,
OWLModel owlModel)
Replaces all occurences of special symbols with the corresponding unicode symbols. |
static void |
updateSyntax(JTextComponent textComponent,
OWLModel owlModel,
Map smap)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWLTextFormatter()
Method Detail |
---|
public static void updateDisplay(OWLClassDisplay display)
public static String getDisplayString(String str)
public static String getParseableString(String str)
public static void initKeymap(JTextComponent textComponent)
public static void updateSyntax(JTextComponent textComponent)
public static void updateSyntax(JTextComponent textComponent, OWLModel owlModel)
public static void updateSyntax(JTextComponent textComponent, OWLModel owlModel, Map smap)
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |