PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

EOTextArea


Inherits from:
javax.swing.JScrollPane : javax.swing.JComponent : java.awt.Container : java.awt.Component : Object
Implements:
EOTextAssociation.JTextComponentAccess
Package:
com.apple.client.eointerface


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 jTextArea.


Note: This class doesn't exist in the com.apple.yellow.eointerface package.




Interfaces Implemented


EOTextAssociation.JTextComponentAccess
jTextComponent


Method Types


Accessing the text area's JTextArea
jTextArea
Methods forwarded to the text area's JTextArea
setEditable
setOpaque
setSize
setText


Instance Methods



jTextArea

public javax.swing.JTextArea jTextArea()

Returns the receiver's JTextArea.

jTextComponent

public javax.swing.text.JTextComponent jTextComponent()

Returns the receiver's JTextArea.

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)

public void setSize(int width, int height)

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

setText

public void setText(String aString)

Sets the receiver's text value to aString by setting the receiver's JTextArea's text.


Table of Contents