A B C D E F G H I J L M N P R S T V W Y

A

add(T) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
add(int, T) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
add(T) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
add(int, T) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
add(L) - Method in class com.cburch.editor.util.WeakEventSupport
Adds a weak reference to the given listener into our list.
addAll(Collection<? extends T>) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
addAll(int, Collection<? extends T>) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
addAll(Collection<? extends T>) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
addAll(int, Collection<? extends T>) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
addPropertyChangeListener(PropertyChangeListener) - Method in class com.cburch.editor.DirtyTracker
 
addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.cburch.editor.DirtyTracker
 
addTokenizerListener(TokenizerListener, boolean) - Method in class com.cburch.editor.tokens.Tokenizer
Adds a listener to be notified whenever the token list has been changed.
ANCHOR - Static variable in class com.cburch.editor.scanners.HtmlScanner
lexical states
AutoIndent - Class in com.cburch.editor
Handles the automatic indentation as the user types.
AutoIndent(Editor, TokenType, TokenType, char) - Constructor for class com.cburch.editor.AutoIndent
Constructs automatic indentation for the given editor.

B

BasicToken - Class in com.cburch.editor.tokens
Represents a token in the stream, holding minimal information necessary for the tokenizer to work.
BasicToken(Position, String) - Constructor for class com.cburch.editor.tokens.BasicToken
Constructs a token with the given information.
BracketMatcher - Class in com.cburch.editor
Handles parenthesis matching, both in highlighting unmatched parentheses and in displaying the matches of the parenthesis under the caret.
BracketMatcher(Editor, TokenType, TokenType, String) - Constructor for class com.cburch.editor.BracketMatcher
Constructs a matcher for a particular editor.

C

clear() - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
clear() - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
close() - Method in class com.cburch.editor.util.DocumentReader
Does nothing.
com.cburch.editor - package com.cburch.editor
Contains the most useful library classes for incorporating a programmer's editor (the Editor class) into a larger program.
com.cburch.editor.demo - package com.cburch.editor.demo
This set of classes implements a minimal programmer's text editor, incorporating all of the features found in the com.cburch.editor package.
com.cburch.editor.scanners - package com.cburch.editor.scanners
Contains classes implementing the Scanner interface to allow support for different file types.
com.cburch.editor.tokens - package com.cburch.editor.tokens
Contains Tokenizer and related classes for tracking the sequence of tokens in a document.
com.cburch.editor.util - package com.cburch.editor.util
Contains general-purpose classes used by other packages in the editor class.
contains(Object) - Method in class com.cburch.editor.tokens.TokenList
 
containsAll(Collection<?>) - Method in class com.cburch.editor.tokens.TokenList
 
containsAttribute(String) - Method in class com.cburch.editor.scanners.HtmlTag
Returns true if this tag mentions the requested attribute.
create(String) - Static method in class com.cburch.editor.scanners.HtmlTag
Generates a tag containing all the data encapsulated in the given HTML string.
createDummy(int) - Static method in class com.cburch.editor.util.Positions
Creates and returns a Position object that is not associated with any Document.

D

DirtyTracker - Class in com.cburch.editor
Tracks whether there have been any changes to a document.
DirtyTracker(Document) - Constructor for class com.cburch.editor.DirtyTracker
Constructs a tracker to determine when the document has changed.
DocumentReader - Class in com.cburch.editor.util
A reader interface for a document.
DocumentReader(Document) - Constructor for class com.cburch.editor.util.DocumentReader
Constructs a reader for the given document.

E

Editor - Class in com.cburch.editor
Implements a text editor for which various features common to high-quality text editors can be installed.
Editor() - Constructor for class com.cburch.editor.Editor
Constructs an empty text editor.
EditorPanel - Class in com.cburch.editor
A component that places an editor within a scroll pane, with line numbers installed.
EditorPanel() - Constructor for class com.cburch.editor.EditorPanel
Constructs a panel containing an uninitialized editor.
EditorPanel(Editor) - Constructor for class com.cburch.editor.EditorPanel
Constructs a panel containing the given editor.
equals(Object) - Method in class com.cburch.editor.Token
 
