jnyqide
Class WordList

java.lang.Object
  extended by jnyqide.WordList

public class WordList
extends java.lang.Object


Field Summary
static int endPos
           
static javax.swing.JTextPane pane
           
static int startPos
           
static javax.swing.JTextArea textArea
           
static java.util.Map<java.lang.String,java.lang.String> URLLinks
           
static java.util.ArrayList<java.lang.String> words
           
 
Constructor Summary
WordList()
           
 
Method Summary
static void appendSyntaxTip(java.lang.StringBuffer s, java.lang.String word, boolean sal)
           
static void getAllWordsFor(java.lang.String str, java.lang.StringBuffer s, boolean sal)
           
static java.lang.String getlink(java.lang.String word)
           
static void getWordsFor(java.lang.String str, java.lang.StringBuffer s, boolean sal)
           
static void init(javax.swing.JTextArea a)
           
static boolean isKeyword(java.lang.String str)
           
static void printList(java.lang.String str, javax.swing.JTextPane jTextPane, int start, int end, boolean forceExact, boolean sal)
           
static java.lang.String removeChar(java.lang.String word, char c)
           
static void replaceWithTemplate(java.lang.String template)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textArea

public static javax.swing.JTextArea textArea

pane

public static javax.swing.JTextPane pane

startPos

public static int startPos

endPos

public static int endPos

URLLinks

public static java.util.Map<java.lang.String,java.lang.String> URLLinks

words

public static java.util.ArrayList<java.lang.String> words
Constructor Detail

WordList

public WordList()
Method Detail

getlink

public static java.lang.String getlink(java.lang.String word)

init

public static void init(javax.swing.JTextArea a)

removeChar

public static java.lang.String removeChar(java.lang.String word,
                                          char c)

appendSyntaxTip

public static void appendSyntaxTip(java.lang.StringBuffer s,
                                   java.lang.String word,
                                   boolean sal)

getAllWordsFor

public static void getAllWordsFor(java.lang.String str,
                                  java.lang.StringBuffer s,
                                  boolean sal)

isKeyword

public static boolean isKeyword(java.lang.String str)

getWordsFor

public static void getWordsFor(java.lang.String str,
                               java.lang.StringBuffer s,
                               boolean sal)

printList

public static void printList(java.lang.String str,
                             javax.swing.JTextPane jTextPane,
                             int start,
                             int end,
                             boolean forceExact,
                             boolean sal)

replaceWithTemplate

public static void replaceWithTemplate(java.lang.String template)