|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.datadosen.jalbum.TextEditor
public class TextEditor
Gives access to the currently plugged in text editor. Our JTextPad editor plugs itself into this class on init To open documents for editing, simply issue TextEditor.openDocument(File)
| Nested Class Summary | |
|---|---|
static interface |
TextEditor.Editor
|
| Method Summary | |
|---|---|
static javax.swing.text.JTextComponent |
getCurrentEditorComponent()
Return the editor component for the last used editor |
static void |
install(TextEditor.Editor editor)
|
static boolean |
isInstalled()
|
static javax.swing.text.JTextComponent |
newDocument()
Return the editor component for a new editor |
static boolean |
openDocument(java.io.File f)
Open document for editing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean openDocument(java.io.File f)
public static javax.swing.text.JTextComponent getCurrentEditorComponent()
public static javax.swing.text.JTextComponent newDocument()
public static boolean isInstalled()
public static void install(TextEditor.Editor editor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||