|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<C>
com.sibvisions.rad.ui.swing.impl.SwingScrollComponent<C,TC>
com.sibvisions.rad.ui.swing.impl.component.SwingTextComponent<JVxScrollPane,javax.swing.JTextArea>
com.sibvisions.rad.ui.swing.impl.component.SwingTextArea
public class SwingTextArea
The SwingTextArea is the ITextArea
implementation for swing.
ITextArea,
JTextArea| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.swing.impl.SwingScrollComponent |
|---|
component |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
bComponentListener, bFocusListener, bKeyListener, bMouseListener, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, eventSource, factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingTextArea()
Creates a new instance of SwingTextArea. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Returns the number of columns in this ITextField. |
int |
getRows()
Returns the number of rows in this ITextArea. |
boolean |
isAutoScroll()
Gets whether automatic scrolling on text change is en/disabled. |
boolean |
isKeepHorizontalScrollPosition()
Gets whether the horizontal position will be kept after auto scroll. |
boolean |
isWordWrap()
Gets the current state of the word wrap mode. |
void |
setAutoScroll(boolean pAutoScroll)
Sets automatic scrolling on text change en/disabled. |
void |
setColumns(int pColumns)
Sets the number of columns in this ITextField,
and then invalidate the layout. |
void |
setKeepHorizontalScrollPosition(boolean pKeepPosition)
Sets whether the horizontal position should be kept after auto scroll. |
void |
setRows(int pRows)
Sets the number of rows in this ITextArea,
and then invalidate the layout. |
void |
setText(java.lang.String pText)
Defines the single line of text this component will display. |
void |
setWordWrap(boolean pWordWrap)
Sets the current state of the word wrap mode. |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.component.SwingTextComponent |
|---|
getText, isBorderVisible, isEditable, selectAll, setBorderVisible, setEditable |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingScrollComponent |
|---|
addFocusListener, addKeyListener, addMouseListener, getBackground, getComponent, getCursor, getFont, getForeground, getName, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setForeground, setName, setTabIndex, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
|---|
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
getResource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.component.ITextField |
|---|
isBorderVisible, isEditable, selectAll, setBorderVisible, setEditable |
| Methods inherited from interface javax.rad.ui.component.ILabel |
|---|
getText |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Constructor Detail |
|---|
public SwingTextArea()
SwingTextArea.
| Method Detail |
|---|
public int getColumns()
ITextField.
getColumns in interface ITextFieldpublic void setColumns(int pColumns)
ITextField,
and then invalidate the layout.
setColumns in interface ITextFieldpColumns - the number of columns >= 0public int getRows()
ITextArea.
getRows in interface ITextAreapublic void setRows(int pRows)
ITextArea,
and then invalidate the layout.
setRows in interface ITextAreapRows - the number of rows >= 0public boolean isWordWrap()
isWordWrap in interface ITextAreapublic void setWordWrap(boolean pWordWrap)
setWordWrap in interface ITextAreapWordWrap - the current state of the word wrap mode.public void setText(java.lang.String pText)
setText in interface ILabelsetText in class SwingTextComponent<JVxScrollPane,javax.swing.JTextArea>pText - the textpublic void setAutoScroll(boolean pAutoScroll)
pAutoScroll - true to enable auto-scrolling on text change, false otherwisepublic boolean isAutoScroll()
true if enabled, false otherwisepublic void setKeepHorizontalScrollPosition(boolean pKeepPosition)
pKeepPosition - true to keep the position, false otherwisepublic boolean isKeepHorizontalScrollPosition()
true if position will be kept, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||