equals(Object) - Method in class com.cburch.editor.tokens.BasicToken
Compares this token with the parameter.

F

forKeyword(String) - Static method in enum com.cburch.editor.scanners.JavaTokenType
Returns the token type corresponding to this word-like string, which should be either an identifier, a keyword, or reserved word.
fromOffset(int) - Method in class com.cburch.editor.LineNumbers
The line number where the given offset is located within the document.

G

get(int) - Method in class com.cburch.editor.tokens.TokenList
 
getAbbreviatedText(int) - Method in class com.cburch.editor.tokens.BasicToken
Returns a formatted string, abbreviated to the given length, with any line breaks replaced with "\n." As an example of the abbreviation, the text veryLargeIdentifierName would be abbreviated to veryLa..me if maxLength were 10.
getAttribute(String) - Method in class com.cburch.editor.scanners.HtmlTag
Returns the value associated with the attribute, or null if the attribute was not mentioned or was mentioned with no corresponding value (as in "<INPUT READONLY>").
getAttributeSet() - Method in enum com.cburch.editor.scanners.HtmlTokenType
Return the style in which tokens of this type should be drawn.
getAttributeSet() - Method in enum com.cburch.editor.scanners.JavaTokenType
Return the style in which tokens of this type should be drawn.
getAttributeSet() - Method in class com.cburch.editor.Token
Returns the style in which this token should be drawn.
getAttributeSet() - Method in interface com.cburch.editor.TokenType
The style associated with this category of token.
getBeginOffset() - Method in class com.cburch.editor.tokens.BasicToken
Returns the offset where this token's first character is currently located within its document.
getComparator() - Static method in class com.cburch.editor.util.Positions
Returns a comparator that compares two positions' offsets.
getData() - Method in class com.cburch.editor.Token
Retrieves the data associated with this token.
getDescriptor() - Method in enum com.cburch.editor.scanners.HtmlTokenType
Returns a terse description of what sort of token this corresponds to.
getDescriptor() - Method in enum com.cburch.editor.scanners.JavaTokenType
Returns a terse description of what sort of token this corresponds to.
getDocument() - Method in class com.cburch.editor.tokens.Tokenizer
Returns the document currently tracked by this tokenizer.
getDocument() - Method in class com.cburch.editor.util.DocumentReader
Returns the document underlying this DocumentReader.
getEditor() - Method in class com.cburch.editor.EditorPanel
Returns the editor currently within this panel.
getEndOffset() - Method in class com.cburch.editor.tokens.BasicToken
Returns the current offset of the first character following this token within its document.
getEndPosition() - Method in class com.cburch.editor.tokens.BasicToken
Returns the position within the document just past this token.
getError() - Method in class com.cburch.editor.scanners.HtmlTag
Returns an error message explaining any problems with the HTML tag, or null if the HTML tag appears to be valid.
getErrorMessage() - Method in class com.cburch.editor.Token
Retrieves the error mesage associated with this token.
getFirstLine() - Method in class com.cburch.editor.LineNumbers
Returns the number currently associated with the first line of the document.
getFromIndex() - Method in class com.cburch.editor.tokens.TokenizerEvent
Returns the index of the token list where the modifications begin.
getIndexContaining(int) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the token that includes the given offset, or -1 if no token includes that offset.
getIndexContaining(Position) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the token that includes the given position, or -1 if no token includes that position.
getIndexEndingBefore(int) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the first token that ends at or before the given offset.
getIndexEndingBefore(Position) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the first token that ends at or before the given position.
getIndexStartingAfter(int) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the first token that begins at or after the given offset.
getIndexStartingAfter(Position) - Method in class com.cburch.editor.tokens.TokenList
Returns the index of the first token that begins at or after the given position.
getJScrollPane() - Method in class com.cburch.editor.EditorPanel
Returns the scroll pane wrapped around the editor.
getLength() - Method in class com.cburch.editor.tokens.BasicToken
Returns the number of characters in this token.
getLineNumbers() - Method in class com.cburch.editor.EditorPanel
Returns the line-numbering object associated with the editor.
getName() - Method in class com.cburch.editor.scanners.HtmlTag
Returns the name within the tag, normalized to be in all capital letters.
getNewTokens() - Method in class com.cburch.editor.tokens.TokenizerEvent
Returns a segment of the list of tokens, all of which were inserted to the list at the given location.
getOldTokens() - Method in class com.cburch.editor.tokens.TokenizerEvent
Returns a segment of the list of tokens, all of which were removed from the list.
getScanner() - Method in class com.cburch.editor.Editor
Returns the scanner currently associated with this editor.
getScanner() - Method in class com.cburch.editor.tokens.Tokenizer
Returns the scanner used for finding tokens.
getScrollableTracksViewportWidth() - Method in class com.cburch.editor.Editor
Overrides JTextPane's method so that we can disable word-wrapping.
getSource() - Method in class com.cburch.editor.tokens.TokenizerEvent
Returns the tokenizer that performed the modification.
getText() - Method in class com.cburch.editor.tokens.BasicToken
Returns the underlying text that this token represents.
getTokenizer() - Method in class com.cburch.editor.Editor
Returns the tokenizer used to track the tokens that exist in the document.
getTokenList() - Method in class com.cburch.editor.tokens.Tokenizer
Returns the list of tokens that always holds the current list as maintained by this document.
getToolTipText(MouseEvent) - Method in class com.cburch.editor.Editor
Overrides JComponent's getToolTipText method so that we can potentially display error messages.
getType() - Method in class com.cburch.editor.Token
Returns the category associated with this token.

