Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/GwtRenderDimensionAdapterX.java

Diff revisions: vs.
  @@ -5,53 +5,44 @@
5 5
6 6 import com.google.gwt.user.client.ui.*;
7 7
8 - public class GwtRenderDimensionAdapterX extends AbstractGwtRenderDimensionAdapter
9 - {
8 + public class GwtRenderDimensionAdapterX extends AbstractGwtRenderDimensionAdapter {
10 9 public static final RenderDimensionAdapter INSTANCE = new GwtRenderDimensionAdapterX();
11 10
12 - protected GwtRenderDimensionAdapterX()
13 - {
11 + protected GwtRenderDimensionAdapterX() {
14 12 }
15 13
16 14 @Override
17 - public String getWhat()
18 - {
15 + public String getWhat() {
19 16 return "'X'";
20 17 }
21 18
22 19 @Override
23 - protected int LLgetWidgetSize( Widget pWidget )
24 - {
20 + protected int LLgetWidgetSize( Widget pWidget ) {
25 21 return pWidget.getOffsetWidth();
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.LLsetWidgetWidth( pRequestedSize );
32 27 }
33 28
34 29 @Override
35 - protected void LLremoveSetSize( GwtRenderableRect pGRR )
36 - {
30 + protected void LLremoveSetSize( GwtRenderableRect pGRR ) {
37 31 pGRR.clearWidth();
38 32 }
39 33
40 34 @Override
41 - protected int LLgetContainerOverheadSize( RenderableContainer pContainer )
42 - {
35 + protected int LLgetContainerOverheadSize( RenderableContainer pContainer ) {
43 36 return pContainer.getDecorationSizeX();
44 37 }
45 38
46 39 @Override
47 - protected int LLgetRelativePosition( UiPositionAccessable pPositionAccessable )
48 - {
40 + protected int LLgetRelativePosition( UiPositionAccessable pPositionAccessable ) {
49 41 return pPositionAccessable.getPosLeft();
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.setPosLeft( pRequestedRelativePos );
56 47 }
57 48 }