B C D E F G I J N O R S T U Z

B

beginCompoundEdit() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Used for ReplaceAll.
beginOperation() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
When an operation has began, setChanged() cannot be called.

C

changedUpdate(DocumentEvent) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
When a modification is made in the text, we turn the 'to_be_saved' flag to true.
chooseFile(Component, int) - Static method in class com.chez.powerteam.java.tools.JextTextAreaLite
Display a file chooser dialog box.
clean() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Called after having saved or created a new document to ensure the content isn't 'dirty'.
com.chez.powerteam.java.tools - package com.chez.powerteam.java.tools
 

D

discard() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Discard all edits contained in the UndoManager.

E

endCompoundEdit() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
See beginCompoundEdit().
endOperation() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Calling this will allow the DocumentListener to use setChanged().

F

find(String, int, boolean) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return the result of a string search.

G

getAnchor() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return the anchor position.
getCurrentFile() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return the full path of the opened file.
getFontName() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return current font's name
getFontSize() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return current font's size
getFontStyle() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return current font's style (bold, italic...)
getLength() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return the lentgh of the text in the area.
getLineStartOffset(int) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
This is just to reduce code size of other classes.
getOperation() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return true if we can use the setChanged() method, false otherwise.
getUndo() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Useful for the GUI.

I

insertUpdate(DocumentEvent) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
When a modification is made in the text, we turn the 'to_be_saved' flag to true.
isDirty() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return true if area content has changed, false otherwise.
isEmpty() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return true if area is empty, false otherwise.
isNew() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return true if current text is new, false otherwise.

J

JextTextAreaLite - class com.chez.powerteam.java.tools.JextTextAreaLite.
This component extends a JTextArea.
JextTextAreaLite() - Constructor for class com.chez.powerteam.java.tools.JextTextAreaLite
The constructor add the necessary listeners, set some stuffs (caret color, borers, fonts...).

N

newFile() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Set a new file.

O

OPEN - Static variable in class com.chez.powerteam.java.tools.JextTextAreaLite
This constant defines an open dialog box.
open(String) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Called to load a new file in the text area.

R

removeUpdate(DocumentEvent) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
When a modification is made in the text, we turn the 'to_be_saved' flag to true.
replaceAll(String, String, int, int, boolean) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return the result of a string replace.

S

SAVE - Static variable in class com.chez.powerteam.java.tools.JextTextAreaLite
This constant defines a save dialog box.
save(String) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Store the text in a specified file.
saveContent() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Called to save this component's content.
setAnchor(int) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Set the anchor postion.
setDirty() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Called when the content of the area has changed.
setFontName(String) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Set the font which has to be used.
setFontSize(int) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Set the size of the font.
setFontStyle(int) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Set the style of the font.
showError(String) - Static method in class com.chez.powerteam.java.tools.JextTextAreaLite
Display an error message in a dialog box.
showMessage(String) - Static method in class com.chez.powerteam.java.tools.JextTextAreaLite
Display a sample message in a dialog box.

T

toString() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Return a String representation of this object.

U

undoableEditHappened(UndoableEditEvent) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
When an undoable event is fired, we add it to the undo/redo list.

Z

zip(String) - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Zip text area content into specified file.
zipContent() - Method in class com.chez.powerteam.java.tools.JextTextAreaLite
Called to save current content in specified zip file.

B C D E F G I J N O R S T U Z