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