15-Sep megacz XWT.java: new retheme() syntax
-
+23-Sep megacz SpecialBoxProperty.java: invisible now returns true if
+ any of the box's ancestors is invisible.
} });
specialBoxProperties.put("invisible", new SpecialBoxProperty() {
- public Object get(Box b) { return b.invisible ? Boolean.TRUE : Boolean.FALSE; }
+ public Object get(Box b) {
+ for (Box cur = b; cur != null; cur = cur.getParent()) { if (cur.invisible) return Boolean.TRUE; }
+ return Boolean.FALSE;
+ }
public void put(Box b, Object value) {
boolean newinvisible = stob(value);
if (newinvisible == b.invisible) return;