H

hashCode() - Method in class com.cburch.editor.tokens.BasicToken
 
HtmlScanner - Class in com.cburch.editor.scanners
This class is a scanner generated by JFlex 1.4.1 on 7/5/05 8:15 AM from the specification file HtmlScanner.lex
HtmlScanner() - Constructor for class com.cburch.editor.scanners.HtmlScanner
Constructs an HtmlScanner reading a null document.
HtmlScanner(Reader) - Constructor for class com.cburch.editor.scanners.HtmlScanner
Creates a new scanner There is also a java.io.InputStream version of this constructor.
HtmlScanner(InputStream) - Constructor for class com.cburch.editor.scanners.HtmlScanner
Creates a new scanner.
HtmlTag - Class in com.cburch.editor.scanners
Represents the information contained within a tag in an HTML document.
HtmlTokenType - Enum in com.cburch.editor.scanners
Defines the different categories of tokens that might be encountered in an HTML file.

I

indexOf(Object) - Method in class com.cburch.editor.tokens.TokenList
 
isCaretMatchHighlighted() - Method in class com.cburch.editor.BracketMatcher
Returns true if the editor should display the bracket matching the bracket underneath the caret.
isDeprecated() - Method in class com.cburch.editor.scanners.HtmlTag
Returns true if the HTML tag is deprecated in HTML 4.01.
isDirty() - Method in class com.cburch.editor.DirtyTracker
Returns true if the document has changed since setDirty(false) was last called.
isDirtyProperty - Static variable in class com.cburch.editor.DirtyTracker
The property associated with the dirtiness currently tracked.
isEmpty() - Method in class com.cburch.editor.tokens.TokenList
 
