litesoft
Diff Revisions
151
vs
243
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/AbstractSizeableTwoDimensionalPanel.java
|
@@ -159,12 +159,12 @@ |
159 |
159 |
|
|
160 |
160 |
|
public static void setTdHorizontalAlignment( Element td, HorizontalAlignmentConstant hAlign ) |
161 |
161 |
|
{ |
162 |
|
- |
DOM.setElementProperty( td, "align", hAlign.getTextAlignString() ); |
|
162 |
+ |
CommonElementHelper.setTDalign( td, hAlign ); |
163 |
163 |
|
} |
164 |
164 |
|
|
165 |
165 |
|
public static void setTdVerticalAlignment( Element td, VerticalAlignmentConstant vAlign ) |
166 |
166 |
|
{ |
167 |
|
- |
DOM.setStyleAttribute( td, "verticalAlign", vAlign.getVerticalAlignString() ); |
|
167 |
+ |
CommonElementHelper.setTDvAlign( td, vAlign ); |
168 |
168 |
|
} |
169 |
169 |
|
|
170 |
170 |
|
/** |
|
@@ -356,6 +356,7 @@ |
356 |
356 |
|
* |
357 |
357 |
|
* @return true if OK to add |
358 |
358 |
|
*/ |
|
359 |
+ |
@SuppressWarnings({"UnusedParameters"}) |
359 |
360 |
|
protected boolean aboutToAdopt( Widget pWidget, int pBeforeIndex ) |
360 |
361 |
|
{ |
361 |
362 |
|
return true; |
|
@@ -365,6 +366,7 @@ |
365 |
366 |
|
* Override point for special behavior of index based addition. |
366 |
367 |
|
* Should not throw an exception! |
367 |
368 |
|
*/ |
|
369 |
+ |
@SuppressWarnings({"UnusedParameters"}) |
368 |
370 |
|
protected void justAdopted( Widget pWidget, int pWidgetIndex ) |
369 |
371 |
|
{ |
370 |
372 |
|
} |
|
@@ -375,6 +377,7 @@ |
375 |
377 |
|
* |
376 |
378 |
|
* @return true if OK to add |
377 |
379 |
|
*/ |
|
380 |
+ |
@SuppressWarnings({"UnusedParameters"}) |
378 |
381 |
|
protected boolean aboutToDisown( Widget pWidget, int pBeforeIndex ) |
379 |
382 |
|
{ |
380 |
383 |
|
return true; |
|
@@ -384,6 +387,7 @@ |
384 |
387 |
|
* Override point for special behavior of index based removal. |
385 |
388 |
|
* Should not throw an exception! |
386 |
389 |
|
*/ |
|
390 |
+ |
@SuppressWarnings({"UnusedParameters"}) |
387 |
391 |
|
protected void justDisowned( Widget pWidget, int pWidgetIndex ) |
388 |
392 |
|
{ |
389 |
393 |
|
} |