diva.gui.tutorial
Class TextView
java.lang.Object
diva.gui.AbstractView
diva.gui.tutorial.TextView
- All Implemented Interfaces:
- View
public class TextView
- extends AbstractView
A simple MDI text editor view. FIXME
- Version:
- $Id: TextView.java 38798 2005-07-08 20:00:01Z cxh $
- Author:
- Michael Shilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_editorPane
private javax.swing.JEditorPane _editorPane
_scrollPane
private javax.swing.JScrollPane _scrollPane
TextView
public TextView(TextDocument doc)
getTextDocument
public TextDocument getTextDocument()
getComponent
public javax.swing.JComponent getComponent()
- Description copied from class:
AbstractView
- Return the component that implements the display of this view.
The returned object should be a unique object that corresponds
to this view.
- Specified by:
getComponent
in interface View
- Specified by:
getComponent
in class AbstractView
getTitle
public java.lang.String getTitle()
- Description copied from class:
AbstractView
- Get the title of this document
- Specified by:
getTitle
in interface View
- Specified by:
getTitle
in class AbstractView
getShortTitle
public java.lang.String getShortTitle()
- Description copied from class:
AbstractView
- Get the short title of this document. The short title
is used in situations where the regular title is likely
to be too long, such as iconified windows, menus, and so on.
- Specified by:
getShortTitle
in interface View
- Specified by:
getShortTitle
in class AbstractView