|
@@ -1,46 +1,46 @@ |
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 SizeableTitledBorderedHorizontalSplitPairPanel extends AbstractSizeableHorizontalSplitPairPanel { |
10 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle, UiFont pTitleFont ) { |
11 |
|
- |
this( pTitle ); |
12 |
|
- |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
13 |
|
- |
} |
14 |
|
- |
|
15 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle ) { |
16 |
|
- |
this( pTitle, "LayoutSizeableTitledBorderedHorizontalSplitPairPanel" ); |
17 |
|
- |
} |
18 |
|
- |
|
19 |
|
- |
protected SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle, String pStyle ) { |
20 |
|
- |
initializeElements( getHelper().create_OeWidget_SeFieldSet_IeTableToTR( true, pTitle ), pStyle ); |
21 |
|
- |
} |
22 |
|
- |
|
23 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel style( String pStyleName ) { |
24 |
|
- |
addStyleName( pStyleName ); |
25 |
|
- |
return this; |
26 |
|
- |
} |
27 |
|
- |
|
28 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel favorFirstWidget() { |
29 |
|
- |
setFavorFirstWidget(); |
30 |
|
- |
return this; |
31 |
|
- |
} |
32 |
|
- |
|
33 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel stretchable() { |
34 |
|
- |
return stretchableVertically(); |
35 |
|
- |
} |
36 |
|
- |
|
37 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel stretchableVertically() { |
38 |
|
- |
LLstretchableVertically(); |
39 |
|
- |
return this; |
40 |
|
- |
} |
41 |
|
- |
|
42 |
|
- |
public SizeableTitledBorderedHorizontalSplitPairPanel setLegendAlignment( HasHorizontalAlignment.HorizontalAlignmentConstant pAlign ) { |
43 |
|
- |
CommonElementHelper.setTDalign( getHelper().getFieldSetLegend(), pAlign ); |
44 |
|
- |
return this; |
45 |
|
- |
} |
46 |
|
- |
} |
|
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 SizeableTitledBorderedHorizontalSplitPairPanel extends AbstractSizeableHorizontalSplitPairPanel { |
|
10 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle, UiFont pTitleFont ) { |
|
11 |
+ |
this( pTitle ); |
|
12 |
+ |
ApplyFont.to( pTitleFont, getHelper().getFieldSetLegend() ); |
|
13 |
+ |
} |
|
14 |
+ |
|
|
15 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle ) { |
|
16 |
+ |
this( pTitle, "LayoutSizeableTitledBorderedHorizontalSplitPairPanel" ); |
|
17 |
+ |
} |
|
18 |
+ |
|
|
19 |
+ |
protected SizeableTitledBorderedHorizontalSplitPairPanel( String pTitle, String pStyle ) { |
|
20 |
+ |
initializeElements( getHelper().create_OeWidget_SeFieldSet_IeTableToTR( true, pTitle ), pStyle ); |
|
21 |
+ |
} |
|
22 |
+ |
|
|
23 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel style( String pStyleName ) { |
|
24 |
+ |
addStyleName( pStyleName ); |
|
25 |
+ |
return this; |
|
26 |
+ |
} |
|
27 |
+ |
|
|
28 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel favorFirstWidget() { |
|
29 |
+ |
setFavorFirstWidget(); |
|
30 |
+ |
return this; |
|
31 |
+ |
} |
|
32 |
+ |
|
|
33 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel stretchable() { |
|
34 |
+ |
return stretchableVertically(); |
|
35 |
+ |
} |
|
36 |
+ |
|
|
37 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel stretchableVertically() { |
|
38 |
+ |
LLstretchableVertically(); |
|
39 |
+ |
return this; |
|
40 |
+ |
} |
|
41 |
+ |
|
|
42 |
+ |
public SizeableTitledBorderedHorizontalSplitPairPanel setLegendAlignment( HasHorizontalAlignment.HorizontalAlignmentConstant pAlign ) { |
|
43 |
+ |
CommonElementHelper.setTDalign( getHelper().getFieldSetLegend(), pAlign ); |
|
44 |
+ |
return this; |
|
45 |
+ |
} |
|
46 |
+ |
} |