Squiz Matrix
4.12.2
|
Public Member Functions | |
TextPanel () | |
TextPanel (String title) | |
synchronized void | setColumnHeadings (String labels) |
String | getColumnHeadings () |
void | setFont (Font font) |
void | appendLine (String data) |
void | append (String data) |
void | adjustmentValueChanged (AdjustmentEvent e) |
void | mousePressed (MouseEvent e) |
void | mouseExited (MouseEvent e) |
void | mouseMoved (MouseEvent e) |
void | mouseDragged (MouseEvent e) |
void | mouseReleased (MouseEvent e) |
void | mouseClicked (MouseEvent e) |
void | mouseEntered (MouseEvent e) |
void | addKeyListener (KeyListener listener) |
void | keyPressed (KeyEvent e) |
void | keyReleased (KeyEvent e) |
void | keyTyped (KeyEvent e) |
void | actionPerformed (ActionEvent e) |
void | lostOwnership (Clipboard clip, Transferable cont) |
int | copySelection () |
void | clearSelection () |
void | selectAll () |
void | resetSelection () |
void | save (PrintWriter pw) |
void | saveAs (String path) |
void | setTitle (String title) |
int | getLineCount () |
String | getLine (int index) |
This is an unlimited size text panel with tab-delimited, labeled and resizable columns. It is based on the hGrid class at http://www.lynx.ch/contacts/~/thomasm/Grid/index.html.
Definition at line 19 of file TextPanel.java.
|
inline |
Constructs a new TextPanel.
Definition at line 50 of file TextPanel.java.
|
inline |
Constructs a new TextPanel.
Definition at line 69 of file TextPanel.java.
|
inline |
Unused keyPressed events will be passed to 'listener'.
Definition at line 288 of file TextPanel.java.
|
inline |
Adds one or more lines to the end of this TextPanel.
Definition at line 154 of file TextPanel.java.
|
inline |
Adds a single line to the end of this TextPanel.
Definition at line 138 of file TextPanel.java.
|
inline |
Deletes the selected lines.
Definition at line 404 of file TextPanel.java.
|
inline |
Copies the current selection to the system clipboard. Returns the number of characters copied.
Definition at line 382 of file TextPanel.java.
|
inline |
Returns the column headings as a tab-delimited string.
Definition at line 129 of file TextPanel.java.
|
inline |
Returns the number of lines of text in this TextPanel. The argument must be greater than or equal to zero and less than the value returned by getLineCount().
Definition at line 473 of file TextPanel.java.
|
inline |
Returns the number of lines of text in this TextPanel.
Definition at line 466 of file TextPanel.java.
|
inline |
Clears the selection, if any.
Definition at line 436 of file TextPanel.java.
|
inline |
Writes all the text in this TextPanel to a file.
Definition at line 446 of file TextPanel.java.
|
inline |
Saves all the text in this TextPanel to a file. Set 'path' to "" to display a save as dialog.
Definition at line 458 of file TextPanel.java.
|
inline |
Selects all the lines in this TextPanel.
Definition at line 427 of file TextPanel.java.
|
inline |
Clears this TextPanel and sets the column headings to those in the tab-delimited 'headings' String. Set 'headings' to "" to use a single column with no headings.
Definition at line 102 of file TextPanel.java.