|
| TextWindow (String title, String data, int width, int height) |
|
| TextWindow (String title, String headings, String data, int width, int height) |
|
| TextWindow (String path, int width, int height) |
|
void | append (String text) |
|
void | setFont (Font font) |
|
TextPanel | getTextPanel () |
|
void | load (BufferedReader in) throws IOException |
|
void | actionPerformed (ActionEvent evt) |
|
void | processWindowEvent (WindowEvent e) |
|
void | close () |
|
void | focusGained (FocusEvent e) |
|
void | focusLost (FocusEvent e) |
|
Uses a TextPanel to displays text in a window.
- See Also
- TextPanel
Definition at line 15 of file TextWindow.java.
TextWindow |
( |
String |
title, |
|
|
String |
data, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Opens a new single-column text window.
- Parameters
-
title | the title of the window |
str | the text initially displayed in the window |
width | the width of the window in pixels |
height | the height of the window in pixels |
Definition at line 26 of file TextWindow.java.
TextWindow |
( |
String |
title, |
|
|
String |
headings, |
|
|
String |
data, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Opens a new multi-column text window.
- Parameters
-
title | the title of the window |
headings | the tab-delimited column headings |
data | the text initially displayed in the window |
width | the width of the window in pixels |
height | the height of the window in pixels |
Definition at line 38 of file TextWindow.java.
Opens a new text window containing the contents of a text file.
- Parameters
-
path | the path to the text file |
width | the width of the window in pixels |
height | the height of the window in pixels |
Definition at line 66 of file TextWindow.java.
void append |
( |
String |
text | ) |
|
|
inline |
Adds one or lines of text to the window.
- Parameters
-
text | The text to be appended. Multiple lines should be separated by
. |
Definition at line 106 of file TextWindow.java.
void load |
( |
BufferedReader |
in | ) |
throws IOException |
|
inline |
void setFont |
( |
Font |
font | ) |
|
|
inline |
Set the font that will be used to display the text.
Definition at line 111 of file TextWindow.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/fudge/image_editor/src/ij/text/TextWindow.java