litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/OurWidgetConstrainer.java
|
@@ -1,15 +1,14 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget; |
2 |
2 |
|
|
3 |
|
- |
import com.google.gwt.user.client.ui.HorizontalPanel; |
4 |
|
- |
import com.google.gwt.user.client.ui.Widget; |
|
3 |
+ |
import com.google.gwt.user.client.ui.*; |
5 |
4 |
|
|
6 |
5 |
|
public class OurWidgetConstrainer extends HorizontalPanel { |
7 |
|
- |
public OurWidgetConstrainer(Widget widget) { |
8 |
|
- |
add(widget); |
|
6 |
+ |
public OurWidgetConstrainer( Widget widget ) { |
|
7 |
+ |
add( widget ); |
9 |
8 |
|
} |
10 |
9 |
|
|
11 |
|
- |
public OurWidgetConstrainer style(String className) { |
12 |
|
- |
addStyleName(className); |
|
10 |
+ |
public OurWidgetConstrainer style( String className ) { |
|
11 |
+ |
addStyleName( className ); |
13 |
12 |
|
return this; |
14 |
13 |
|
} |
15 |
14 |
|
} |