isEmpty() - Method in class com.cburch.editor.util.WeakEventSupport
Says whether the list currently contains any elements that have not been collected out.
isEnabled() - Method in class com.cburch.editor.AutoIndent
Returns true the automatic indentation is currently enabled.
isEnabled() - Method in class com.cburch.editor.DirtyTracker
Returns true if this tracker is currently enabled.
isEnabled() - Method in class com.cburch.editor.SyntaxHighlighter
Returns true if syntax highlighting is enabled.
isEnabled() - Method in class com.cburch.editor.tokens.Tokenizer
Indicates whether the tokenizer is currently enabled.
isEndTag() - Method in class com.cburch.editor.scanners.HtmlTag
Returns true if this tag ends its element.
isErrorToolTipsEnabled() - Method in class com.cburch.editor.Editor
Returns true if the editor is configured to display tool tips when the mouse hovers over a token with an associated error message.
isKnown() - Method in class com.cburch.editor.scanners.HtmlTag
Returns true if the HTML tag is defined in the HTML 4.01 standard.
isLineNumbersVisible() - Method in class com.cburch.editor.EditorPanel
Returns true if the line numbers are currently being shown.
isStartTag() - Method in class com.cburch.editor.scanners.HtmlTag
Returns true if this tag starts its element.
isUnmatchedHighlighted() - Method in class com.cburch.editor.BracketMatcher
Returns true if unmatched brackets should be highlighted as "errors."
iterator() - Method in class com.cburch.editor.tokens.MutableTokenList
 
iterator() - Method in class com.cburch.editor.tokens.TokenList
 
iterator() - Method in class com.cburch.editor.util.WeakEventSupport
Returns an iterator for stepping through the active listeners of the list.

J

JavaScanner - Class in com.cburch.editor.scanners
This class is a scanner generated by JFlex 1.4.1 on 7/5/05 8:15 AM from the specification file JavaScanner.lex
JavaScanner() - Constructor for class com.cburch.editor.scanners.JavaScanner
Constructs a JavaScanner reading a null document.
JavaScanner(Reader) - Constructor for class com.cburch.editor.scanners.JavaScanner
Creates a new scanner There is also a java.io.InputStream version of this constructor.
JavaScanner(InputStream) - Constructor for class com.cburch.editor.scanners.JavaScanner
Creates a new scanner.
JavaTokenType - Enum in com.cburch.editor.scanners
Defines the different categories of tokens that might be encountered in Java source code.

L

lastIndexOf(Object) - Method in class com.cburch.editor.tokens.TokenList
 
LineNumbers - Class in com.cburch.editor
Tracks the lines within a document, and enables them to be displayed along with the document.
LineNumbers(JTextComponent) - Constructor for class com.cburch.editor.LineNumbers
Constructs a line-numbering object for the given text component.
listIterator() - Method in class com.cburch.editor.tokens.MutableTokenList
 
listIterator(int) - Method in class com.cburch.editor.tokens.MutableTokenList
 
listIterator() - Method in class com.cburch.editor.tokens.TokenList
 
listIterator(int) - Method in class com.cburch.editor.tokens.TokenList
 

M

Main - Class in com.cburch.editor.demo
Shows a window that demonstrates all of the capabilities of the com.cburch.editor package.
Main() - Constructor for class com.cburch.editor.demo.Main
Constructs a new window containing the editor.
main(String[]) - Static method in class com.cburch.editor.demo.Main
Displays the editor window and leaves it for the user to interact with.
mark(int) - Method in class com.cburch.editor.util.DocumentReader
Saves the current position for reset.
markSupported() - Method in class com.cburch.editor.util.DocumentReader
Returns true, since this reader supports mark and reset.
MutableTokenList<T extends BasicToken> - Class in com.cburch.editor.tokens
Maintains a list of tokens, just as with TokenList, except that modifications are allowed here.
MutableTokenList() - Constructor for class com.cburch.editor.tokens.MutableTokenList
Constructs an empty list of tokens.
MutableTokenList(List<? extends T>) - Constructor for class com.cburch.editor.tokens.MutableTokenList
Constructs a list of tokens initially holding the given values.

