litesoft
Diff Revisions
2
vs
23
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/PasswordTextBoxChangeListenable.java
|
@@ -13,12 +13,14 @@ |
13 |
13 |
|
|
14 |
14 |
|
TextBoxBaseChangeListenableHelper mHelper; |
15 |
15 |
|
|
|
16 |
+ |
@Override |
16 |
17 |
|
protected void onDetach() |
17 |
18 |
|
{ |
18 |
19 |
|
super.onDetach(); |
19 |
20 |
|
mHelper.onDetach(); |
20 |
21 |
|
} |
21 |
22 |
|
|
|
23 |
+ |
@Override |
22 |
24 |
|
public void setText( String text ) |
23 |
25 |
|
{ |
24 |
26 |
|
super.setText( text ); |
|
@@ -35,6 +37,7 @@ |
35 |
37 |
|
* |
36 |
38 |
|
* @return the maximum length, in characters |
37 |
39 |
|
*/ |
|
40 |
+ |
@Override |
38 |
41 |
|
public int getMaxLength() |
39 |
42 |
|
{ |
40 |
43 |
|
return DOM.getElementPropertyInt( getElement(), "maxLength" ); |
|
@@ -45,6 +48,7 @@ |
45 |
48 |
|
* |
46 |
49 |
|
* @return the number of visible characters |
47 |
50 |
|
*/ |
|
51 |
+ |
@Override |
48 |
52 |
|
public int getVisibleLength() |
49 |
53 |
|
{ |
50 |
54 |
|
return DOM.getElementPropertyInt( getElement(), "size" ); |
|
@@ -55,6 +59,7 @@ |
55 |
59 |
|
* |
56 |
60 |
|
* @param length the maximum length, in characters |
57 |
61 |
|
*/ |
|
62 |
+ |
@Override |
58 |
63 |
|
public void setMaxLength( int length ) |
59 |
64 |
|
{ |
60 |
65 |
|
DOM.setElementPropertyInt( getElement(), "maxLength", length ); |
|
@@ -65,6 +70,7 @@ |
65 |
70 |
|
* |
66 |
71 |
|
* @param length the number of visible characters |
67 |
72 |
|
*/ |
|
73 |
+ |
@Override |
68 |
74 |
|
public void setVisibleLength( int length ) |
69 |
75 |
|
{ |
70 |
76 |
|
DOM.setElementPropertyInt( getElement(), "size", length ); |