litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/NewClippingSimplePanel.java
|
@@ -1,20 +1,20 @@ |
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.render.*; |
6 |
|
- |
|
7 |
|
- |
public abstract class NewClippingSimplePanel extends AbstractSizableSimplePanel { |
8 |
|
- |
protected NewClippingSimplePanel( StyleSet pStyleSet ) { |
9 |
|
- |
super( pStyleSet, RenderContainmentApproach.SizableClipping ); |
10 |
|
- |
mRenderHelperX.setMinimumSize( 1 ); |
11 |
|
- |
mRenderHelperY.setMinimumSize( 1 ); |
12 |
|
- |
} |
13 |
|
- |
|
14 |
|
- |
protected NewClippingSimplePanel( String pNoSizeAffectingCSS_StyleClassname ) { |
15 |
|
- |
this( StyleSet.createDiv() ); |
16 |
|
- |
if ( pNoSizeAffectingCSS_StyleClassname != null ) { |
17 |
|
- |
setStyleName( pNoSizeAffectingCSS_StyleClassname ); |
18 |
|
- |
} |
19 |
|
- |
} |
20 |
|
- |
} |
|
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.render.*; |
|
6 |
+ |
|
|
7 |
+ |
public abstract class NewClippingSimplePanel extends AbstractSizableSimplePanel { |
|
8 |
+ |
protected NewClippingSimplePanel( StyleSet pStyleSet ) { |
|
9 |
+ |
super( pStyleSet, RenderContainmentApproach.SizableClipping ); |
|
10 |
+ |
mRenderHelperX.setMinimumSize( 1 ); |
|
11 |
+ |
mRenderHelperY.setMinimumSize( 1 ); |
|
12 |
+ |
} |
|
13 |
+ |
|
|
14 |
+ |
protected NewClippingSimplePanel( String pNoSizeAffectingCSS_StyleClassname ) { |
|
15 |
+ |
this( StyleSet.createDiv() ); |
|
16 |
+ |
if ( pNoSizeAffectingCSS_StyleClassname != null ) { |
|
17 |
+ |
setStyleName( pNoSizeAffectingCSS_StyleClassname ); |
|
18 |
+ |
} |
|
19 |
+ |
} |
|
20 |
+ |
} |