litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.GWT.client.widgets; import org.litesoft.GWT.client.widgets.nonpublic.*; import com.google.gwt.user.client.ui.*; public interface FloatablesCarrier { int getWidgetCount(); /** * ONLY called by a current child! */ void makeTop( SizeableFloater pChild ); SizeableFloater[] getFloatersSortedByTitle(); SizeableFloater[] getFloatersSortedByZindex(); void add( Widget w ); boolean remove( Widget w ); void undoCascade(); void cascade(); int getOffsetHeight(); int getOffsetWidth(); public static final FloatablesCarrier NULL = new FloatablesCarrier() { public int getWidgetCount() { return 0; } public void makeTop( SizeableFloater pChild ) { } public SizeableFloater[] getFloatersSortedByTitle() { return SizeableFloater.EMPTY_ARRAY; } public SizeableFloater[] getFloatersSortedByZindex() { return SizeableFloater.EMPTY_ARRAY; } public void add( Widget w ) { } public boolean remove( Widget w ) { return false; } public void undoCascade() { } public void cascade() { } public int getOffsetHeight() { return 0; } public int getOffsetWidth() { return 0; } }; } |