Class TextScrollPane

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----javax.swing.JScrollPane
                                   |
                                   +----TextScrollPane

public class TextScrollPane
extends JScrollPane
TextScrollPane - Scrolling pane for text entry.

Author:
Paul Kronenwetter, Jayme Manning

Paul Kronenwetter
Jayme Manning
Trade Secrets and/or Confidential
Commercial or Financial Information
Exempt From Disclosure Under the Freedom
of Information Act (5 USC 552(b)(3)
and 5 USC 552(b)(4)) and Under 18 USC 1905

Proprietary Information Notice
This document contains information proprietary to, and is the sole property of, Paul Kronenwetter and Jayme Manning. It shall not be reproduced, used or disclosed in any manner or for any purpose not authorized in writing by both Paul Kronenwetter and Jayme Manning, and except, as retention may be so authorized, it shall be returned to Paul Kronenwetter or Jayme Manning upon request.

© 1998 by Paul Kronenwetter and Jayme Manning
All Rights Reserved


Constructor Index

 o TextScrollPane()
This is the method that does the "real" work of setting up the variables and other objects needed to make this panel work.

Method Index

 o clearText()
clearText - Method used to clear the JTextArea for further processing.
 o getPreferredSize()
Replies to requests for this component's preferred size.
 o getText()
getText - Method used to retrieve the text of our embedded JTextArea component.

Constructors

 o TextScrollPane
 public TextScrollPane()
This is the method that does the "real" work of setting up the variables and other objects needed to make this panel work.

Methods

 o getPreferredSize
 public Dimension getPreferredSize()
Replies to requests for this component's preferred size.

Returns:
The preferred size of this panel in a Dimension.
Overrides:
getPreferredSize in class JComponent
 o clearText
 public void clearText()
clearText - Method used to clear the JTextArea for further processing.

 o getText
 public String getText()
getText - Method used to retrieve the text of our embedded JTextArea component.

Returns:
String - The text from the JTextArea.