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, paste
public TextView(TextDocument doc)
public TextDocument getTextDocument()
public javax.swing.JComponent getComponent()
AbstractView
getComponent
in interface View
getComponent
in class AbstractView
public java.lang.String getTitle()
AbstractView
getTitle
in interface View
getTitle
in class AbstractView
public java.lang.String getShortTitle()
AbstractView
getShortTitle
in interface View
getShortTitle
in class AbstractView