Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -1,69 +1,69 @@
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 -
6 - import com.google.gwt.user.client.ui.*;
7 -
8 - public interface FloatablesCarrier {
9 - int getWidgetCount();
10 -
11 - /**
12 - * ONLY called by a current child!
13 - */
14 - void makeTop( SizeableFloater pChild );
15 -
16 - SizeableFloater[] getFloatersSortedByTitle();
17 -
18 - SizeableFloater[] getFloatersSortedByZindex();
19 -
20 - void add( Widget w );
21 -
22 - boolean remove( Widget w );
23 -
24 - void undoCascade();
25 -
26 - void cascade();
27 -
28 - int getOffsetHeight();
29 -
30 - int getOffsetWidth();
31 -
32 - public static final FloatablesCarrier NULL = new FloatablesCarrier() {
33 - public int getWidgetCount() {
34 - return 0;
35 - }
36 -
37 - public void makeTop( SizeableFloater pChild ) {
38 - }
39 -
40 - public SizeableFloater[] getFloatersSortedByTitle() {
41 - return SizeableFloater.EMPTY_ARRAY;
42 - }
43 -
44 - public SizeableFloater[] getFloatersSortedByZindex() {
45 - return SizeableFloater.EMPTY_ARRAY;
46 - }
47 -
48 - public void add( Widget w ) {
49 - }
50 -
51 - public boolean remove( Widget w ) {
52 - return false;
53 - }
54 -
55 - public void undoCascade() {
56 - }
57 -
58 - public void cascade() {
59 - }
60 -
61 - public int getOffsetHeight() {
62 - return 0;
63 - }
64 -
65 - public int getOffsetWidth() {
66 - return 0;
67 - }
68 - };
69 - }
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 +
6 + import com.google.gwt.user.client.ui.*;
7 +
8 + public interface FloatablesCarrier {
9 + int getWidgetCount();
10 +
11 + /**
12 + * ONLY called by a current child!
13 + */
14 + void makeTop( SizeableFloater pChild );
15 +
16 + SizeableFloater[] getFloatersSortedByTitle();
17 +
18 + SizeableFloater[] getFloatersSortedByZindex();
19 +
20 + void add( Widget w );
21 +
22 + boolean remove( Widget w );
23 +
24 + void undoCascade();
25 +
26 + void cascade();
27 +
28 + int getOffsetHeight();
29 +
30 + int getOffsetWidth();
31 +
32 + public static final FloatablesCarrier NULL = new FloatablesCarrier() {
33 + public int getWidgetCount() {
34 + return 0;
35 + }
36 +
37 + public void makeTop( SizeableFloater pChild ) {
38 + }
39 +
40 + public SizeableFloater[] getFloatersSortedByTitle() {
41 + return SizeableFloater.EMPTY_ARRAY;
42 + }
43 +
44 + public SizeableFloater[] getFloatersSortedByZindex() {
45 + return SizeableFloater.EMPTY_ARRAY;
46 + }
47 +
48 + public void add( Widget w ) {
49 + }
50 +
51 + public boolean remove( Widget w ) {
52 + return false;
53 + }
54 +
55 + public void undoCascade() {
56 + }
57 +
58 + public void cascade() {
59 + }
60 +
61 + public int getOffsetHeight() {
62 + return 0;
63 + }
64 +
65 + public int getOffsetWidth() {
66 + return 0;
67 + }
68 + };
69 + }