|
||||||||||
| 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<QVxLineEdit>
com.sibvisions.rad.ui.qt.impl.component.QtTextField
public class QtTextField
The QtTextField is the ITextField
implementation for QT.
QVxLineEdit,
ITextField| 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 | |
|---|---|
QtTextField()
Creates a new instance of QtTextField. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Returns the number of columns in this ITextField. |
String |
getText()
Returns the text string that the label displays. |
boolean |
isEditable()
Returns the boolean indicating whether this ITextField is editable or not. |
void |
setColumns(int pColumns)
Sets the number of columns in this ITextField,
and then invalidate the layout. |
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 |
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. |
| 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 QtTextField()
QtTextField.
| Method Detail |
|---|
public void setColumns(int pColumns)
ITextField,
and then invalidate the layout.
setColumns in interface ITextFieldpColumns - the number of columns >= 0public int getColumns()
ITextField.
getColumns in interface ITextFieldpublic boolean isEditable()
ITextField is editable or not.
isEditable in interface ITextFieldITextField.setEditable(boolean)public void setEditable(boolean pEditable)
ITextField should be editable.
setEditable in interface ITextFieldpEditable - the boolean to be setpublic 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<QVxLineEdit>pHorizontalAlignment - the new vertical alignmentpublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantssetVerticalAlignment in class QtComponent<QVxLineEdit>pVerticalAlignment - the new vertical alignment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||