litesoft
Diff Revisions
150
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/HeightStretchableAdjustor.java
|
@@ -1,9 +1,10 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.client.widgets.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
import com.google.gwt.user.client.ui.*; |
5 |
4 |
|
import org.litesoft.GWT.client.widgets.*; |
6 |
5 |
|
|
|
6 |
+ |
import com.google.gwt.user.client.ui.*; |
|
7 |
+ |
|
7 |
8 |
|
public class HeightStretchableAdjustor implements StretchabilityAdjustor |
8 |
9 |
|
{ |
9 |
10 |
|
public static final StretchabilityAdjustor INSTANCE = new HeightStretchableAdjustor(); |
|
@@ -18,7 +19,6 @@ |
18 |
19 |
|
|
19 |
20 |
|
public static boolean isStretchable( Widget pWidget ) |
20 |
21 |
|
{ |
21 |
|
- |
return (pWidget instanceof ISizeableWidget) && |
22 |
|
- |
((ISizeableWidget) pWidget).getHeightHelper().isStretchable(); |
|
22 |
+ |
return (pWidget instanceof ISizeableWidget) && ((ISizeableWidget) pWidget).getHeightHelper().isStretchable(); |
23 |
23 |
|
} |
24 |
24 |
|
} |