|
@@ -1,24 +1,24 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.forms.client.components.impls.input; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.GWT.client.widgets.*; |
5 |
|
- |
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
6 |
|
- |
import org.litesoft.uispecification.*; |
7 |
|
- |
|
8 |
|
- |
public class FormPasswordField extends AbstractOneLineTextElement { |
9 |
|
- |
/** |
10 |
|
- |
* @param pFieldLabel - empty means labelless |
11 |
|
- |
* @param pLabelFont - null no label font adjustment |
12 |
|
- |
* @param pTooltip - empty means no tooltip |
13 |
|
- |
* @param pDisplayCharsWidth - null means floodX |
14 |
|
- |
* @param pMaxChars - null means unlimited? |
15 |
|
- |
*/ |
16 |
|
- |
public FormPasswordField( String pFieldLabel, UiFont pLabelFont, String pTooltip, Integer pDisplayCharsWidth, Integer pMaxChars ) { |
17 |
|
- |
super( new PasswordTextBoxChangeListenable(), pTooltip, "frmPswdFld", false, pDisplayCharsWidth, pMaxChars ); |
18 |
|
- |
initialize( pFieldLabel, pLabelFont, pTooltip ); |
19 |
|
- |
} |
20 |
|
- |
|
21 |
|
- |
public PasswordTextBoxChangeListenable getPasswordTextBox() { |
22 |
|
- |
return (PasswordTextBoxChangeListenable) mInputWidget; |
23 |
|
- |
} |
24 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.forms.client.components.impls.input; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.GWT.client.widgets.*; |
|
5 |
+ |
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
|
6 |
+ |
import org.litesoft.uispecification.*; |
|
7 |
+ |
|
|
8 |
+ |
public class FormPasswordField extends AbstractOneLineTextElement { |
|
9 |
+ |
/** |
|
10 |
+ |
* @param pFieldLabel - empty means labelless |
|
11 |
+ |
* @param pLabelFont - null no label font adjustment |
|
12 |
+ |
* @param pTooltip - empty means no tooltip |
|
13 |
+ |
* @param pDisplayCharsWidth - null means floodX |
|
14 |
+ |
* @param pMaxChars - null means unlimited? |
|
15 |
+ |
*/ |
|
16 |
+ |
public FormPasswordField( String pFieldLabel, UiFont pLabelFont, String pTooltip, Integer pDisplayCharsWidth, Integer pMaxChars ) { |
|
17 |
+ |
super( new PasswordTextBoxChangeListenable(), pTooltip, "frmPswdFld", false, pDisplayCharsWidth, pMaxChars ); |
|
18 |
+ |
initialize( pFieldLabel, pLabelFont, pTooltip ); |
|
19 |
+ |
} |
|
20 |
+ |
|
|
21 |
+ |
public PasswordTextBoxChangeListenable getPasswordTextBox() { |
|
22 |
+ |
return (PasswordTextBoxChangeListenable) mInputWidget; |
|
23 |
+ |
} |
|
24 |
+ |
} |