|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.impl.QtResource<C>
com.sibvisions.rad.ui.qt.impl.QtComponentBase<C>
com.sibvisions.rad.ui.qt.impl.QtComponent<QVxTextEdit>
com.sibvisions.rad.ui.qt.impl.component.QtTextArea
public class QtTextArea
The QtTextArea is the ITextArea
implementation for QT.
ITextArea,
QTextEdit| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
parent |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
factory |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
QtTextArea()
Creates a new instance of QtTextArea. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Not supported. |
int |
getRows()
Not supported. |
String |
getText()
Returns the text string that the label displays. |
boolean |
isEditable()
Returns the boolean indicating whether this ITextField is editable or not. |
boolean |
isWordWrap()
Gets the current state of the word wrap mode. |
void |
setColumns(int columns)
Not supported. |
void |
setEditable(boolean pEditable)
Sets the specified boolean to indicate whether or not this ITextField should be editable. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. Possible values are defined in AlignmentConstants. |
void |
setRows(int rows)
Not supported. |
void |
setText(String pText)
Defines the single line of text this component will display. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. Possible values are defined in AlignmentConstants. |
void |
setWordWrap(boolean pWordWrap)
Sets the current state of the word wrap mode. |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
addStyle, capture, getBackground, getBounds, getCursor, getFont, getForeground, getHorizontalAlignment, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyleSheet, getToolTipText, getVerticalAlignment, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setResourceVisible, setSize, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getFactory, isVisible, setFactory, setVisible |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
equals, getResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment |
| Constructor Detail |
|---|
public QtTextArea()
QtTextArea.
| Method Detail |
|---|
public void setRows(int rows)
ITextArea,
and then invalidate the layout.
setRows in interface ITextArearows - the number of rows >= 0public int getRows()
getRows in interface ITextAreaITextArea.getRows()public void setColumns(int columns)
ITextField,
and then invalidate the layout.
setColumns in interface ITextFieldcolumns - the number of columns >= 0public int getColumns()
getColumns in interface ITextFieldITextField.getColumns()public void setEditable(boolean pEditable)
ITextField should be editable.
setEditable in interface ITextFieldpEditable - the boolean to be setpublic boolean isEditable()
ITextField is editable or not.
isEditable in interface ITextFieldITextField.setEditable(boolean)public void setWordWrap(boolean pWordWrap)
setWordWrap in interface ITextAreapWordWrap - the current state of the word wrap mode.public boolean isWordWrap()
isWordWrap in interface ITextAreapublic String getText()
getText in interface ILabelILabel.setText(java.lang.String)public void setText(String pText)
setText in interface ILabelpText - the textpublic void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment in interface IAlignmentConstantssetHorizontalAlignment in class QtComponent<QVxTextEdit>pHorizontalAlignment - the new vertical alignmentpublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantssetVerticalAlignment in class QtComponent<QVxTextEdit>pVerticalAlignment - the new vertical alignment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||