|
@@ -1,50 +1,50 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client.widgets; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.GWT.client.widgets.nonpublic.*; |
5 |
|
- |
|
6 |
|
- |
import com.google.gwt.user.client.ui.*; |
7 |
|
- |
|
8 |
|
- |
public class SizeableSimplePanel extends AbstractSizeableSimplePanel { |
9 |
|
- |
protected SizeableSimplePanel( boolean pOverflowHidden, String pStyle ) { |
10 |
|
- |
initializeElements( getHelper().create_OeTable_SeDiv_IeDiv( pOverflowHidden ), pStyle ); |
11 |
|
- |
} |
12 |
|
- |
|
13 |
|
- |
public SizeableSimplePanel( boolean pOverflowHidden ) { |
14 |
|
- |
this( pOverflowHidden, "LayoutSizeableSimplePanel" ); |
15 |
|
- |
} |
16 |
|
- |
|
17 |
|
- |
public SizeableSimplePanel() { |
18 |
|
- |
this( true ); |
19 |
|
- |
} |
20 |
|
- |
|
21 |
|
- |
public SizeableSimplePanel( Widget pWidget ) { |
22 |
|
- |
this(); |
23 |
|
- |
setWidget( pWidget ); |
24 |
|
- |
} |
25 |
|
- |
|
26 |
|
- |
public SizeableSimplePanel( boolean pOverflowHidden, Widget pWidget ) { |
27 |
|
- |
this( pOverflowHidden ); |
28 |
|
- |
setWidget( pWidget ); |
29 |
|
- |
} |
30 |
|
- |
|
31 |
|
- |
public SizeableSimplePanel style( String pStyleName ) { |
32 |
|
- |
addStyleName( pStyleName ); |
33 |
|
- |
return this; |
34 |
|
- |
} |
35 |
|
- |
|
36 |
|
- |
public SizeableSimplePanel stretchable() { |
37 |
|
- |
LLstretchable(); |
38 |
|
- |
return this; |
39 |
|
- |
} |
40 |
|
- |
|
41 |
|
- |
public SizeableSimplePanel stretchableVertically() { |
42 |
|
- |
LLstretchableVertically(); |
43 |
|
- |
return this; |
44 |
|
- |
} |
45 |
|
- |
|
46 |
|
- |
public SizeableSimplePanel stretchableHorizontally() { |
47 |
|
- |
LLstretchableHorizontally(); |
48 |
|
- |
return this; |
49 |
|
- |
} |
50 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client.widgets; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.GWT.client.widgets.nonpublic.*; |
|
5 |
+ |
|
|
6 |
+ |
import com.google.gwt.user.client.ui.*; |
|
7 |
+ |
|
|
8 |
+ |
public class SizeableSimplePanel extends AbstractSizeableSimplePanel { |
|
9 |
+ |
protected SizeableSimplePanel( boolean pOverflowHidden, String pStyle ) { |
|
10 |
+ |
initializeElements( getHelper().create_OeTable_SeDiv_IeDiv( pOverflowHidden ), pStyle ); |
|
11 |
+ |
} |
|
12 |
+ |
|
|
13 |
+ |
public SizeableSimplePanel( boolean pOverflowHidden ) { |
|
14 |
+ |
this( pOverflowHidden, "LayoutSizeableSimplePanel" ); |
|
15 |
+ |
} |
|
16 |
+ |
|
|
17 |
+ |
public SizeableSimplePanel() { |
|
18 |
+ |
this( true ); |
|
19 |
+ |
} |
|
20 |
+ |
|
|
21 |
+ |
public SizeableSimplePanel( Widget pWidget ) { |
|
22 |
+ |
this(); |
|
23 |
+ |
setWidget( pWidget ); |
|
24 |
+ |
} |
|
25 |
+ |
|
|
26 |
+ |
public SizeableSimplePanel( boolean pOverflowHidden, Widget pWidget ) { |
|
27 |
+ |
this( pOverflowHidden ); |
|
28 |
+ |
setWidget( pWidget ); |
|
29 |
+ |
} |
|
30 |
+ |
|
|
31 |
+ |
public SizeableSimplePanel style( String pStyleName ) { |
|
32 |
+ |
addStyleName( pStyleName ); |
|
33 |
+ |
return this; |
|
34 |
+ |
} |
|
35 |
+ |
|
|
36 |
+ |
public SizeableSimplePanel stretchable() { |
|
37 |
+ |
LLstretchable(); |
|
38 |
+ |
return this; |
|
39 |
+ |
} |
|
40 |
+ |
|
|
41 |
+ |
public SizeableSimplePanel stretchableVertically() { |
|
42 |
+ |
LLstretchableVertically(); |
|
43 |
+ |
return this; |
|
44 |
+ |
} |
|
45 |
+ |
|
|
46 |
+ |
public SizeableSimplePanel stretchableHorizontally() { |
|
47 |
+ |
LLstretchableHorizontally(); |
|
48 |
+ |
return this; |
|
49 |
+ |
} |
|
50 |
+ |
} |