Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -1,35 +1,35 @@
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.*;
5 -
6 - public interface GwtElementDimensionHelper {
7 - public String getWhat();
8 -
9 - /**
10 - * @param pElement !null
11 - *
12 - * @return pElement's absolute Top / Left
13 - */
14 - public int getPosition( Element pElement );
15 -
16 - /**
17 - * @param pElement !null
18 - * @param pDimension size in 'pixels' to set the pElement's width / height (!positive values ignored, returns false)
19 - *
20 - * @return true if processed
21 - */
22 - public boolean setStyleDimension( Element pElement, int pDimension );
23 -
24 - /**
25 - * @param pElement !null
26 - */
27 - public void removeStyleDimension( Element pElement );
28 -
29 - /**
30 - * @param pElement !null
31 - *
32 - * @return pElement's offset Width / Height
33 - */
34 - public int getOffsetDimension( Element pElement );
35 - }
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.*;
5 +
6 + public interface GwtElementDimensionHelper {
7 + public String getWhat();
8 +
9 + /**
10 + * @param pElement !null
11 + *
12 + * @return pElement's absolute Top / Left
13 + */
14 + public int getPosition( Element pElement );
15 +
16 + /**
17 + * @param pElement !null
18 + * @param pDimension size in 'pixels' to set the pElement's width / height (!positive values ignored, returns false)
19 + *
20 + * @return true if processed
21 + */
22 + public boolean setStyleDimension( Element pElement, int pDimension );
23 +
24 + /**
25 + * @param pElement !null
26 + */
27 + public void removeStyleDimension( Element pElement );
28 +
29 + /**
30 + * @param pElement !null
31 + *
32 + * @return pElement's offset Width / Height
33 + */
34 + public int getOffsetDimension( Element pElement );
35 + }