// FIXME
// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt;
+package org.ibex;
// FEATURE: reflow before allowing js to read from width/height
// FEATURE: fastpath for rows=1/cols=1
// FEATURE: or else have a way to mark a column "same as last one"?
// FEATURE: reintroduce surface.abort
-import java.io.*;
-import java.net.*;
import java.util.*;
-import org.xwt.js.*;
-import org.xwt.util.*;
+import org.ibex.js.*;
+import org.ibex.util.*;
import org.xwt.translators.*;
/**
* <p>
- * Encapsulates the data for a single XWT box as well as all layout
+ * Encapsulates the data for a single Ibex box as well as all layout
* rendering logic.
* </p>
*
}
- // Methods to implement org.xwt.js.JS //////////////////////////////////////
+ // Methods to implement org.ibex.js.JS //////////////////////////////////////
public int globalToLocalX(int x) { return parent == null ? x : parent.globalToLocalX(x - this.x); }
public int globalToLocalY(int y) { return parent == null ? y : parent.globalToLocalY(y - this.y); }
int globaly = 0;
// WARNING: this method is called from the event-queueing thread -- it may run concurrently with
- // ANY part of XWT, and is UNSYNCHRONIZED for performance reasons. BE CAREFUL HERE.
+ // ANY part of Ibex, and is UNSYNCHRONIZED for performance reasons. BE CAREFUL HERE.
if (!cur.test(VISIBLE)) return null;
if (!cur.inside(x - globalx, y - globaly)) return cur.parent == null ? cur : null;