Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/nonpublic/IFloaterPanelMoveAndSize.java

Diff revisions: vs.
  @@ -1,121 +1,121 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.client.nonpublic;
3 -
4 - import org.litesoft.GWT.client.widgets.nonpublic.*;
5 - import org.litesoft.core.util.*;
6 -
7 - public interface IFloaterPanelMoveAndSize extends HasChrome,
8 - UiPositionAccessable,
9 - UiSizeAccessable {
10 - int MAX_RESOLUTION_SUPPORTED = 500000;
11 -
12 - SizeWidthHeight getContentSize();
13 -
14 - String getCurrentTitle();
15 -
16 - IFloaterPanelMoveAndSize[] getAllFloaters();
17 -
18 - void setActive();
19 -
20 - boolean isPinned();
21 -
22 - void setPinned( boolean pPinned );
23 -
24 - boolean isRightAnchor();
25 -
26 - void setRightAnchor( boolean pRightAnchor );
27 -
28 - boolean isBottomAnchor();
29 -
30 - void setBottomAnchor( boolean pBottomAnchor );
31 -
32 - /**
33 - * Only support > 0 move value, otherwise ignore
34 - */
35 - void moveN( int pPixels );
36 -
37 - /**
38 - * Only support > 0 move valuse, otherwise ignore
39 - */
40 - void moveE( int pPixels );
41 -
42 - /**
43 - * Only support > 0 move valuse, otherwise ignore
44 - */
45 - void moveW( int pPixels );
46 -
47 - /**
48 - * Only support > 0 move valuse, otherwise ignore
49 - */
50 - void moveS( int pPixels );
51 -
52 - /**
53 - * Only support > 0 move valuse, otherwise ignore
54 - */
55 - void moveNW( int pPixels );
56 -
57 - /**
58 - * Only support > 0 move valuse, otherwise ignore
59 - */
60 - void moveNE( int pPixels );
61 -
62 - /**
63 - * Only support > 0 move valuse, otherwise ignore
64 - */
65 - void moveSW( int pPixels );
66 -
67 - /**
68 - * Only support > 0 move valuse, otherwise ignore
69 - */
70 - void moveSE( int pPixels );
71 -
72 - void moveToMaxN();
73 -
74 - void moveToMaxE();
75 -
76 - void moveToMaxW();
77 -
78 - void moveToMaxS();
79 -
80 - void moveToMaxNW();
81 -
82 - void moveToMaxNE();
83 -
84 - void moveToMaxSW();
85 -
86 - void moveToMaxSE();
87 -
88 - /**
89 - * Only support > 0 move valuse, otherwise ignore
90 - */
91 - void increaseWidthBy( int pPixels );
92 -
93 - /**
94 - * Only support > 0 move valuse, otherwise ignore
95 - */
96 - void decreaseWidthBy( int pPixels );
97 -
98 - /**
99 - * Only support > 0 move valuse, otherwise ignore
100 - */
101 - void increaseHeightBy( int pPixels );
102 -
103 - /**
104 - * Only support > 0 move valuse, otherwise ignore
105 - */
106 - void decreaseHeightBy( int pPixels );
107 -
108 - void expandToMaxWidth();
109 -
110 - void expandToMaxHeight();
111 -
112 - /**
113 - * Only support to min size, otherwise ignore. Note <= 0 is too small
114 - */
115 - void setWidth( int pPixels );
116 -
117 - /**
118 - * Only support to min size, otherwise ignore. Note <= 0 is too small
119 - */
120 - void setHeight( int pPixels );
121 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.client.nonpublic;
3 +
4 + import org.litesoft.GWT.client.widgets.nonpublic.*;
5 + import org.litesoft.core.util.*;
6 +
7 + public interface IFloaterPanelMoveAndSize extends HasChrome,
8 + UiPositionAccessable,
9 + UiSizeAccessable {
10 + int MAX_RESOLUTION_SUPPORTED = 500000;
11 +
12 + SizeWidthHeight getContentSize();
13 +
14 + String getCurrentTitle();
15 +
16 + IFloaterPanelMoveAndSize[] getAllFloaters();
17 +
18 + void setActive();
19 +
20 + boolean isPinned();
21 +
22 + void setPinned( boolean pPinned );
23 +
24 + boolean isRightAnchor();
25 +
26 + void setRightAnchor( boolean pRightAnchor );
27 +
28 + boolean isBottomAnchor();
29 +
30 + void setBottomAnchor( boolean pBottomAnchor );
31 +
32 + /**
33 + * Only support > 0 move value, otherwise ignore
34 + */
35 + void moveN( int pPixels );
36 +
37 + /**
38 + * Only support > 0 move valuse, otherwise ignore
39 + */
40 + void moveE( int pPixels );
41 +
42 + /**
43 + * Only support > 0 move valuse, otherwise ignore
44 + */
45 + void moveW( int pPixels );
46 +
47 + /**
48 + * Only support > 0 move valuse, otherwise ignore
49 + */
50 + void moveS( int pPixels );
51 +
52 + /**
53 + * Only support > 0 move valuse, otherwise ignore
54 + */
55 + void moveNW( int pPixels );
56 +
57 + /**
58 + * Only support > 0 move valuse, otherwise ignore
59 + */
60 + void moveNE( int pPixels );
61 +
62 + /**
63 + * Only support > 0 move valuse, otherwise ignore
64 + */
65 + void moveSW( int pPixels );
66 +
67 + /**
68 + * Only support > 0 move valuse, otherwise ignore
69 + */
70 + void moveSE( int pPixels );
71 +
72 + void moveToMaxN();
73 +
74 + void moveToMaxE();
75 +
76 + void moveToMaxW();
77 +
78 + void moveToMaxS();
79 +
80 + void moveToMaxNW();
81 +
82 + void moveToMaxNE();
83 +
84 + void moveToMaxSW();
85 +
86 + void moveToMaxSE();
87 +
88 + /**
89 + * Only support > 0 move valuse, otherwise ignore
90 + */
91 + void increaseWidthBy( int pPixels );
92 +
93 + /**
94 + * Only support > 0 move valuse, otherwise ignore
95 + */
96 + void decreaseWidthBy( int pPixels );
97 +
98 + /**
99 + * Only support > 0 move valuse, otherwise ignore
100 + */
101 + void increaseHeightBy( int pPixels );
102 +
103 + /**
104 + * Only support > 0 move valuse, otherwise ignore
105 + */
106 + void decreaseHeightBy( int pPixels );
107 +
108 + void expandToMaxWidth();
109 +
110 + void expandToMaxHeight();
111 +
112 + /**
113 + * Only support to min size, otherwise ignore. Note <= 0 is too small
114 + */
115 + void setWidth( int pPixels );
116 +
117 + /**
118 + * Only support to min size, otherwise ignore. Note <= 0 is too small
119 + */
120 + void setHeight( int pPixels );
121 + }