|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.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 FormInner classes inherited from class javax.swing.JScrollPane |
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
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.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, validate, validateTree |
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)
setOpaque
in class JComponent
opaque
- if true
, the text area is opaquepublic void setSize(Dimension dimension)
setSize
in class Component
dimension
- the size of the text areapublic void setSize(int width, int height)
setSize
in class Component
width
- the widthheight
- the heightpublic void setText(String text)
text
- the textpublic JTextArea textArea()
public JTextComponent textComponent()
textComponent
in interface EOTextComponentAccess
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |