|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.gui.tutorial.TextDocument.Factory
public static class TextDocument.Factory
TextDocument.Factory is a factory for Text Documents
| Constructor Summary | |
|---|---|
TextDocument.Factory()
|
|
| Method Summary | |
|---|---|
Document |
createDocument(Application app)
Create an empty document. |
Document |
createDocument(Application app,
java.io.File file)
Create a new document that contains data from the given file. |
Document |
createDocument(Application app,
java.net.URL url)
Create a new document that contains data from the given URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextDocument.Factory()
| Method Detail |
|---|
public Document createDocument(Application app)
createDocument in interface DocumentFactory
public Document createDocument(Application app,
java.net.URL url)
createDocument in interface DocumentFactory
public Document createDocument(Application app,
java.io.File file)
createDocument in interface DocumentFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||