N

nextToken() - Method in interface com.cburch.editor.Scanner
Returns the next token found on the input stream, or null if there are no more tokens left.
nextToken() - Method in class com.cburch.editor.scanners.HtmlScanner
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
nextToken() - Method in class com.cburch.editor.scanners.JavaScanner
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.

P

paintComponent(Graphics) - Method in class com.cburch.editor.LineNumbers
Overrides JViewport's paintComponent method so that we can draw the line numbers appropriately.
Positions - Class in com.cburch.editor.util
This class is a collection exclusively of class members that are helpful in dealing with javax.swing.text's Position class.

R

rangeReplaced(TokenizerEvent<T>) - Method in interface com.cburch.editor.tokens.TokenizerListener
Called whenever a tokenizer modifies the list of tokens for which it is responsible.
read() - Method in class com.cburch.editor.util.DocumentReader
Reads a single character and advances the internal cursor one step forward.
read(char[]) - Method in class com.cburch.editor.util.DocumentReader
Reads and fills the given buffer.
read(char[], int, int) - Method in class com.cburch.editor.util.DocumentReader
Reads and fills the buffer.
ready() - Method in class com.cburch.editor.util.DocumentReader
Returns true since the Document is always available for reading.
remove(int) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
remove(Object) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
remove(int) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
remove(Object) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
remove(L) - Method in class com.cburch.editor.util.WeakEventSupport
Removes the given listener from our list.
removeAll(Collection<?>) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
removeAll(Collection<?>) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
removePropertyChangeListener(PropertyChangeListener) - Method in class com.cburch.editor.DirtyTracker
 
removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.cburch.editor.DirtyTracker
 
removeTokenizerListener(TokenizerListener) - Method in class com.cburch.editor.tokens.Tokenizer
Removes the designated listener from being notified, whether it is synchronous or asynchronous.
replace(int, int, List<T>) - Method in class com.cburch.editor.tokens.MutableTokenList
Replaces a range of the list with a different list instead.
reset(Reader, T) - Method in interface com.cburch.editor.Scanner
Resets the scanner to its state just after reading the given token from the given reader.
reset(Reader) - Method in interface com.cburch.editor.Scanner
Closes the current input stream, and resets the scanner to read from a new input stream.
reset(Reader, Token) - Method in class com.cburch.editor.scanners.HtmlScanner
 
reset(Reader) - Method in class com.cburch.editor.scanners.HtmlScanner
 
reset(Reader, Token) - Method in class com.cburch.editor.scanners.JavaScanner
 
reset(Reader) - Method in class com.cburch.editor.scanners.JavaScanner
 
reset() - Method in class com.cburch.editor.util.DocumentReader
Resets this reader to the last mark, or to the document's beginning if a mark has not been set.
retainAll(Collection<?>) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
retainAll(Collection<?>) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.

S

