java.lang.Object
org.lucane.plugins.sqlnavigator.Syntaxer
- class Syntaxer
- extends java.lang.Object
Syntax colorer
|
Method Summary |
private void |
colorize()
Colorize the current word |
private void |
forceColorize()
Colorize the whole query |
void |
forcing()
Set a flag forcing the complete coloring of all the query |
private void |
initKeyWords()
Initialize keyword list
keywords1 : language
keywords2 : stantard functions |
void |
start()
Start colorization |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
asKeyword1
javax.swing.text.SimpleAttributeSet asKeyword1
asKeyword2
javax.swing.text.SimpleAttributeSet asKeyword2
asNumber
javax.swing.text.SimpleAttributeSet asNumber
asText
javax.swing.text.SimpleAttributeSet asText
asStandard
javax.swing.text.SimpleAttributeSet asStandard
keywords1
java.util.Vector keywords1
keywords2
java.util.Vector keywords2
jtaQuery
javax.swing.JTextPane jtaQuery
force
boolean force
Syntaxer
public Syntaxer(javax.swing.JTextPane jtp)
- Constructor.
forcing
public void forcing()
- Set a flag forcing the complete coloring of all the query
initKeyWords
private void initKeyWords()
- Initialize keyword list
keywords1 : language
keywords2 : stantard functions
forceColorize
private void forceColorize()
- Colorize the whole query
colorize
private void colorize()
- Colorize the current word
start
public void start()
- Start colorization