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:
- $Revision: 1.2 $
- Author:
- Michael Shilman (michaels@eecs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextView
public TextView(TextDocument doc)
getTextDocument
public TextDocument getTextDocument()
getComponent
public 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 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 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
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.