|
||||||||||
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<IPasswordField>
javax.rad.genui.component.UIPasswordField
public class UIPasswordField
Platform and technology independent password field. 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 | |
---|---|
|
UIPasswordField()
Creates a new instance of UIPasswordField . |
protected |
UIPasswordField(IPasswordField pField)
Creates a new instance of UIPasswordField with the given
password field. |
|
UIPasswordField(String pText)
Creates a new instance of UIPasswordField . |
Method Summary | |
---|---|
char |
getEchoChar()
Returns the character to be used for echoing. |
void |
setEchoChar(char pChar)
Sets the echo character for this JPasswordField . |
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 UIPasswordField()
UIPasswordField
.
IPasswordField
protected UIPasswordField(IPasswordField pField)
UIPasswordField
with the given
password field.
pField
- the password fieldIPasswordField
public UIPasswordField(String pText)
UIPasswordField
.
pText
- the text.IPasswordField
Method Detail |
---|
public char getEchoChar()
getEchoChar
in interface IPasswordField
public void setEchoChar(char pChar)
JPasswordField
.
Note that this is largely a suggestion, since the
view that gets installed can use whatever graphic techniques
it desires to represent the field. Setting a value of 0 indicates
that you wish to see the text as it is typed, similar to
the behavior of a standard JTextField
.
setEchoChar
in interface IPasswordField
pChar
- the echo character to display
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |