| java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent org.gjt.sp.jedit.textarea.TextArea
All known Subclasses: org.gjt.sp.jedit.textarea.JEditTextArea,
TextArea | public class TextArea extends JComponent (Code) | | jEdit's text component.
Unlike most other text editors, the selection API permits selection and
concurrent manipulation of multiple, non-contiguous regions of text.
Methods in this class that deal with selecting text rely upon classes derived
the
Selection class.
author: Slava Pestov author: John Gellene (API documentation) version: $Id: JEditTextArea.java 7148 2006-09-29 23:09:06 +0200 (ven., 29 sept. 2006) kpouer $ |
Inner Class :static class RectParams | |
Inner Class :class MutableCaretEvent extends CaretEvent | |
Method Summary | |
void | _finishCaretUpdate() | final public void | addCaretListener(CaretListener listener) Adds a caret change listener to this text area. | public void | addExplicitFold() Surrounds the selection with explicit fold markers. | protected int | addExplicitFold(int caretStart, int caretEnd, int lineStart, int lineEnd) Add an explicit fold. | public void | addLeftOfScrollBar(Component comp) Adds a component to the box left of the vertical scroll bar. | public void | addNotify() Called by the AWT when this component is added to a parent. | final public void | addScrollListener(ScrollListener listener) Adds a scroll listener to this text area. | final public void | addStatusListener(StatusListener listener) Adds a scroll listener to this text area. | public void | addStructureMatcher(StructureMatcher matcher) Adds a structure matcher. | public void | addToSelection(Selection[] selection) Adds to the selection. | public void | addToSelection(Selection selection) Adds to the selection. | public void | addTopComponent(Component comp) Adds a component above the gutter, text area, and vertical scroll bar. | public void | backspace() Deletes the character before the caret, or the selection, if one is
active. | public void | backspaceWord() Deletes the word before the caret. | public void | backspaceWord(boolean eatWhitespace) Deletes the word before the caret. | final public void | blinkCaret() Blinks the caret. | public boolean | caretAutoScroll() Return if change in buffer should scroll this text area. | public void | centerCaret() Centers the caret on the screen. | public void | collapseFold() Like
DisplayManager.collapseFold(int) , but
also moves the caret to the first line of the fold. | public void | collapseFold(int line) Like
DisplayManager.collapseFold(int) , but
also moves the caret to the first line of the fold. | public void | delete() Deletes the character after the caret. | public void | deleteLine() Deletes the line containing the caret. | public void | deleteParagraph() Deletes the paragraph containing the caret. | public void | deleteToEndOfLine() Deletes from the caret to the end of the current line. | public void | deleteToStartOfLine() Deletes from the caret to the beginning of the current line. | public void | deleteWord() Deletes the word in front of the caret. | public void | deleteWord(boolean eatWhitespace) Deletes the word in front of the caret. | public void | dispose() Plugins and macros should not call this method. | protected boolean | doWordWrap(boolean spaceInserted) Does hard wrap. | public void | expandFold(boolean fully) Like
DisplayManager.expandFold(intboolean) , but
also moves the caret to the first sub-fold. | public void | extendSelection(int offset, int end) Extends the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. | public void | extendSelection(int offset, int end, int extraStartVirt, int extraEndVirt) Extends the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. | void | fireNarrowActive() | void | foldStructureChanged() | public void | formatParagraph() Formats the paragraph containing the caret. | final public JEditBuffer | getBuffer() Returns the buffer this text area is editing. | final public int | getBufferLength() Returns the length of the buffer. | public int | getCaretLine() Returns the line number containing the caret. | public int | getCaretPosition() Returns a zero-based index of the caret position. | public DisplayManager | getDisplayManager() | final public int | getElectricScroll() | final public int | getFirstLine() Returns the vertical scroll bar position. | final public int | getFirstPhysicalLine() Returns the first visible physical line index. | public boolean | getFocusCycleRoot() Java 1.4 compatibility fix to make Tab traversal work in a sane
manner. | public boolean | getFocusTraversalKeysEnabled() Java 1.4 compatibility fix to make Tab key work. | final public Gutter | getGutter() | final public int | getHorizontalOffset() Returns the horizontal offset of drawn lines. | public AbstractInputHandler | getInputHandler() | public InputMethodRequests | getInputMethodRequests() | public boolean | getJoinNonWordChars() If set, double clicking will join non-word characters to form one "word". | final public int | getLastPhysicalLine() Returns the last visible physical line index. | public int | getLastScreenLine() | final public int | getLineCount() Returns the number of physical lines in the buffer. | public int | getLineEndOffset(int line) Returns the end offset of the specified line. | public int | getLineLength(int line) Returns the length of the specified line. | final public int | getLineOfOffset(int offset) Returns the line containing the specified offset. | public int | getLineStartOffset(int line) Returns the start offset of the specified line. | final public String | getLineText(int lineIndex) Returns the text on the specified line. | final public void | getLineText(int lineIndex, Segment segment) Copies the text on the specified line into a Segment. | public int | getMagicCaretPosition() Returns an internal position used to keep the caret in one
column while moving around lines of varying lengths. | final public int | getMarkLine() | final public int | getMarkPosition() | final public TextAreaPainter | getPainter() Returns the object responsible for painting this text area. | public int | getPhysicalLineOfScreenLine(int screenLine) Returns the physical line number that contains the specified screen
line. | public int | getScreenLineEndOffset(int line) Returns the end offset of the specified screen (wrapped) line. | public int | getScreenLineOfOffset(int offset) Returns the screen (wrapped) line containing the specified offset. | public int | getScreenLineStartOffset(int line) Returns the start offset of the specified screen (wrapped) line. | public int[] | getSelectedLines() Returns a sorted array of line numbers on which a selection or
selections are present.
This method is the most convenient way to iterate through selected
lines in a buffer. | public String | getSelectedText(Selection s) Returns the text in the specified selection. | public String | getSelectedText(String separator) Returns the text in all active selections. | public String | getSelectedText() Returns the text in all active selections, with a newline
between each text chunk. | public Selection[] | getSelection() Returns the current selection. | public Selection | getSelection(int index) Returns the selection with the specified index. | public Selection | getSelectionAtOffset(int offset) Returns the selection containing the specific offset, or null
if there is no selection at that offset. | public int | getSelectionCount() Returns the number of selections. | final public int | getSelectionEnd() | public int | getSelectionEnd(int line) | final public int | getSelectionEndLine() | public Iterator<Selection> | getSelectionIterator() Returns the current selection. | final public int | getSelectionStart() | public int | getSelectionStart(int line) | final public int | getSelectionStartLine() | public StructureMatcher.Match | getStructureMatch() Returns the structure element (bracket, or XML tag, etc) matching the
one before the caret. | final public String | getText(int start, int len) Returns the specified substring of the buffer. | final public void | getText(int start, int len, Segment segment) Copies the specified substring of the buffer into a segment. | public String | getText() Returns the entire text of this text area. | final public int | getVisibleLines() Returns the number of lines visible in this text area. | public void | goToBufferEnd(boolean select) Moves the caret to the end of the buffer. | public void | goToBufferStart(boolean select) Moves the caret to the beginning of the buffer. | public void | goToEndOfLine(boolean select) Moves the caret to the end of the current line. | public void | goToEndOfWhiteSpace(boolean select) Moves the caret to the last non-whitespace character of the current
line. | public void | goToFirstVisibleLine(boolean select) Moves the caret to the first visible line. | public void | goToLastVisibleLine(boolean select) Moves the caret to the last visible line. | public void | goToMatchingBracket() Moves the caret to the bracket matching the one before the caret. | public void | goToNextBracket(boolean select) Moves the caret to the next closing bracket. | public void | goToNextCharacter(boolean select) Moves the caret to the next character. | public void | goToNextFold(boolean select) Moves the caret to the next fold. | public void | goToNextLine(boolean select) Move the caret to the next line. | public void | goToNextPage(boolean select) Moves the caret to the next screenful. | public void | goToNextParagraph(boolean select) Moves the caret to the start of the next paragraph. | public void | goToNextWord(boolean select) Moves the caret to the start of the next word. | public void | goToNextWord(boolean select, boolean eatWhitespace) Moves the caret to the start of the next word. | public void | goToParentFold() Moves the caret to the fold containing the one at the caret
position. | public void | goToPrevBracket(boolean select) Moves the caret to the previous bracket. | public void | goToPrevCharacter(boolean select) Moves the caret to the previous character. | public void | goToPrevFold(boolean select) Moves the caret to the previous fold. | public void | goToPrevLine(boolean select) Moves the caret to the previous line. | public void | goToPrevPage(boolean select) Moves the caret to the previous screenful. | public void | goToPrevParagraph(boolean select) Moves the caret to the start of the previous paragraph. | public void | goToPrevWord(boolean select) Moves the caret to the start of the previous word. | public void | goToPrevWord(boolean select, boolean eatWhitespace) Moves the caret to the start of the previous word. | public void | goToStartOfLine(boolean select) Moves the caret to the beginning of the current line. | public void | goToStartOfWhiteSpace(boolean select) Moves the caret to the first non-whitespace character of the current
line. | public void | indentSelectedLines() Indents all selected lines. | protected void | insert(String str, boolean indent) | public void | insertEnterAndIndent() | public void | insertTabAndIndent() | public void | invalidateLine(int line) Marks a line as needing a repaint. | public void | invalidateLineRange(int start, int end) Marks a range of physical lines as needing a repaint. | public void | invalidateScreenLineRange(int start, int end) Marks a range of screen lines as needing a repaint. | void | invalidateStructureMatch() | final public void | invertSelection() Inverts the selection. | final public boolean | isCaretBlinkEnabled() | final boolean | isCaretVisible() Returns true if the caret is visible, false otherwise. | public boolean | isCtrlForRectangularSelection() If set, CTRL enables rectangular selection mode while pressed. | public boolean | isDragEnabled() Returns if drag and drop of text is enabled. | public boolean | isDragInProgress() Drag and drop of text in jEdit is implementing using jEdit 1.4 APIs,
however since jEdit must run with Java 1.3, this class only has the
necessary support to call a hook method via reflection. | final public boolean | isEditable() Returns true if this text area is editable, false otherwise. | final public boolean | isMultipleSelectionEnabled() Returns if multiple selection is enabled. | final public boolean | isOverwriteEnabled() Returns true if overwrite mode is enabled, false otherwise. | final public boolean | isQuickCopyEnabled() Returns if clicking the middle mouse button pastes the most
recent selection (% register), and if Control-dragging inserts
the selection at the caret. | final public boolean | isRectangularSelectionEnabled() Returns if rectangular selection is enabled. | public boolean | isSelectionRectangular() | final boolean | isStructureHighlightVisible() Returns true if the structure highlight is visible, false otherwise. | public void | joinLines() Joins the current and the next line. | public void | lineComment() Prepends each line of the selection with the line comment string. | public boolean | lineInStructureScope(int line) Returns if the specified line is contained in the currently
matched structure's scope. | public static void | main(String[] args) | public void | moveCaretPosition(int newCaret) Sets the caret position without deactivating the selection. | public void | moveCaretPosition(int newCaret, boolean doElectricScroll) Sets the caret position without deactivating the selection. | public void | moveCaretPosition(int newCaret, int scrollMode) Sets the caret position without deactivating the selection. | public void | narrowToFold() Hides all lines except those in the fold containing the caret. | public void | narrowToSelection() Hides all lines except those in the selection. | public Point | offsetToXY(int offset) Converts an offset into a point in the text area painter's
co-ordinate space. | public Point | offsetToXY(int line, int offset) Converts an offset into a point in the text area painter's
co-ordinate space. | public Point | offsetToXY(int line, int offset, Point retVal) Converts a line,offset pair into an x,y (pixel) point relative to the
upper left corner (0,0) of the text area. | public void | processKeyEvent(KeyEvent evt) | public void | propertiesChanged() Called by jEdit when necessary. | public void | rangeComment() Adds comment start and end strings to the beginning and end of the
selection. | void | recalculateLastPhysicalLine() | void | recalculateVisibleLines() | final public void | removeCaretListener(CaretListener listener) Removes a caret change listener from this text area. | public void | removeFromSelection(Selection sel) Deactivates the specified selection. | public void | removeFromSelection(int offset) Deactivates the selection at the specified offset. | public void | removeLeftOfScrollBar(Component comp) Removes a component from the box left of the vertical scroll bar. | public void | removeNotify() Called by the AWT when this component is removed from it's parent. | final public void | removeScrollListener(ScrollListener listener) Removes a scroll listener from this text area. | final public void | removeStatusListener(StatusListener listener) Removes a scroll listener from this text area. | public void | removeStructureMatcher(StructureMatcher matcher) Removes a structure matcher. | public void | removeTopComponent(Component comp) Removes a component from above the gutter, text area, and vertical scroll bar. | public void | removeTrailingWhiteSpace() Removes trailing whitespace from all lines in the selection. | public int | replaceSelection(String selectedText) Set the selection, but does not deactivate it, and does not move the
caret. | public void | resizeSelection(int offset, int end, int extraEndVirt, boolean rect) Resizes the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. | public void | scrollDownLine() Scrolls down by one line. | public void | scrollDownPage() Scrolls down by one page. | public void | scrollTo(int offset, boolean doElectricScroll) Ensures that the specified location in the buffer is visible. | public void | scrollTo(int line, int offset, boolean doElectricScroll) Ensures that the specified location in the buffer is visible. | public void | scrollToCaret(boolean doElectricScroll) Ensures that the caret is visible by scrolling the text area if
necessary. | public void | scrollUpLine() Scrolls up by one line. | public void | scrollUpPage() Scrolls up by one page. | public void | select(int start, int end) | public void | select(int start, int end, boolean doElectricScroll) | final public void | selectAll() Selects all text in the buffer. | public void | selectBlock() Selects the code block surrounding the caret. | public void | selectFold() Selects the fold that contains the caret line number. | public void | selectFold(int line) Selects the fold that contains the specified line number. | public void | selectLine() Selects the current line. | public void | selectNone() Deselects everything. | public void | selectParagraph() Selects the paragraph at the caret position. | public Selection | selectToMatchingBracket(int position, boolean quickCopy) Selects from the bracket at the specified position to the
corresponding bracket. | public void | selectToMatchingBracket() Selects from the bracket at the caret position to the corresponding
bracket. | public void | selectWord() Selects the word at the caret position. | public void | setBuffer(JEditBuffer buffer) Sets the buffer this text area is editing. | public void | setCaretBlinkEnabled(boolean caretBlinks) Toggles caret blinking. | public void | setCaretPosition(int newCaret) Sets the caret position and deactivates the selection. | public void | setCaretPosition(int newCaret, boolean doElectricScroll) Sets the caret position and deactivates the selection. | public void | setCtrlForRectangularSelection(boolean ctrlForRectangularSelection) If set, CTRL enables rectangular selection mode while pressed. | public void | setDragEnabled(boolean dndEnabled) Sets if drag and drop of text is enabled. | public void | setDragInProgress(boolean dndInProgress) Drag and drop of text in jEdit is implementing using jEdit 1.4 APIs,
however since jEdit must run with Java 1.3, this class only has the
necessary support to call a hook method via reflection. | final public void | setElectricScroll(int electricScroll) | public void | setFirstLine(int firstLine) | public void | setFirstPhysicalLine(int physFirstLine) Sets the vertical scroll bar position. | public void | setFirstPhysicalLine(int physFirstLine, int skew) Sets the vertical scroll bar position. | public void | setHorizontalOffset(int horizontalOffset) Sets the horizontal offset of drawn lines. | public void | setJoinNonWordChars(boolean joinNonWordChars) If set, double clicking will join non-word characters to form one "word". | public void | setMagicCaretPosition(int magicCaret) Sets the `magic' caret position. | public void | setMouseHandler(MouseInputAdapter mouseInputAdapter) | final public void | setMultipleSelectionEnabled(boolean multi) Set multiple selection on or off according to the value of
multi . | final public void | setOverwriteEnabled(boolean overwrite) Sets overwrite mode. | final public void | setQuickCopyEnabled(boolean quickCopy) Sets if clicking the middle mouse button pastes the most
recent selection (% register), and if Control-dragging inserts
the selection at the caret. | final public void | setRectangularSelectionEnabled(boolean rectangularSelectionMode) Set rectangular selection on or off according to the value of
rectangularSelectionMode . | public void | setSelectedText(Selection s, String selectedText) Replaces the selection with the specified text. | public void | setSelectedText(String selectedText) Replaces the selection at the caret with the specified text. | public void | setSelectedText(String selectedText, boolean moveCaret) Replaces the selection at the caret with the specified text. | public void | setSelection(Selection[] selection) Sets the selection. | public void | setSelection(Selection selection) Sets the selection. | final public void | setSelectionEnd(int selectionEnd) | final public void | setSelectionStart(int selectionStart) | public void | setText(String text) Sets the entire text of this text area. | public void | setTransferHandler(TransferHandler newHandler) | public void | shiftIndentLeft() Shifts the indent to the left. | public void | shiftIndentRight() Shifts the indent to the right. | public void | smartEnd(boolean select) On subsequent invocations, first moves the caret to the last
non-whitespace character of the line, then the end of the
line, then to the last visible line. | public void | smartHome(boolean select) On subsequent invocations, first moves the caret to the first
non-whitespace character of the line, then the beginning of the
line, then to the first visible line. | public void | spacesToTabs() Converts spaces to tabs in the selection. | void | startDragAndDrop(InputEvent evt, boolean copy) | public void | tabsToSpaces() Converts tabs to spaces in the selection. | public void | toLowerCase() Converts the selected text to lower case. | public String | toString() | public void | toUpperCase() Converts the selected text to upper case. | final public void | toggleMultipleSelectionEnabled() Toggles multiple selection. | final public void | toggleOverwriteEnabled() Toggles overwrite mode. | final public void | toggleRectangularSelectionEnabled() Toggles rectangular selection. | void | updateMaxHorizontalScrollWidth() | void | updateScrollBar() Updates the state of the scroll bars. | public void | userInput(char ch) Handles the insertion of the specified character. | protected void | userInputTab() | public int | xToScreenLineOffset(int screenLine, int x, boolean round) Converts a point in a given screen line to an offset. | public int | xyToOffset(int x, int y) Converts a point to an offset. | public int | xyToOffset(int x, int y, boolean round) Converts a point to an offset. |
ELECTRIC_SCROLL | final public static int ELECTRIC_SCROLL(Code) | | |
NORMAL_SCROLL | final public static int NORMAL_SCROLL(Code) | | |
NO_SCROLL | final public static int NO_SCROLL(Code) | | |
bufferChanging | boolean bufferChanging(Code) | | |
caret | protected int caret(Code) | | |
caretLine | protected int caretLine(Code) | | |
hardWrap | boolean hardWrap(Code) | | |
lastLinePartial | boolean lastLinePartial(Code) | | |
maxHorizontalScrollWidth | int maxHorizontalScrollWidth(Code) | | |
maxLineLen | int maxLineLen(Code) | | |
multi | protected boolean multi(Code) | | Flag that tells if multiple selection is on.
|
offsetXY | final Point offsetXY(Code) | | Cursor location, measured as an offset (in pixels) from upper left corner
of the TextArea.
|
scrollBarsInitialized | boolean scrollBarsInitialized(Code) | | |
softWrap | boolean softWrap(Code) | | |
wrapMargin | int wrapMargin(Code) | | |
wrapToWidth | boolean wrapToWidth(Code) | | |
TextArea | public TextArea()(Code) | | |
TextArea | public TextArea(boolean insideJEdit)(Code) | | Instantiate a TextArea.
Parameters: insideJEdit - must be set to true if the textarea is embedded in jEdit |
_finishCaretUpdate | void _finishCaretUpdate()(Code) | | |
addCaretListener | final public void addCaretListener(CaretListener listener)(Code) | | Adds a caret change listener to this text area.
Parameters: listener - The listener |
addExplicitFold | public void addExplicitFold() throws TextAreaException(Code) | | Surrounds the selection with explicit fold markers.
since: jEdit 4.0pre3 |
addExplicitFold | protected int addExplicitFold(int caretStart, int caretEnd, int lineStart, int lineEnd)(Code) | | Add an explicit fold.
You should call this method inside a compoundEdit in the buffer.
You must also check if the buffer fold mode is explicit before
calling this method.
Parameters: caretStart - the starting offset Parameters: caretEnd - the end offset Parameters: lineStart - the start line Parameters: lineEnd - the end line since: jEdit 4.3pre3 |
addLeftOfScrollBar | public void addLeftOfScrollBar(Component comp)(Code) | | Adds a component to the box left of the vertical scroll bar. The
ErrorList plugin uses this to show a global error overview, for
example.
Parameters: comp - The component since: jEdit 4.2pre1 |
addNotify | public void addNotify()(Code) | | Called by the AWT when this component is added to a parent.
Adds document listener.
|
addScrollListener | final public void addScrollListener(ScrollListener listener)(Code) | | Adds a scroll listener to this text area.
Parameters: listener - The listener since: jEdit 3.2pre2 |
addStatusListener | final public void addStatusListener(StatusListener listener)(Code) | | Adds a scroll listener to this text area.
Parameters: listener - The listener since: jEdit 4.3pre2 |
addStructureMatcher | public void addStructureMatcher(StructureMatcher matcher)(Code) | | Adds a structure matcher.
since: jEdit 4.2pre3 |
addToSelection | public void addToSelection(Selection[] selection)(Code) | | Adds to the selection. Nested and overlapping selections are merged
where possible.
Parameters: selection - The new selectionsince jEdit 3.2pre1 |
addToSelection | public void addToSelection(Selection selection)(Code) | | Adds to the selection. Nested and overlapping selections are merged
where possible.
Parameters: selection - The new selectionsince jEdit 3.2pre1 |
addTopComponent | public void addTopComponent(Component comp)(Code) | | Adds a component above the gutter, text area, and vertical scroll bar.
since: jEdit 4.2pre3 |
backspace | public void backspace()(Code) | | Deletes the character before the caret, or the selection, if one is
active.
since: jEdit 2.7pre2 |
backspaceWord | public void backspaceWord()(Code) | | Deletes the word before the caret.
since: jEdit 2.7pre2 |
backspaceWord | public void backspaceWord(boolean eatWhitespace)(Code) | | Deletes the word before the caret.
Parameters: eatWhitespace - If true, will eat whitespace since: jEdit 4.2pre5 |
blinkCaret | final public void blinkCaret()(Code) | | Blinks the caret.
|
caretAutoScroll | public boolean caretAutoScroll()(Code) | | Return if change in buffer should scroll this text area.
since: jEdit 4.3pre2 |
centerCaret | public void centerCaret()(Code) | | Centers the caret on the screen.
since: jEdit 2.7pre2 |
delete | public void delete()(Code) | | Deletes the character after the caret.
since: jEdit 2.7pre2 |
deleteLine | public void deleteLine()(Code) | | Deletes the line containing the caret.
since: jEdit 2.7pre2 |
deleteParagraph | public void deleteParagraph()(Code) | | Deletes the paragraph containing the caret.
since: jEdit 2.7pre2 |
deleteToEndOfLine | public void deleteToEndOfLine()(Code) | | Deletes from the caret to the end of the current line.
since: jEdit 2.7pre2 |
deleteToStartOfLine | public void deleteToStartOfLine()(Code) | | Deletes from the caret to the beginning of the current line.
since: jEdit 2.7pre2 |
deleteWord | public void deleteWord()(Code) | | Deletes the word in front of the caret.
since: jEdit 2.7pre2 |
deleteWord | public void deleteWord(boolean eatWhitespace)(Code) | | Deletes the word in front of the caret.
. * @param eatWhitespace If true, will eat whitespace
since: jEdit 4.2pre5 |
dispose | public void dispose()(Code) | | Plugins and macros should not call this method.
since: jEdit 4.2pre1 |
doWordWrap | protected boolean doWordWrap(boolean spaceInserted)(Code) | | Does hard wrap.
|
extendSelection | public void extendSelection(int offset, int end)(Code) | | Extends the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. This is
different from resizing in that the new chunk is added to the
selection in question, instead of replacing it.
Parameters: offset - The offset Parameters: end - The new selection end since: jEdit 3.2pre1 |
extendSelection | public void extendSelection(int offset, int end, int extraStartVirt, int extraEndVirt)(Code) | | Extends the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. This is
different from resizing in that the new chunk is added to the
selection in question, instead of replacing it.
Parameters: offset - The offset Parameters: end - The new selection end Parameters: extraStartVirt - Extra virtual space at the start Parameters: extraEndVirt - Extra virtual space at the end since: jEdit 4.2pre1 |
fireNarrowActive | void fireNarrowActive()(Code) | | |
foldStructureChanged | void foldStructureChanged()(Code) | | |
formatParagraph | public void formatParagraph() throws TextAreaException(Code) | | Formats the paragraph containing the caret.
since: jEdit 2.7pre2 |
getBuffer | final public JEditBuffer getBuffer()(Code) | | Returns the buffer this text area is editing.
since: jedit 4.3pre3 since: Prior to 4.3pre3, this function returned a "Buffer" type. since: If this causes your code to break, try calling view.getBuffer() instead of since: view.getTextArea().getBuffer(). |
getBufferLength | final public int getBufferLength()(Code) | | Returns the length of the buffer.
|
getCaretLine | public int getCaretLine()(Code) | | Returns the line number containing the caret.
|
getCaretPosition | public int getCaretPosition()(Code) | | Returns a zero-based index of the caret position.
|
getDisplayManager | public DisplayManager getDisplayManager()(Code) | | the display manager used by this text area. since: jEdit 4.2pre1 |
getElectricScroll | final public int getElectricScroll()(Code) | | the minimum distance (in number of lines)from the caret to the nearest edge of the screen(top or bottom edge). |
getFirstLine | final public int getFirstLine()(Code) | | Returns the vertical scroll bar position.
since: jEdit 4.2pre1 |
getFirstPhysicalLine | final public int getFirstPhysicalLine()(Code) | | Returns the first visible physical line index.
since: jEdit 4.0pre4 |
getFocusCycleRoot | public boolean getFocusCycleRoot()(Code) | | Java 1.4 compatibility fix to make Tab traversal work in a sane
manner.
since: jEdit 4.2pre3 |
getFocusTraversalKeysEnabled | public boolean getFocusTraversalKeysEnabled()(Code) | | Java 1.4 compatibility fix to make Tab key work.
since: jEdit 3.2pre4 |
getGutter | final public Gutter getGutter()(Code) | | Returns the gutter to the left of the text area or null if the gutter
is disabled
|
getHorizontalOffset | final public int getHorizontalOffset()(Code) | | Returns the horizontal offset of drawn lines.
|
getJoinNonWordChars | public boolean getJoinNonWordChars()(Code) | | If set, double clicking will join non-word characters to form one "word".
since: jEdit 4.3pre2 |
getLastPhysicalLine | final public int getLastPhysicalLine()(Code) | | Returns the last visible physical line index.
since: jEdit 4.0pre4 |
getLastScreenLine | public int getLastScreenLine()(Code) | | Returns the last screen line index, it is different from
TextArea.getVisibleLines() because the buffer can have less lines than
the visible lines
the last screen line index. since: jEdit 4.3pre1 |
getLineCount | final public int getLineCount()(Code) | | Returns the number of physical lines in the buffer.
|
getLineEndOffset | public int getLineEndOffset(int line)(Code) | | Returns the end offset of the specified line.
Parameters: line - The line (physical line) The end offset of the specified line, or -1 if the line isinvalid. |
getLineLength | public int getLineLength(int line)(Code) | | Returns the length of the specified line.
Parameters: line - The line |
getLineOfOffset | final public int getLineOfOffset(int offset)(Code) | | Returns the line containing the specified offset.
Parameters: offset - The offset |
getLineStartOffset | public int getLineStartOffset(int line)(Code) | | Returns the start offset of the specified line.
Parameters: line - The line (physical line) The start offset of the specified line, or -1 if the line isinvalid |
getLineText | final public String getLineText(int lineIndex)(Code) | | Returns the text on the specified line.
Parameters: lineIndex - the line number The text, or null if the lineIndex is invalid |
getLineText | final public void getLineText(int lineIndex, Segment segment)(Code) | | Copies the text on the specified line into a Segment. If lineIndex
is invalid, the segment will contain a null string.
Parameters: lineIndex - The line number (physical line) Parameters: segment - the segment into which the data will be stored. |
getMagicCaretPosition | public int getMagicCaretPosition()(Code) | | Returns an internal position used to keep the caret in one
column while moving around lines of varying lengths.
since: jEdit 4.2pre1 |
getMarkLine | final public int getMarkLine()(Code) | | |
getMarkPosition | final public int getMarkPosition()(Code) | | |
getPainter | final public TextAreaPainter getPainter()(Code) | | Returns the object responsible for painting this text area.
|
getPhysicalLineOfScreenLine | public int getPhysicalLineOfScreenLine(int screenLine)(Code) | | Returns the physical line number that contains the specified screen
line.
Parameters: screenLine - The screen line since: jEdit 4.0pre6 |
getScreenLineEndOffset | public int getScreenLineEndOffset(int line)(Code) | | Returns the end offset of the specified screen (wrapped) line.
Parameters: line - The line since: jEdit 4.0pre4 |
getScreenLineOfOffset | public int getScreenLineOfOffset(int offset)(Code) | | Returns the screen (wrapped) line containing the specified offset.
Returns -1 if the line is not currently visible on the screen.
Parameters: offset - The offset since: jEdit 4.0pre4 |
getScreenLineStartOffset | public int getScreenLineStartOffset(int line)(Code) | | Returns the start offset of the specified screen (wrapped) line.
Parameters: line - The line since: jEdit 4.0pre4 |
getSelectedLines | public int[] getSelectedLines()(Code) | | Returns a sorted array of line numbers on which a selection or
selections are present.
This method is the most convenient way to iterate through selected
lines in a buffer. The line numbers in the array returned by this
method can be passed as a parameter to such methods as
JEditBuffer.getLineText(int) .
since: jEdit 3.2pre1 |
getSelectedText | public String getSelectedText(Selection s)(Code) | | Returns the text in the specified selection.
Parameters: s - The selection since: jEdit 3.2pre1 |
getSelectedText | public String getSelectedText(String separator)(Code) | | Returns the text in all active selections.
Parameters: separator - The string to insert between each text chunk(for example, a newline) since: jEdit 3.2pre1 |
getSelectedText | public String getSelectedText()(Code) | | Returns the text in all active selections, with a newline
between each text chunk.
|
getSelection | public Selection[] getSelection()(Code) | | Returns the current selection.
since: jEdit 3.2pre1 |
getSelection | public Selection getSelection(int index)(Code) | | Returns the selection with the specified index. This must be
between 0 and the return value of getSelectionCount() .
since: jEdit 4.3pre1 Parameters: index - the index of the selection you want |
getSelectionAtOffset | public Selection getSelectionAtOffset(int offset)(Code) | | Returns the selection containing the specific offset, or null
if there is no selection at that offset.
Parameters: offset - The offset since: jEdit 3.2pre1 |
getSelectionCount | public int getSelectionCount()(Code) | | Returns the number of selections. This can be used to test
for the existence of selections.
since: jEdit 3.2pre2 |
getSelectionEnd | final public int getSelectionEnd()(Code) | | |
getSelectionEnd | public int getSelectionEnd(int line)(Code) | | |
getSelectionEndLine | final public int getSelectionEndLine()(Code) | | |
getSelectionIterator | public Iterator<Selection> getSelectionIterator()(Code) | | Returns the current selection.
since: jEdit 4.3pre1 |
getSelectionStart | final public int getSelectionStart()(Code) | | |
getSelectionStart | public int getSelectionStart(int line)(Code) | | |
getSelectionStartLine | final public int getSelectionStartLine()(Code) | | |
getStructureMatch | public StructureMatcher.Match getStructureMatch()(Code) | | Returns the structure element (bracket, or XML tag, etc) matching the
one before the caret.
since: jEdit 4.2pre3 |
getText | final public String getText(int start, int len)(Code) | | Returns the specified substring of the buffer.
Parameters: start - The start offset Parameters: len - The length of the substring The substring |
getText | final public void getText(int start, int len, Segment segment)(Code) | | Copies the specified substring of the buffer into a segment.
Parameters: start - The start offset Parameters: len - The length of the substring Parameters: segment - The segment |
getText | public String getText()(Code) | | Returns the entire text of this text area.
|
getVisibleLines | final public int getVisibleLines()(Code) | | Returns the number of lines visible in this text area.
the number of visible lines in the textarea |
goToBufferEnd | public void goToBufferEnd(boolean select)(Code) | | Moves the caret to the end of the buffer.
Parameters: select - true if you want to extend selection since: jEdit 4.0pre3 |
goToBufferStart | public void goToBufferStart(boolean select)(Code) | | Moves the caret to the beginning of the buffer.
Parameters: select - true if you want to extend selection since: jEdit 4.0pre3 |
goToEndOfLine | public void goToEndOfLine(boolean select)(Code) | | Moves the caret to the end of the current line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToEndOfWhiteSpace | public void goToEndOfWhiteSpace(boolean select)(Code) | | Moves the caret to the last non-whitespace character of the current
line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToFirstVisibleLine | public void goToFirstVisibleLine(boolean select)(Code) | | Moves the caret to the first visible line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToLastVisibleLine | public void goToLastVisibleLine(boolean select)(Code) | | Moves the caret to the last visible line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToMatchingBracket | public void goToMatchingBracket()(Code) | | Moves the caret to the bracket matching the one before the caret.
since: jEdit 2.7pre3 |
goToNextBracket | public void goToNextBracket(boolean select)(Code) | | Moves the caret to the next closing bracket.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2. |
goToNextCharacter | public void goToNextCharacter(boolean select)(Code) | | Moves the caret to the next character.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2. |
goToNextFold | public void goToNextFold(boolean select)(Code) | | Moves the caret to the next fold.
Parameters: select - true if you want to extend selection since: jEdit 4.0pre3 |
goToNextLine | public void goToNextLine(boolean select)(Code) | | Move the caret to the next line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToNextPage | public void goToNextPage(boolean select)(Code) | | Moves the caret to the next screenful.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2. |
goToNextParagraph | public void goToNextParagraph(boolean select)(Code) | | Moves the caret to the start of the next paragraph.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToNextWord | public void goToNextWord(boolean select)(Code) | | Moves the caret to the start of the next word.
Note that if the "view.eatWhitespace" boolean propery is false,
this method moves the caret to the end of the current word instead.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToNextWord | public void goToNextWord(boolean select, boolean eatWhitespace)(Code) | | Moves the caret to the start of the next word.
since: jEdit 4.1pre5 |
goToParentFold | public void goToParentFold()(Code) | | Moves the caret to the fold containing the one at the caret
position.
since: jEdit 4.0pre3 |
goToPrevBracket | public void goToPrevBracket(boolean select)(Code) | | Moves the caret to the previous bracket.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToPrevCharacter | public void goToPrevCharacter(boolean select)(Code) | | Moves the caret to the previous character.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2. |
goToPrevFold | public void goToPrevFold(boolean select)(Code) | | Moves the caret to the previous fold.
Parameters: select - true if you want to extend selection since: jEdit 4.0pre3 |
goToPrevLine | public void goToPrevLine(boolean select)(Code) | | Moves the caret to the previous line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToPrevPage | public void goToPrevPage(boolean select)(Code) | | Moves the caret to the previous screenful.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToPrevParagraph | public void goToPrevParagraph(boolean select)(Code) | | Moves the caret to the start of the previous paragraph.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToPrevWord | public void goToPrevWord(boolean select)(Code) | | Moves the caret to the start of the previous word.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToPrevWord | public void goToPrevWord(boolean select, boolean eatWhitespace)(Code) | | Moves the caret to the start of the previous word.
since: jEdit 4.1pre5 |
goToStartOfLine | public void goToStartOfLine(boolean select)(Code) | | Moves the caret to the beginning of the current line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
goToStartOfWhiteSpace | public void goToStartOfWhiteSpace(boolean select)(Code) | | Moves the caret to the first non-whitespace character of the current
line.
Parameters: select - true if you want to extend selection since: jEdit 2.7pre2 |
indentSelectedLines | public void indentSelectedLines()(Code) | | Indents all selected lines.
since: jEdit 3.1pre3 |
insert | protected void insert(String str, boolean indent)(Code) | | |
insertEnterAndIndent | public void insertEnterAndIndent()(Code) | | |
insertTabAndIndent | public void insertTabAndIndent()(Code) | | |
invalidateLine | public void invalidateLine(int line)(Code) | | Marks a line as needing a repaint.
Parameters: line - The physical line to invalidate |
invalidateLineRange | public void invalidateLineRange(int start, int end)(Code) | | Marks a range of physical lines as needing a repaint.
Parameters: start - The first line to invalidate Parameters: end - The last line to invalidate |
invalidateScreenLineRange | public void invalidateScreenLineRange(int start, int end)(Code) | | Marks a range of screen lines as needing a repaint.
Parameters: start - The first line Parameters: end - The last line since: jEdit 4.0pre4 |
invalidateStructureMatch | void invalidateStructureMatch()(Code) | | |
invertSelection | final public void invertSelection()(Code) | | Inverts the selection.
since: jEdit 4.0pre1 |
isCaretBlinkEnabled | final public boolean isCaretBlinkEnabled()(Code) | | true if the caret is blinking, false otherwise. |
isCaretVisible | final boolean isCaretVisible()(Code) | | Returns true if the caret is visible, false otherwise.
|
isCtrlForRectangularSelection | public boolean isCtrlForRectangularSelection()(Code) | | If set, CTRL enables rectangular selection mode while pressed.
since: jEdit 4.3pre10 |
isDragEnabled | public boolean isDragEnabled()(Code) | | Returns if drag and drop of text is enabled.
since: jEdit 4.2pre5 |
isDragInProgress | public boolean isDragInProgress()(Code) | | Drag and drop of text in jEdit is implementing using jEdit 1.4 APIs,
however since jEdit must run with Java 1.3, this class only has the
necessary support to call a hook method via reflection. This method
is called by the
org.gjt.sp.jedit.Java14 class to signal that
a drag is in progress.
since: jEdit 4.2pre5 |
isEditable | final public boolean isEditable()(Code) | | Returns true if this text area is editable, false otherwise.
|
isMultipleSelectionEnabled | final public boolean isMultipleSelectionEnabled()(Code) | | Returns if multiple selection is enabled.
since: jEdit 3.2pre1 |
isOverwriteEnabled | final public boolean isOverwriteEnabled()(Code) | | Returns true if overwrite mode is enabled, false otherwise.
|
isQuickCopyEnabled | final public boolean isQuickCopyEnabled()(Code) | | Returns if clicking the middle mouse button pastes the most
recent selection (% register), and if Control-dragging inserts
the selection at the caret.
|
isRectangularSelectionEnabled | final public boolean isRectangularSelectionEnabled()(Code) | | Returns if rectangular selection is enabled.
since: jEdit 4.2pre1 |
isSelectionRectangular | public boolean isSelectionRectangular()(Code) | | |
isStructureHighlightVisible | final boolean isStructureHighlightVisible()(Code) | | Returns true if the structure highlight is visible, false otherwise.
since: jEdit 4.2pre3 |
joinLines | public void joinLines()(Code) | | Joins the current and the next line.
since: jEdit 2.7pre2 |
lineComment | public void lineComment()(Code) | | Prepends each line of the selection with the line comment string.
since: jEdit 3.2pre1 |
lineInStructureScope | public boolean lineInStructureScope(int line)(Code) | | Returns if the specified line is contained in the currently
matched structure's scope.
since: jEdit 4.2pre3 |
moveCaretPosition | public void moveCaretPosition(int newCaret)(Code) | | Sets the caret position without deactivating the selection.
Parameters: newCaret - The caret position |
moveCaretPosition | public void moveCaretPosition(int newCaret, boolean doElectricScroll)(Code) | | Sets the caret position without deactivating the selection.
Parameters: newCaret - The caret position Parameters: doElectricScroll - Do electric scrolling? |
moveCaretPosition | public void moveCaretPosition(int newCaret, int scrollMode)(Code) | | Sets the caret position without deactivating the selection.
Parameters: newCaret - The caret position Parameters: scrollMode - The scroll mode (NO_SCROLL, NORMAL_SCROLL, orELECTRIC_SCROLL). since: jEdit 4.2pre1 |
narrowToFold | public void narrowToFold()(Code) | | Hides all lines except those in the fold containing the caret.
since: jEdit 4.0pre1 |
narrowToSelection | public void narrowToSelection()(Code) | | Hides all lines except those in the selection.
since: jEdit 4.0pre1 |
offsetToXY | public Point offsetToXY(int offset)(Code) | | Converts an offset into a point in the text area painter's
co-ordinate space.
Parameters: offset - The offset The location of the offset on screen, or null if the specified offset is not visible |
offsetToXY | public Point offsetToXY(int line, int offset)(Code) | | Converts an offset into a point in the text area painter's
co-ordinate space.
Parameters: line - The line Parameters: offset - The offset The location of the offset on screen, or null if the specified offset is not visible |
offsetToXY | public Point offsetToXY(int line, int offset, Point retVal)(Code) | | Converts a line,offset pair into an x,y (pixel) point relative to the
upper left corner (0,0) of the text area.
Parameters: line - The physical line number (from top of document) Parameters: offset - The offset in characters, from the start of the line Parameters: retVal - The point to store the return value in retVal for convenience, or null if the specified offset is not visible since: jEdit 4.0pre4 |
propertiesChanged | public void propertiesChanged()(Code) | | Called by jEdit when necessary. Plugins should not call this method.
|
rangeComment | public void rangeComment()(Code) | | Adds comment start and end strings to the beginning and end of the
selection.
since: jEdit 3.2pre1 |
recalculateLastPhysicalLine | void recalculateLastPhysicalLine()(Code) | | |
recalculateVisibleLines | void recalculateVisibleLines()(Code) | | |
removeCaretListener | final public void removeCaretListener(CaretListener listener)(Code) | | Removes a caret change listener from this text area.
Parameters: listener - The listener |
removeFromSelection | public void removeFromSelection(Selection sel)(Code) | | Deactivates the specified selection.
Parameters: sel - The selection since: jEdit 3.2pre1 |
removeFromSelection | public void removeFromSelection(int offset)(Code) | | Deactivates the selection at the specified offset. If there is
no selection at that offset, does nothing.
Parameters: offset - The offset since: jEdit 3.2pre1 |
removeLeftOfScrollBar | public void removeLeftOfScrollBar(Component comp)(Code) | | Removes a component from the box left of the vertical scroll bar.
Parameters: comp - The component since: jEdit 4.2pre1 |
removeNotify | public void removeNotify()(Code) | | Called by the AWT when this component is removed from it's parent.
This clears the pointer to the currently focused component.
Also removes document listener.
|
removeScrollListener | final public void removeScrollListener(ScrollListener listener)(Code) | | Removes a scroll listener from this text area.
Parameters: listener - The listener since: jEdit 3.2pre2 |
removeStatusListener | final public void removeStatusListener(StatusListener listener)(Code) | | Removes a scroll listener from this text area.
Parameters: listener - The listener since: jEdit 4.3pre2 |
removeStructureMatcher | public void removeStructureMatcher(StructureMatcher matcher)(Code) | | Removes a structure matcher.
since: jEdit 4.2pre3 |
removeTopComponent | public void removeTopComponent(Component comp)(Code) | | Removes a component from above the gutter, text area, and vertical scroll bar.
since: jEdit 4.2pre3 |
removeTrailingWhiteSpace | public void removeTrailingWhiteSpace()(Code) | | Removes trailing whitespace from all lines in the selection.
since: jEdit 2.7pre2 |
replaceSelection | public int replaceSelection(String selectedText)(Code) | | Set the selection, but does not deactivate it, and does not move the
caret.
Please use
TextArea.setSelectedText(String) instead.
Parameters: selectedText - The new selection The new caret position since: 4.3pre1 |
resizeSelection | public void resizeSelection(int offset, int end, int extraEndVirt, boolean rect)(Code) | | Resizes the selection at the specified offset, or creates a new
one if there is no selection at the specified offset. This is a
utility method that is mainly useful in the mouse event handler
because it handles the case of end being before offset gracefully
(unlike the rest of the selection API).
Parameters: offset - The offset Parameters: end - The new selection end Parameters: extraEndVirt - Only for rectangular selections - specifies howfar it extends into virtual space. Parameters: rect - Make the selection rectangular? since: jEdit 3.2pre1 |
scrollDownLine | public void scrollDownLine()(Code) | | Scrolls down by one line.
since: jEdit 2.7pre2 |
scrollDownPage | public void scrollDownPage()(Code) | | Scrolls down by one page.
since: jEdit 2.7pre2 |
scrollTo | public void scrollTo(int offset, boolean doElectricScroll)(Code) | | Ensures that the specified location in the buffer is visible.
Parameters: offset - The offset from the start of the buffer Parameters: doElectricScroll - If true, electric scrolling will be performed since: jEdit 4.2pre3 |
scrollTo | public void scrollTo(int line, int offset, boolean doElectricScroll)(Code) | | Ensures that the specified location in the buffer is visible.
Parameters: line - The line number Parameters: offset - The offset from the start of the line Parameters: doElectricScroll - If true, electric scrolling will be performed since: jEdit 4.0pre6 |
scrollToCaret | public void scrollToCaret(boolean doElectricScroll)(Code) | | Ensures that the caret is visible by scrolling the text area if
necessary.
Parameters: doElectricScroll - If true, electric scrolling will be performed |
scrollUpLine | public void scrollUpLine()(Code) | | Scrolls up by one line.
since: jEdit 2.7pre2 |
scrollUpPage | public void scrollUpPage()(Code) | | Scrolls up by one page.
since: jEdit 2.7pre2 |
select | public void select(int start, int end)(Code) | | |
select | public void select(int start, int end, boolean doElectricScroll)(Code) | | |
selectAll | final public void selectAll()(Code) | | Selects all text in the buffer. Preserves the scroll position.
|
selectBlock | public void selectBlock()(Code) | | Selects the code block surrounding the caret.
since: jEdit 2.7pre2 |
selectFold | public void selectFold()(Code) | | Selects the fold that contains the caret line number.
since: jEdit 3.1pre3 |
selectFold | public void selectFold(int line)(Code) | | Selects the fold that contains the specified line number.
Parameters: line - The line number since: jEdit 4.0pre1 |
selectLine | public void selectLine()(Code) | | Selects the current line.
since: jEdit 2.7pre2 |
selectNone | public void selectNone()(Code) | | Deselects everything.
|
selectParagraph | public void selectParagraph()(Code) | | Selects the paragraph at the caret position.
since: jEdit 2.7pre2 |
selectToMatchingBracket | public Selection selectToMatchingBracket(int position, boolean quickCopy)(Code) | | Selects from the bracket at the specified position to the
corresponding bracket.
since: jEdit 4.2pre1 |
selectToMatchingBracket | public void selectToMatchingBracket()(Code) | | Selects from the bracket at the caret position to the corresponding
bracket.
since: jEdit 4.0pre2 |
selectWord | public void selectWord()(Code) | | Selects the word at the caret position.
since: jEdit 2.7pre2 |
setCaretBlinkEnabled | public void setCaretBlinkEnabled(boolean caretBlinks)(Code) | | Toggles caret blinking.
Parameters: caretBlinks - True if the caret should blink, false otherwise |
setCaretPosition | public void setCaretPosition(int newCaret)(Code) | | Sets the caret position and deactivates the selection.
Parameters: newCaret - The caret position |
setCaretPosition | public void setCaretPosition(int newCaret, boolean doElectricScroll)(Code) | | Sets the caret position and deactivates the selection.
Parameters: newCaret - The caret position Parameters: doElectricScroll - Do electric scrolling? |
setCtrlForRectangularSelection | public void setCtrlForRectangularSelection(boolean ctrlForRectangularSelection)(Code) | | If set, CTRL enables rectangular selection mode while pressed.
since: jEdit 4.3pre10 |
setDragEnabled | public void setDragEnabled(boolean dndEnabled)(Code) | | Sets if drag and drop of text is enabled.
since: jEdit 4.2pre5 |
setDragInProgress | public void setDragInProgress(boolean dndInProgress)(Code) | | Drag and drop of text in jEdit is implementing using jEdit 1.4 APIs,
however since jEdit must run with Java 1.3, this class only has the
necessary support to call a hook method via reflection. This method
is called by the
org.gjt.sp.jedit.Java14 class to signal that
a drag is in progress.
since: jEdit 4.2pre5 |
setElectricScroll | final public void setElectricScroll(int electricScroll)(Code) | | Sets the number of lines from the top and bottom of the text
area that are always visible
Parameters: electricScroll - The number of lines always visible fromthe top or bottom |
setFirstLine | public void setFirstLine(int firstLine)(Code) | | Sets the vertical scroll bar position
Parameters: firstLine - The scroll bar position |
setFirstPhysicalLine | public void setFirstPhysicalLine(int physFirstLine)(Code) | | Sets the vertical scroll bar position.
Parameters: physFirstLine - The first physical line to display since: jEdit 4.2pre1 |
setFirstPhysicalLine | public void setFirstPhysicalLine(int physFirstLine, int skew)(Code) | | Sets the vertical scroll bar position.
Parameters: physFirstLine - The first physical line to display Parameters: skew - A local screen line delta since: jEdit 4.2pre1 |
setHorizontalOffset | public void setHorizontalOffset(int horizontalOffset)(Code) | | Sets the horizontal offset of drawn lines. This can be used to
implement horizontal scrolling.
Parameters: horizontalOffset - offset The new horizontal offset |
setJoinNonWordChars | public void setJoinNonWordChars(boolean joinNonWordChars)(Code) | | If set, double clicking will join non-word characters to form one "word".
since: jEdit 4.3pre2 |
setMagicCaretPosition | public void setMagicCaretPosition(int magicCaret)(Code) | | Sets the `magic' caret position. This can be used to preserve
the column position when moving up and down lines.
Parameters: magicCaret - The magic caret position since: jEdit 4.2pre1 |
setMultipleSelectionEnabled | final public void setMultipleSelectionEnabled(boolean multi)(Code) | | Set multiple selection on or off according to the value of
multi . This only affects the ability to
make multiple selections in the user interface; macros and plugins
can manipulate them regardless of the setting of this flag. In fact,
in most cases, calling this method should not be necessary.
Parameters: multi - Should multiple selection be enabled? since: jEdit 3.2pre1 |
setOverwriteEnabled | final public void setOverwriteEnabled(boolean overwrite)(Code) | | Sets overwrite mode.
|
setQuickCopyEnabled | final public void setQuickCopyEnabled(boolean quickCopy)(Code) | | Sets if clicking the middle mouse button pastes the most
recent selection (% register), and if Control-dragging inserts
the selection at the caret.
Parameters: quickCopy - A boolean flag |
setRectangularSelectionEnabled | final public void setRectangularSelectionEnabled(boolean rectangularSelectionMode)(Code) | | Set rectangular selection on or off according to the value of
rectangularSelectionMode . This only affects the ability
to make multiple selections from the keyboard. A rectangular
selection can always be created by dragging with the mouse by holding
down Control, regardless of the state of this flag.
Parameters: rectangularSelectionMode - Should rectangular selection beenabled? since: jEdit 4.2pre1 |
setSelectedText | public void setSelectedText(Selection s, String selectedText)(Code) | | Replaces the selection with the specified text.
Parameters: s - The selection Parameters: selectedText - The new text since: jEdit 3.2pre1 |
setSelectedText | public void setSelectedText(String selectedText)(Code) | | Replaces the selection at the caret with the specified text.
If there is no selection at the caret, the text is inserted at
the caret position.
|
setSelectedText | public void setSelectedText(String selectedText, boolean moveCaret)(Code) | | Replaces the selection at the caret with the specified text.
If there is no selection at the caret, the text is inserted at
the caret position.
Parameters: selectedText - The new selection Parameters: moveCaret - Move caret to insertion location if necessary since: jEdit 4.2pre5 |
setSelection | public void setSelection(Selection[] selection)(Code) | | Sets the selection. Nested and overlapping selections are merged
where possible. Null elements of the array are ignored.
Parameters: selection - The new selectionsince jEdit 3.2pre1 |
setSelection | public void setSelection(Selection selection)(Code) | | Sets the selection. Nested and overlapping selections are merged
where possible.
Parameters: selection - The new selectionsince jEdit 3.2pre1 |
setSelectionEnd | final public void setSelectionEnd(int selectionEnd)(Code) | | |
setSelectionStart | final public void setSelectionStart(int selectionStart)(Code) | | |
setText | public void setText(String text)(Code) | | Sets the entire text of this text area.
Parameters: text - the new content of the buffer |
shiftIndentLeft | public void shiftIndentLeft()(Code) | | Shifts the indent to the left.
since: jEdit 2.7pre2 |
shiftIndentRight | public void shiftIndentRight()(Code) | | Shifts the indent to the right.
since: jEdit 2.7pre2 |
smartEnd | public void smartEnd(boolean select)(Code) | | On subsequent invocations, first moves the caret to the last
non-whitespace character of the line, then the end of the
line, then to the last visible line.
Parameters: select - true if you want to extend selection since: jEdit 4.3pre7 |
smartHome | public void smartHome(boolean select)(Code) | | On subsequent invocations, first moves the caret to the first
non-whitespace character of the line, then the beginning of the
line, then to the first visible line.
Parameters: select - true if you want to extend selection since: jEdit 4.3pre7 |
spacesToTabs | public void spacesToTabs()(Code) | | Converts spaces to tabs in the selection.
since: jEdit 2.7pre2 |
tabsToSpaces | public void tabsToSpaces()(Code) | | Converts tabs to spaces in the selection.
since: jEdit 2.7pre2 |
toLowerCase | public void toLowerCase()(Code) | | Converts the selected text to lower case.
since: jEdit 2.7pre2 |
toUpperCase | public void toUpperCase()(Code) | | Converts the selected text to upper case.
since: jEdit 2.7pre2 |
toggleMultipleSelectionEnabled | final public void toggleMultipleSelectionEnabled()(Code) | | Toggles multiple selection.
since: jEdit 3.2pre1 |
toggleOverwriteEnabled | final public void toggleOverwriteEnabled()(Code) | | Toggles overwrite mode.
since: jEdit 2.7pre2 |
toggleRectangularSelectionEnabled | final public void toggleRectangularSelectionEnabled()(Code) | | Toggles rectangular selection.
since: jEdit 4.2pre1 |
updateMaxHorizontalScrollWidth | void updateMaxHorizontalScrollWidth()(Code) | | |
updateScrollBar | void updateScrollBar()(Code) | | Updates the state of the scroll bars. This should be called
if the number of lines in the buffer changes, or when the
size of the text are changes.
|
userInput | public void userInput(char ch)(Code) | | Handles the insertion of the specified character. It performs the
following operations above and beyond simply inserting the text:
- Inserting a TAB with a selection will shift to the right
- Inserting a BACK_SPACE or a DELETE will remove a character
- Inserting an indent open/close bracket will re-indent the current
line as necessary
Parameters: ch - The character See Also: TextArea.setSelectedText(String) See Also: TextArea.isOverwriteEnabled() since: jEdit 4.3pre7 |
userInputTab | protected void userInputTab()(Code) | | |
xToScreenLineOffset | public int xToScreenLineOffset(int screenLine, int x, boolean round)(Code) | | Converts a point in a given screen line to an offset.
Note that unlike in previous jEdit versions, this method now returns
-1 if the y co-ordinate is out of bounds.
Parameters: x - The x co-ordinate of the point Parameters: screenLine - The screen line Parameters: round - Round up to next letter if past the middle of a letter? since: jEdit 3.2pre6 |
xyToOffset | public int xyToOffset(int x, int y)(Code) | | Converts a point to an offset.
Note that unlike in previous jEdit versions, this method now returns
-1 if the y co-ordinate is out of bounds.
Parameters: x - The x co-ordinate of the point Parameters: y - The y co-ordinate of the point |
xyToOffset | public int xyToOffset(int x, int y, boolean round)(Code) | | Converts a point to an offset.
Note that unlike in previous jEdit versions, this method now returns
-1 if the y co-ordinate is out of bounds.
Parameters: x - The x co-ordinate of the point Parameters: y - The y co-ordinate of the point Parameters: round - Round up to next letter if past the middle of a letter? since: jEdit 3.2pre6 |
Methods inherited from javax.swing.JComponent | public void addAncestorListener(AncestorListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) final public ActionMap getActionMap()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public AncestorListener[] getAncestorListeners()(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc) public JPopupMenu getComponentPopupMenu()(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public static Locale getDefaultLocale()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public boolean getInheritsPopupMenu()(Code)(Java Doc) final public InputMap getInputMap(int condition)(Code)(Java Doc) final public InputMap getInputMap()(Code)(Java Doc) public InputVerifier getInputVerifier()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public Point getPopupLocation(MouseEvent event)(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public TransferHandler getTransferHandler()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc) public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public static boolean isLightweightComponent(Component c)(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) final public boolean isPaintingForPrint()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintBorder(Graphics g)(Code)(Java Doc) protected void paintChildren(Graphics g)(Code)(Java Doc) protected void paintComponent(Graphics g)(Code)(Java Doc) public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void paintImmediately(Rectangle r)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void printBorder(Graphics g)(Code)(Java Doc) protected void printChildren(Graphics g)(Code)(Java Doc) protected void printComponent(Graphics g)(Code)(Java Doc) protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) final public void putClientProperty(Object key, Object value)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void reshape(int x, int y, int w, int h)(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc) final public void setActionMap(ActionMap am)(Code)(Java Doc) public void setAlignmentX(float alignmentX)(Code)(Java Doc) public void setAlignmentY(float alignmentY)(Code)(Java Doc) public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc) public void setBackground(Color bg)(Code)(Java Doc) public void setBorder(Border border)(Code)(Java Doc) public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc) public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc) public static void setDefaultLocale(Locale l)(Code)(Java Doc) public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setForeground(Color fg)(Code)(Java Doc) public void setInheritsPopupMenu(boolean value)(Code)(Java Doc) final public void setInputMap(int condition, InputMap map)(Code)(Java Doc) public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc) public void setOpaque(boolean isOpaque)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc) protected void setUI(ComponentUI newUI)(Code)(Java Doc) public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc) public void setVisible(boolean aFlag)(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|