litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/GwtRenderDimensionAdapterY.java
|
@@ -5,53 +5,44 @@ |
5 |
5 |
|
|
6 |
6 |
|
import com.google.gwt.user.client.ui.*; |
7 |
7 |
|
|
8 |
|
- |
public class GwtRenderDimensionAdapterY extends AbstractGwtRenderDimensionAdapter |
9 |
|
- |
{ |
|
8 |
+ |
public class GwtRenderDimensionAdapterY extends AbstractGwtRenderDimensionAdapter { |
10 |
9 |
|
public static final RenderDimensionAdapter INSTANCE = new GwtRenderDimensionAdapterY(); |
11 |
10 |
|
|
12 |
|
- |
protected GwtRenderDimensionAdapterY() |
13 |
|
- |
{ |
|
11 |
+ |
protected GwtRenderDimensionAdapterY() { |
14 |
12 |
|
} |
15 |
13 |
|
|
16 |
14 |
|
@Override |
17 |
|
- |
public String getWhat() |
18 |
|
- |
{ |
|
15 |
+ |
public String getWhat() { |
19 |
16 |
|
return "'Y'"; |
20 |
17 |
|
} |
21 |
18 |
|
|
22 |
19 |
|
@Override |
23 |
|
- |
protected int LLgetWidgetSize( Widget pWidget ) |
24 |
|
- |
{ |
|
20 |
+ |
protected int LLgetWidgetSize( Widget pWidget ) { |
25 |
21 |
|
return pWidget.getOffsetHeight(); |
26 |
22 |
|
} |
27 |
23 |
|
|
28 |
24 |
|
@Override |
29 |
|
- |
protected void LLsetSize( GwtRenderableRect pGRR, int pRequestedSize ) |
30 |
|
- |
{ |
|
25 |
+ |
protected void LLsetSize( GwtRenderableRect pGRR, int pRequestedSize ) { |
31 |
26 |
|
pGRR.LLsetWidgetHeight( pRequestedSize ); |
32 |
27 |
|
} |
33 |
28 |
|
|
34 |
29 |
|
@Override |
35 |
|
- |
protected void LLremoveSetSize( GwtRenderableRect pGRR ) |
36 |
|
- |
{ |
|
30 |
+ |
protected void LLremoveSetSize( GwtRenderableRect pGRR ) { |
37 |
31 |
|
pGRR.clearHeight(); |
38 |
32 |
|
} |
39 |
33 |
|
|
40 |
34 |
|
@Override |
41 |
|
- |
protected int LLgetContainerOverheadSize( RenderableContainer pContainer ) |
42 |
|
- |
{ |
|
35 |
+ |
protected int LLgetContainerOverheadSize( RenderableContainer pContainer ) { |
43 |
36 |
|
return pContainer.getDecorationSizeY(); |
44 |
37 |
|
} |
45 |
38 |
|
|
46 |
39 |
|
@Override |
47 |
|
- |
protected int LLgetRelativePosition( UiPositionAccessable pPositionAccessable ) |
48 |
|
- |
{ |
|
40 |
+ |
protected int LLgetRelativePosition( UiPositionAccessable pPositionAccessable ) { |
49 |
41 |
|
return pPositionAccessable.getPosTop(); |
50 |
42 |
|
} |
51 |
43 |
|
|
52 |
44 |
|
@Override |
53 |
|
- |
protected void LLsetRelativePosition( UiPositionMutable pPositionMutable, int pRequestedRelativePos ) |
54 |
|
- |
{ |
|
45 |
+ |
protected void LLsetRelativePosition( UiPositionMutable pPositionMutable, int pRequestedRelativePos ) { |
55 |
46 |
|
pPositionMutable.setPosTop( pRequestedRelativePos ); |
56 |
47 |
|
} |
57 |
48 |
|
} |