Scanner<T> - Interface in com.cburch.editor
The interface that any scanner associated with an editor should implement.
seek(long) - Method in class com.cburch.editor.util.DocumentReader
Seeks to the given position in the document.
set(int, T) - Method in class com.cburch.editor.tokens.MutableTokenList
Implemented as defined in the List interface.
set(int, T) - Method in class com.cburch.editor.tokens.TokenList
Unsupported operation.
setCaretMatchHighlighted(boolean) - Method in class com.cburch.editor.BracketMatcher
Controls whether the matcher will display the bracket matching the bracket underneath the caret.
setData(Object) - Method in class com.cburch.editor.Token
Sets the data value associated with this token.
setDirty(boolean) - Method in class com.cburch.editor.DirtyTracker
Sets the "dirtiness" state we use for the document.
setDocument(Document) - Method in class com.cburch.editor.DirtyTracker
Sets the document that we are tracking.
setDocument(Document) - Method in class com.cburch.editor.Editor
Overrides JTextPane's setDocument method so that we can adapt the tokenizer to work with the newly current document instead.
setDocument(Document) - Method in class com.cburch.editor.tokens.Tokenizer
Changes which document whose tokens should be tracked.
setEditor(Editor) - Method in class com.cburch.editor.EditorPanel
Changes the editor currently within this panel.
setEnabled(boolean) - Method in class com.cburch.editor.AutoIndent
Controls whether the indentation takes place.
setEnabled(boolean) - Method in class com.cburch.editor.DirtyTracker
Enables or disables the tracking.
setEnabled(boolean) - Method in class com.cburch.editor.SyntaxHighlighter
Changes the enable/disable status of this syntax highlighter.
setEnabled(boolean) - Method in class com.cburch.editor.tokens.Tokenizer
Enables or disables the tokenizer.
setErrorMessage(String) - Method in class com.cburch.editor.Token
Sets the error message associated with this token.
setErrorToolTipsEnabled(boolean) - Method in class com.cburch.editor.Editor
Configures whether the editor should display tool tips when the mouse hovers over a token with an associated error message.
setFirstLine(int) - Method in class com.cburch.editor.LineNumbers
Changes the number associated with the document's first line.
setJTextComponent(JTextComponent) - Method in class com.cburch.editor.LineNumbers
Configures which text component's line numbers we should track.
setLineNumbersVisible(boolean) - Method in class com.cburch.editor.EditorPanel
Configures whether the line numbers should be displayed.
setScanner(Scanner<? extends Token>) - Method in class com.cburch.editor.Editor
Changes the scanner used for breaking the editor into tokens.
setScanner(Scanner<? extends T>) - Method in class com.cburch.editor.tokens.Tokenizer
Changes the scanner used for finding tokens.
setSize(Dimension) - Method in class com.cburch.editor.Editor
Overrides JTextPane's method so that we can disable word-wrapping.
setUnmatchedHighlighted(boolean) - Method in class com.cburch.editor.BracketMatcher
Controls whether the matcher will highlight unmatched brackets.
setViewPosition(Point) - Method in class com.cburch.editor.LineNumbers
Overrides JViewport's setViewPosition method so that we can track the top of the viewport.
size() - Method in class com.cburch.editor.tokens.TokenList
 
size() - Method in class com.cburch.editor.util.WeakEventSupport
Returns the number of active listeners in the list.
skip(long) - Method in class com.cburch.editor.util.DocumentReader
Skips past characters in the document.
subList(int, int) - Method in class com.cburch.editor.tokens.MutableTokenList
 
subList(int, int) - Method in class com.cburch.editor.tokens.TokenList
 
SyntaxHighlighter - Class in com.cburch.editor
Handles coloring tokens according to their corresponding styles.
SyntaxHighlighter(Editor) - Constructor for class com.cburch.editor.SyntaxHighlighter
Constructs a SyntaxHighlighter for the given editor.

T

toArray() - Method in class com.cburch.editor.tokens.TokenList
 
toArray(T[]) - Method in class com.cburch.editor.tokens.TokenList
 
Token - Class in com.cburch.editor
Represents a token with an associated category.
Token(TokenType, Position, String) - Constructor for class com.cburch.editor.Token
Constructs a token with the given information.
Token(TokenType, Position, String, Object) - Constructor for class com.cburch.editor.Token
Constructs a token with the given information.
Tokenizer<T extends BasicToken> - Class in com.cburch.editor.tokens
The class that implements the basic functionality behind tracking the tokens within a document and notifying other classes about the changes.
Tokenizer() - Constructor for class com.cburch.editor.tokens.Tokenizer
Constructs a Tokenizer for a null scanner and document.
Tokenizer(Document, Scanner<? extends T>) - Constructor for class com.cburch.editor.tokens.Tokenizer
Constructs a Tokenizer for the given document and scanner.
TokenizerEvent<T extends BasicToken> - Class in com.cburch.editor.tokens
Describes information about a modification to the list of tokens maintained by the tokenizer.
TokenizerEvent(Tokenizer<T>, int, List<T>, List<T>) - Constructor for class com.cburch.editor.tokens.TokenizerEvent
Constructs a description of a modification to a tokenizer's list of tokens.
TokenizerListener<T extends BasicToken> - Interface in com.cburch.editor.tokens
The interface that classes can implement in order to listen to modifications made to the list of tokens maintained by a tokenizer.
TokenList<T extends BasicToken> - Class in com.cburch.editor.tokens
Maintains the list of tokens.
TokenType - Interface in com.cburch.editor
An interface that any token category must implement.
toOffset(int) - Method in class com.cburch.editor.LineNumbers
The offset of the first character in the given line.
toString() - Method in class com.cburch.editor.Token
 
