Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.plugins.sqlnavigator
Class Syntaxer  view Syntaxer download Syntaxer.java

java.lang.Object
  extended byorg.lucane.plugins.sqlnavigator.Syntaxer

class Syntaxer
extends java.lang.Object

Syntax colorer


Field Summary
(package private)  javax.swing.text.SimpleAttributeSet asKeyword1
           
(package private)  javax.swing.text.SimpleAttributeSet asKeyword2
           
(package private)  javax.swing.text.SimpleAttributeSet asNumber
           
(package private)  javax.swing.text.SimpleAttributeSet asStandard
           
(package private)  javax.swing.text.SimpleAttributeSet asText
           
(package private)  boolean force
           
(package private)  javax.swing.JTextPane jtaQuery
           
(package private)  java.util.Vector keywords1
           
(package private)  java.util.Vector keywords2
           
 
Constructor Summary
Syntaxer(javax.swing.JTextPane jtp)
          Constructor.
 
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
 

Field Detail

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
Constructor Detail

Syntaxer

public Syntaxer(javax.swing.JTextPane jtp)
Constructor.

Method Detail

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