|
@@ -4,8 +4,7 @@ |
4 |
4 |
|
import com.google.gwt.user.client.*; |
5 |
5 |
|
import com.google.gwt.user.client.ui.*; |
6 |
6 |
|
|
7 |
|
- |
public interface ISizeableDimensionHelper extends IDimensionHelper |
8 |
|
- |
{ |
|
7 |
+ |
public interface ISizeableDimensionHelper extends IDimensionHelper { |
9 |
8 |
|
public boolean isStretchable(); |
10 |
9 |
|
|
11 |
10 |
|
public void setStretchable( boolean pNewValue ); |
|
@@ -28,94 +27,74 @@ |
28 |
27 |
|
|
29 |
28 |
|
public void distributeToChildrenChangedDimension(); |
30 |
29 |
|
|
31 |
|
- |
public static final ISizeableDimensionHelper NULL = new ISizeableDimensionHelper() |
32 |
|
- |
{ |
33 |
|
- |
public String getWhat() |
34 |
|
- |
{ |
|
30 |
+ |
public static final ISizeableDimensionHelper NULL = new ISizeableDimensionHelper() { |
|
31 |
+ |
public String getWhat() { |
35 |
32 |
|
return "NULL"; |
36 |
33 |
|
} |
37 |
34 |
|
|
38 |
|
- |
public boolean isAdjustable() |
39 |
|
- |
{ |
|
35 |
+ |
public boolean isAdjustable() { |
40 |
36 |
|
return false; |
41 |
37 |
|
} |
42 |
38 |
|
|
43 |
|
- |
public boolean isStretchable() |
44 |
|
- |
{ |
|
39 |
+ |
public boolean isStretchable() { |
45 |
40 |
|
return false; |
46 |
41 |
|
} |
47 |
42 |
|
|
48 |
|
- |
public void setStretchable( boolean pNewValue ) |
49 |
|
- |
{ |
|
43 |
+ |
public void setStretchable( boolean pNewValue ) { |
50 |
44 |
|
} |
51 |
45 |
|
|
52 |
|
- |
public boolean setPrefferredDimension() |
53 |
|
- |
{ |
|
46 |
+ |
public boolean setPrefferredDimension() { |
54 |
47 |
|
return true; |
55 |
48 |
|
} |
56 |
49 |
|
|
57 |
|
- |
public boolean adjustSizeBy( int pDelta ) |
58 |
|
- |
{ |
|
50 |
+ |
public boolean adjustSizeBy( int pDelta ) { |
59 |
51 |
|
return true; |
60 |
52 |
|
} |
61 |
53 |
|
|
62 |
|
- |
public void setDimension( int pDimension ) |
63 |
|
- |
{ |
|
54 |
+ |
public void setDimension( int pDimension ) { |
64 |
55 |
|
} |
65 |
56 |
|
|
66 |
|
- |
public void setDimension( Widget pWidget, int pDimension ) |
67 |
|
- |
{ |
|
57 |
+ |
public void setDimension( Widget pWidget, int pDimension ) { |
68 |
58 |
|
} |
69 |
59 |
|
|
70 |
|
- |
public int getDimension() |
71 |
|
- |
{ |
|
60 |
+ |
public int getDimension() { |
72 |
61 |
|
return 0; |
73 |
62 |
|
} |
74 |
63 |
|
|
75 |
|
- |
public int getDimension( Widget pWidget ) |
76 |
|
- |
{ |
|
64 |
+ |
public int getDimension( Widget pWidget ) { |
77 |
65 |
|
return 0; |
78 |
66 |
|
} |
79 |
67 |
|
|
80 |
|
- |
public int getDimension( Element pElement ) |
81 |
|
- |
{ |
|
68 |
+ |
public int getDimension( Element pElement ) { |
82 |
69 |
|
return 0; |
83 |
70 |
|
} |
84 |
71 |
|
|
85 |
|
- |
public int getDimensionMaxShrinkability() |
86 |
|
- |
{ |
|
72 |
+ |
public int getDimensionMaxShrinkability() { |
87 |
73 |
|
return 0; |
88 |
74 |
|
} |
89 |
75 |
|
|
90 |
|
- |
public int getDecorationSize() |
91 |
|
- |
{ |
|
76 |
+ |
public int getDecorationSize() { |
92 |
77 |
|
return 0; |
93 |
78 |
|
} |
94 |
79 |
|
|
95 |
|
- |
public void deligateSetDimensionFromWidget( int pDimension ) |
96 |
|
- |
{ |
|
80 |
+ |
public void deligateSetDimensionFromWidget( int pDimension ) { |
97 |
81 |
|
} |
98 |
82 |
|
|
99 |
|
- |
public void contentChangedResizeToParent() |
100 |
|
- |
{ |
|
83 |
+ |
public void contentChangedResizeToParent() { |
101 |
84 |
|
} |
102 |
85 |
|
|
103 |
|
- |
public void distributeToChildrenChangedDimension() |
104 |
|
- |
{ |
|
86 |
+ |
public void distributeToChildrenChangedDimension() { |
105 |
87 |
|
} |
106 |
88 |
|
|
107 |
|
- |
public int getPosition( Widget pWidget ) |
108 |
|
- |
{ |
|
89 |
+ |
public int getPosition( Widget pWidget ) { |
109 |
90 |
|
return -1; |
110 |
91 |
|
} |
111 |
92 |
|
|
112 |
|
- |
public int getPosition( Element pElement ) |
113 |
|
- |
{ |
|
93 |
+ |
public int getPosition( Element pElement ) { |
114 |
94 |
|
return -1; |
115 |
95 |
|
} |
116 |
96 |
|
|
117 |
|
- |
public void setStyleDimension( Element pElement, int pDimension ) |
118 |
|
- |
{ |
|
97 |
+ |
public void setStyleDimension( Element pElement, int pDimension ) { |
119 |
98 |
|
} |
120 |
99 |
|
}; |
121 |
100 |
|
} |