Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

EOTextArea


Inherits from:
javax.swing.JScrollPane : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Implements:
EOTextComponentAccess
java.io.Serializable
java.awt.image.ImageObserver
java.awt.MenuContainer
Package:
com.webobjects.eointerface.swing


Class Description


EOTextArea, a subclass of javax.swing.JScrollPane, is used to represent scrolling text regions. An EOTextArea object uses a JTextArea to do its work. The main business of an EOTextArea is to configure the JTextArea's behavior and appearance. An EOTextArea's JTextArea has a vertical scroll bar but not a horizontal scroll bar and it wraps its lines of text. If you want to perform additional configuration on an EOTextArea's JTextArea, you can access the JTextArea with the method textArea.




Interfaces Implemented


EOTextComponentAccess
textComponent
java.io.Serializable
java.awt.image.ImageObserver
java.awt.MenuContainer


Method Types


All methods
EOTextArea
setEditable
setOpaque
setSize
setSize
setText
textArea


Constructors



EOTextArea

public EOTextArea()

Description forthcoming.


Instance Methods



setEditable

public void setEditable(boolean flag)

Sets the receiver's editability (by setting its JTextArea's editability).

setOpaque

public void setOpaque(boolean flag)

Sets whether or not the receiver is opaque (by setting its JTextArea to be opaque or not).

setSize

public void setSize(java.awt.Dimension aDimension)

Sets the size of the receiver's JTextArea to aDimension , and then resizes the text area to accommodate the vertical scroll bar.

setSize

public void setSize( int width, int height)

Sets the size of the receiver's JTextArea to width and height, and then resizes the text area to accomodate the vertical scroll bar.

setText

public void setText(String text)

Sets the text of the receiv'ers JTextArea to text.

textArea

public javax.swing.JTextArea textArea()

Returns the receiver's JTextArea.

textComponent

public javax.swing.text.JTextComponent textComponent()

Returns the receiver's JTextArea.

© 2001 Apple Computer, Inc. (Last Published April 21, 2001)


Table of Contents