|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
com.webobjects.eointerface.swing.EOTextArea
The EOTextArea class is used to represent large text in a scrollable area.
An EOTextArea is a JScrollPane with a JTextArea inside, using a vertical scrollbar to make the whole text visible.
If you want to configure or message an EOTextArea's JTextArea directly, you can access it with the textArea method.
textArea(),
Serialized Form| Nested Class Summary |
| Nested classes inherited from class javax.swing.JScrollPane |
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class javax.swing.JScrollPane |
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
EOTextArea()
Constructs a new EOTextArea which is configured to always use a vertical scroll bar and no a horizontal scrollbar. |
|
| Method Summary | |
void |
setEditable(boolean editable)
Sets the editablity flag of the text area. |
void |
setOpaque(boolean opaque)
Sets whether the text area is opaque. |
void |
setSize(Dimension dimension)
Sets the size of the text area. |
void |
setSize(int width,
int height)
Sets the size of the text area. |
void |
setText(String text)
Sets the text displayed in the text area. |
JTextArea |
textArea()
Returns the JTextArea used by the EOTextArea. |
JTextComponent |
textComponent()
Returns the text area of the receiver as JTextComponent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EOTextArea()
| Method Detail |
public void setEditable(boolean editable)
editable - if true, the text area is editable, if false,
the text field is not user editablepublic void setOpaque(boolean opaque)
opaque - if true, the text area is opaquepublic void setSize(Dimension dimension)
dimension - the size of the text area
public void setSize(int width,
int height)
width - the widthheight - the heightpublic void setText(String text)
text - the textpublic JTextArea textArea()
public JTextComponent textComponent()
textComponent in interface EOTextComponentAccess
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||