|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextField
Platform and technology independent text field definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
TextField
,
JTextField
Field Summary |
---|
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
Method Summary | |
---|---|
int |
getColumns()
Returns the number of columns in this ITextField . |
boolean |
isBorderVisible()
Returns whether the the border of the text field is visible. |
boolean |
isEditable()
Returns the boolean indicating whether this ITextField is editable or not. |
void |
selectAll()
Selects the whole text, and sets the caret position to the end. |
void |
setBorderVisible(boolean pVisible)
Sets the border of the text field visible or invisible. |
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. |
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 |
Method Detail |
---|
int getColumns()
ITextField
.
void setColumns(int pColumns)
ITextField
,
and then invalidate the layout.
pColumns
- the number of columns >= 0
IllegalArgumentException
- if columns
is less than 0void setEditable(boolean pEditable)
ITextField
should be editable.
pEditable
- the boolean to be setboolean isEditable()
ITextField
is editable or not.
setEditable(boolean)
void setBorderVisible(boolean pVisible)
pVisible
- true
to set the border visible or false
to hide
the borderboolean isBorderVisible()
true
if the border is visible, false
if the border is invisiblevoid selectAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |