|
@@ -1,59 +1,59 @@ |
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 |
|
- |
import org.litesoft.uispecification.*; |
6 |
|
- |
|
7 |
|
- |
import com.google.gwt.user.client.ui.*; |
8 |
|
- |
|
9 |
|
- |
public class SizeableTitledBorderedHorizontalPanel extends AbstractSizeableHorizontalRegularPanel { |
10 |
|
- |
protected SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle, String pStyle ) { |
11 |
|
- |
initializeElements( getHelper().create_OeWidget_SeFieldSet_IeTableToTR( pOverflowHidden, pTitle ), // |
12 |
|
- |
pStyle ); |
13 |
|
- |
} |
14 |
|
- |
|
15 |
|
- |
public SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle ) { |
16 |
|
- |
this( pOverflowHidden, pTitle, "LayoutSizeableBorderedHorizontalPanel" ); |
17 |
|
- |
} |
18 |
|
- |
|
19 |
|
- |
public SizeableTitledBorderedHorizontalPanel( String pTitle ) { |
20 |
|
- |
this( true, pTitle ); |
21 |
|
- |
} |
22 |
|
- |
|
23 |
|
- |
public SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle, UiFont pTitleFont ) { |
24 |
|
- |
this( pOverflowHidden, pTitle ); |
25 |
|
- |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
26 |
|
- |
} |
27 |
|
- |
|
28 |
|
- |
public SizeableTitledBorderedHorizontalPanel( String pTitle, UiFont pTitleFont ) { |
29 |
|
- |
this( pTitle ); |
30 |
|
- |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
31 |
|
- |
} |
32 |
|
- |
|
33 |
|
- |
public SizeableTitledBorderedHorizontalPanel style( String pStyleName ) { |
34 |
|
- |
addStyleName( pStyleName ); |
35 |
|
- |
return this; |
36 |
|
- |
} |
37 |
|
- |
|
38 |
|
- |
//****** Implementation Code Block to support delegation to AbsoluteSizeHelper |
39 |
|
- |
|
40 |
|
- |
public SizeableTitledBorderedHorizontalPanel stretchable() { |
41 |
|
- |
LLstretchable(); |
42 |
|
- |
return this; |
43 |
|
- |
} |
44 |
|
- |
|
45 |
|
- |
public SizeableTitledBorderedHorizontalPanel stretchableVertically() { |
46 |
|
- |
LLstretchableVertically(); |
47 |
|
- |
return this; |
48 |
|
- |
} |
49 |
|
- |
|
50 |
|
- |
public SizeableTitledBorderedHorizontalPanel stretchableHorizontally() { |
51 |
|
- |
LLstretchableHorizontally(); |
52 |
|
- |
return this; |
53 |
|
- |
} |
54 |
|
- |
|
55 |
|
- |
public SizeableTitledBorderedHorizontalPanel setLegendAlignment( HasHorizontalAlignment.HorizontalAlignmentConstant pAlign ) { |
56 |
|
- |
CommonElementHelper.setTDalign( getHelper().getFieldSetLegend(), pAlign ); |
57 |
|
- |
return this; |
58 |
|
- |
} |
59 |
|
- |
} |
|
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 |
+ |
import org.litesoft.uispecification.*; |
|
6 |
+ |
|
|
7 |
+ |
import com.google.gwt.user.client.ui.*; |
|
8 |
+ |
|
|
9 |
+ |
public class SizeableTitledBorderedHorizontalPanel extends AbstractSizeableHorizontalRegularPanel { |
|
10 |
+ |
protected SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle, String pStyle ) { |
|
11 |
+ |
initializeElements( getHelper().create_OeWidget_SeFieldSet_IeTableToTR( pOverflowHidden, pTitle ), // |
|
12 |
+ |
pStyle ); |
|
13 |
+ |
} |
|
14 |
+ |
|
|
15 |
+ |
public SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle ) { |
|
16 |
+ |
this( pOverflowHidden, pTitle, "LayoutSizeableBorderedHorizontalPanel" ); |
|
17 |
+ |
} |
|
18 |
+ |
|
|
19 |
+ |
public SizeableTitledBorderedHorizontalPanel( String pTitle ) { |
|
20 |
+ |
this( true, pTitle ); |
|
21 |
+ |
} |
|
22 |
+ |
|
|
23 |
+ |
public SizeableTitledBorderedHorizontalPanel( boolean pOverflowHidden, String pTitle, UiFont pTitleFont ) { |
|
24 |
+ |
this( pOverflowHidden, pTitle ); |
|
25 |
+ |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
|
26 |
+ |
} |
|
27 |
+ |
|
|
28 |
+ |
public SizeableTitledBorderedHorizontalPanel( String pTitle, UiFont pTitleFont ) { |
|
29 |
+ |
this( pTitle ); |
|
30 |
+ |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
|
31 |
+ |
} |
|
32 |
+ |
|
|
33 |
+ |
public SizeableTitledBorderedHorizontalPanel style( String pStyleName ) { |
|
34 |
+ |
addStyleName( pStyleName ); |
|
35 |
+ |
return this; |
|
36 |
+ |
} |
|
37 |
+ |
|
|
38 |
+ |
//****** Implementation Code Block to support delegation to AbsoluteSizeHelper |
|
39 |
+ |
|
|
40 |
+ |
public SizeableTitledBorderedHorizontalPanel stretchable() { |
|
41 |
+ |
LLstretchable(); |
|
42 |
+ |
return this; |
|
43 |
+ |
} |
|
44 |
+ |
|
|
45 |
+ |
public SizeableTitledBorderedHorizontalPanel stretchableVertically() { |
|
46 |
+ |
LLstretchableVertically(); |
|
47 |
+ |
return this; |
|
48 |
+ |
} |
|
49 |
+ |
|
|
50 |
+ |
public SizeableTitledBorderedHorizontalPanel stretchableHorizontally() { |
|
51 |
+ |
LLstretchableHorizontally(); |
|
52 |
+ |
return this; |
|
53 |
+ |
} |
|
54 |
+ |
|
|
55 |
+ |
public SizeableTitledBorderedHorizontalPanel setLegendAlignment( HasHorizontalAlignment.HorizontalAlignmentConstant pAlign ) { |
|
56 |
+ |
CommonElementHelper.setTDalign( getHelper().getFieldSetLegend(), pAlign ); |
|
57 |
+ |
return this; |
|
58 |
+ |
} |
|
59 |
+ |
} |