toString() - Method in class com.cburch.editor.tokens.BasicToken
 

V

valueOf(String) - Static method in enum com.cburch.editor.scanners.HtmlTokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.cburch.editor.scanners.JavaTokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.cburch.editor.scanners.HtmlTokenType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum com.cburch.editor.scanners.JavaTokenType
Returns an array containing the constants of this enum type, in the order they're declared.
VERSION - Static variable in class com.cburch.editor.demo.Main
Contains the version number for this program.

W

WeakEventSupport<L> - Class in com.cburch.editor.util
This class provides methods to support objects that may have listeners that do not persist for the lifetime of the object.
WeakEventSupport() - Constructor for class com.cburch.editor.util.WeakEventSupport
Constructs an empty list of listeners.

Y

yybegin(int) - Method in class com.cburch.editor.scanners.HtmlScanner
Enters a new lexical state
yybegin(int) - Method in class com.cburch.editor.scanners.JavaScanner
Enters a new lexical state
yycharat(int) - Method in class com.cburch.editor.scanners.HtmlScanner
Returns the character at position pos from the matched text.
yycharat(int) - Method in class com.cburch.editor.scanners.JavaScanner
Returns the character at position pos from the matched text.
yyclose() - Method in class com.cburch.editor.scanners.HtmlScanner
Closes the input stream.
yyclose() - Method in class com.cburch.editor.scanners.JavaScanner
Closes the input stream.
YYEOF - Static variable in class com.cburch.editor.scanners.HtmlScanner
This character denotes the end of file
YYEOF - Static variable in class com.cburch.editor.scanners.JavaScanner
This character denotes the end of file
YYINITIAL - Static variable in class com.cburch.editor.scanners.HtmlScanner
 
YYINITIAL - Static variable in class com.cburch.editor.scanners.JavaScanner
lexical states
yylength() - Method in class com.cburch.editor.scanners.HtmlScanner
Returns the length of the matched text region.
yylength() - Method in class com.cburch.editor.scanners.JavaScanner
Returns the length of the matched text region.
yypushback(int) - Method in class com.cburch.editor.scanners.HtmlScanner
Pushes the specified amount of characters back into the input stream.
yypushback(int) - Method in class com.cburch.editor.scanners.JavaScanner
Pushes the specified amount of characters back into the input stream.
yyreset(Reader) - Method in class com.cburch.editor.scanners.HtmlScanner
Resets the scanner to read from a new input stream.
yyreset(Reader) - Method in class com.cburch.editor.scanners.JavaScanner
Resets the scanner to read from a new input stream.
yystate() - Method in class com.cburch.editor.scanners.HtmlScanner
Returns the current lexical state.
yystate() - Method in class com.cburch.editor.scanners.JavaScanner
Returns the current lexical state.
yytext() - Method in class com.cburch.editor.scanners.HtmlScanner
Returns the text matched by the current regular expression.
yytext() - Method in class com.cburch.editor.scanners.JavaScanner
Returns the text matched by the current regular expression.

A B C D E F G H I J L M N P R S T V W Y