|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.component.AbstractUITextField<ITextArea>
javax.rad.genui.component.UITextArea
public class UITextArea
Platform and technology independent text area. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Field Summary |
|---|
| Fields inherited from class javax.rad.genui.UIComponent |
|---|
bTranslate, lLastTranslationModified, parent, popupMenu |
| Fields inherited from class javax.rad.genui.UIResource |
|---|
uiResource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
|
UITextArea()
Creates a new instance of UITextArea. |
protected |
UITextArea(ITextArea pTextArea)
Creates a new instance of UITextArea with the given
text area. |
|
UITextArea(java.lang.String pText)
Creates a new instance of UITextArea. |
| Method Summary | |
|---|---|
int |
getRows()
Returns the number of rows in this ITextArea. |
boolean |
isWordWrap()
Gets the current state of the word wrap mode. |
void |
setRows(int pRows)
Sets the number of rows in this ITextArea,
and then invalidate the layout. |
void |
setWordWrap(boolean pWordWrap)
Sets the current state of the word wrap mode. |
| Methods inherited from class javax.rad.genui.component.AbstractUITextField |
|---|
getColumns, getHorizontalAlignment, getText, getVerticalAlignment, isBorderVisible, isEditable, selectAll, setBorderVisible, setColumns, setEditable, setEnabled, setHorizontalAlignment, setText, setVerticalAlignment, updateTranslation |
| Methods inherited from class javax.rad.genui.UIResource |
|---|
eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getUIResource, hasResourceHandler, putObject, 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 |
|---|
getColumns, isBorderVisible, isEditable, selectAll, setBorderVisible, setColumns, setEditable |
| Methods inherited from interface javax.rad.ui.component.ILabel |
|---|
getText, setText |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Constructor Detail |
|---|
public UITextArea()
UITextArea.
ITextAreaprotected UITextArea(ITextArea pTextArea)
UITextArea with the given
text area.
pTextArea - the text areaITextAreapublic UITextArea(java.lang.String pText)
UITextArea.
pText - the text.ITextArea| Method Detail |
|---|
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||