Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/AbstractSizeableComposite.java

Diff revisions: vs.
  @@ -1,22 +1,22 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.client.widgets.nonpublic;
3 -
4 - import com.google.gwt.user.client.ui.*;
5 -
6 - public abstract class AbstractSizeableComposite extends AbstractLowLevelSizeableComposite {
7 - @Override
8 - public AbstractSizeableHelper getHelper() {
9 - return ((AbstractSizeableWidget) LLgetWidget()).getHelper();
10 - }
11 -
12 - /**
13 - * Sets the widget to be wrapped by the composite. The wrapped widget must be
14 - * set before calling any {@link Widget} methods on this object, or adding it
15 - * to a panel. This method may only be called once for a given composite.
16 - *
17 - * @param pWidget the widget to be wrapped
18 - */
19 - protected void initWidget( AbstractSizeableWidget pWidget ) {
20 - LLinitWidget( pWidget );
21 - }
22 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.client.widgets.nonpublic;
3 +
4 + import com.google.gwt.user.client.ui.*;
5 +
6 + public abstract class AbstractSizeableComposite extends AbstractLowLevelSizeableComposite {
7 + @Override
8 + public AbstractSizeableHelper getHelper() {
9 + return ((AbstractSizeableWidget) LLgetWidget()).getHelper();
10 + }
11 +
12 + /**
13 + * Sets the widget to be wrapped by the composite. The wrapped widget must be
14 + * set before calling any {@link Widget} methods on this object, or adding it
15 + * to a panel. This method may only be called once for a given composite.
16 + *
17 + * @param pWidget the widget to be wrapped
18 + */
19 + protected void initWidget( AbstractSizeableWidget pWidget ) {
20 + LLinitWidget( pWidget );
21 + }
22 + }