litesoft
Diff Revisions
2
vs
23
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/nonpublic/AbstractOneLineTextElement.java
|
@@ -38,6 +38,7 @@ |
38 |
38 |
|
} |
39 |
39 |
|
pTextBoxBase.addKeyPressHandler( new KeyPressHandler() |
40 |
40 |
|
{ |
|
41 |
+ |
@Override |
41 |
42 |
|
public void onKeyPress( KeyPressEvent event ) |
42 |
43 |
|
{ |
43 |
44 |
|
if ( event != null ) |
|
@@ -179,11 +180,13 @@ |
179 |
180 |
|
41, // 80 |
180 |
181 |
|
}; |
181 |
182 |
|
|
|
183 |
+ |
@Override |
182 |
184 |
|
public int calcEMs( int pWidth ) |
183 |
185 |
|
{ |
184 |
186 |
|
return LLcalcEMs( pWidth, SMALL_EMS ); |
185 |
187 |
|
} |
186 |
188 |
|
|
|
189 |
+ |
@Override |
187 |
190 |
|
protected int calcWithFormulaEMs( int pWidth ) |
188 |
191 |
|
{ |
189 |
192 |
|
return ((pWidth + 1) / 2) + 1; |
|
@@ -279,11 +282,13 @@ |
279 |
282 |
|
49, // 80 |
280 |
283 |
|
}; |
281 |
284 |
|
|
|
285 |
+ |
@Override |
282 |
286 |
|
public int calcEMs( int pWidth ) |
283 |
287 |
|
{ |
284 |
288 |
|
return LLcalcEMs( pWidth, SMALL_EMS ); |
285 |
289 |
|
} |
286 |
290 |
|
|
|
291 |
+ |
@Override |
287 |
292 |
|
protected int calcWithFormulaEMs( int pWidth ) |
288 |
293 |
|
{ |
289 |
294 |
|
int base = 0; |