public class TextView extends AbstractView
| Constructor and Description |
|---|
TextView(TextDocument doc) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
getComponent()
Return the component that implements the display of this view.
|
java.lang.String |
getShortTitle()
Get the short title of this document.
|
TextDocument |
getTextDocument() |
java.lang.String |
getTitle()
Get the title of this document
|
close, copy, cut, getDocument, pastepublic TextView(TextDocument doc)
public TextDocument getTextDocument()
public javax.swing.JComponent getComponent()
AbstractViewgetComponent in interface ViewgetComponent in class AbstractViewpublic java.lang.String getTitle()
AbstractViewgetTitle in interface ViewgetTitle in class AbstractViewpublic java.lang.String getShortTitle()
AbstractViewgetShortTitle in interface ViewgetShortTitle in class AbstractView