|
||||||||||
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 |
---|
lLastTranslationModified, parent |
Fields inherited from class javax.rad.genui.UIResource |
---|
uiResource |
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, 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(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 |
---|
equals, getUIResource, hashCode, 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
.
ITextArea
protected UITextArea(ITextArea pTextArea)
UITextArea
with the given
text area.
pTextArea
- the text areaITextArea
public UITextArea(String pText)
UITextArea
.
pText
- the text.ITextArea
Method Detail |
---|
public int getRows()
ITextArea
.
getRows
in interface ITextArea
public void setRows(int pRows)
ITextArea
,
and then invalidate the layout.
setRows
in interface ITextArea
pRows
- the number of rows >= 0public boolean isWordWrap()
isWordWrap
in interface ITextArea
public void setWordWrap(boolean pWordWrap)
setWordWrap
in interface ITextArea
pWordWrap
- the current state of the word wrap mode.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |