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