litesoft
Diff Revisions
2
vs
23
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/TextAreaChangeListenable.java
|
@@ -22,6 +22,7 @@ |
22 |
22 |
|
|
23 |
23 |
|
TextBoxBaseChangeListenableHelper mHelper; |
24 |
24 |
|
|
|
25 |
+ |
@Override |
25 |
26 |
|
protected void onDetach() |
26 |
27 |
|
{ |
27 |
28 |
|
super.onDetach(); |
|
@@ -33,17 +34,20 @@ |
33 |
34 |
|
DOM.setElementPropertyBoolean(getElement(), "readOnly", !enabled); |
34 |
35 |
|
} |
35 |
36 |
|
|
|
37 |
+ |
@Override |
36 |
38 |
|
public void setText( String text ) |
37 |
39 |
|
{ |
38 |
40 |
|
super.setText( text ); |
39 |
41 |
|
mHelper.setText( text ); |
40 |
42 |
|
} |
41 |
43 |
|
|
|
44 |
+ |
@Override |
42 |
45 |
|
public void setCharacterWidth( int width ) |
43 |
46 |
|
{ |
44 |
47 |
|
super.setCharacterWidth( width < 20 ? 20 : width ); |
45 |
48 |
|
} |
46 |
49 |
|
|
|
50 |
+ |
@Override |
47 |
51 |
|
public void setVisibleLines( int lines ) |
48 |
52 |
|
{ |
49 |
53 |
|
super.setVisibleLines( lines < 2 ? 2 : lines ); |