/** * Similar to clone only strongly typed * TODO Java 5: The use of covariant return types on clone() can eliminate * this method. */ public RectListManager copy() { return new RectListManager(rects); }
/** * Similar to clone only strongly typed * TODO Java 5: The use of covariant return types on clone() can eliminate * this method. */ public RectListManager copy() { return new RectListManager(rects); }
/** * Similar to clone only strongly typed * TODO Java 5: The use of covariant return types on clone() can eliminate * this method. */ public RectListManager copy() { return new RectListManager(rects); }
public void repaint(Shape area) { if (area == null) return; RectListManager rlm = new RectListManager(); rlm.add(usr2dev.createTransformedShape(area).getBounds()); repaint(rlm); }
public void repaint(Shape area) { if (area == null) return; RectListManager rlm = new RectListManager(); rlm.add(usr2dev.createTransformedShape(area).getBounds()); repaint(rlm); }
public void repaint(Shape area) { if (area == null) return; RectListManager rlm = new RectListManager(); rlm.add(usr2dev.createTransformedShape(area).getBounds()); repaint(rlm); }
public boolean addAll(Collection c) { if (c instanceof RectListManager) { add((RectListManager)c); } else { add(new RectListManager(c)); } return (c.size() != 0); }
public boolean addAll(Collection c) { if (c instanceof RectListManager) { add((RectListManager)c); } else { add(new RectListManager(c)); } return (c.size() != 0); }
public boolean addAll(Collection c) { if (c instanceof RectListManager) { add((RectListManager)c); } else { add(new RectListManager(c)); } return (c.size() != 0); }
/** * Returns true if this collection contains all of the elements in * the specified collection. */ public boolean containsAll(Collection c) { if (c instanceof RectListManager) return containsAll((RectListManager)c); return containsAll(new RectListManager(c)); }
public boolean removeAll(Collection c) { if (c instanceof RectListManager) return removeAll((RectListManager)c); return removeAll(new RectListManager(c)); }
public boolean retainAll(Collection c) { if (c instanceof RectListManager) return retainAll((RectListManager)c); return retainAll(new RectListManager(c)); } public boolean retainAll(RectListManager rlm) {
public boolean retainAll(Collection c) { if (c instanceof RectListManager) return retainAll((RectListManager)c); return retainAll(new RectListManager(c)); } public boolean retainAll(RectListManager rlm) {
public boolean retainAll(Collection c) { if (c instanceof RectListManager) return retainAll((RectListManager)c); return retainAll(new RectListManager(c)); } public boolean retainAll(RectListManager rlm) {
/** * Returns true if this collection contains all of the elements in * the specified collection. */ public boolean containsAll(Collection c) { if (c instanceof RectListManager) return containsAll((RectListManager)c); return containsAll(new RectListManager(c)); }
public boolean removeAll(Collection c) { if (c instanceof RectListManager) return removeAll((RectListManager)c); return removeAll(new RectListManager(c)); }
/** * Repaints the associated GVT tree under <code>area</code>. * * If double buffered is true and this method completes cleanly it * will set the result of the repaint as the image returned by * getOffscreen otherwise the old image will still be returned. * If double buffered is false it is possible some effects of * the failed rendering will be visible in the image returned * by getOffscreen. * * @param area region to be repainted, in the current user space * coordinate system. */ public void repaint(Shape area) { if (area == null) return; RectListManager rlm = new RectListManager(); rlm.add(usr2dev.createTransformedShape(area).getBounds()); repaint(rlm); }
/** * Returns true if this collection contains all of the elements in * the specified collection. */ public boolean containsAll(Collection c) { if (c instanceof RectListManager) return containsAll((RectListManager)c); return containsAll(new RectListManager(c)); }
public boolean removeAll(Collection c) { if (c instanceof RectListManager) return removeAll((RectListManager)c); return removeAll(new RectListManager(c)); }
/** * Repaints the associated GVT tree under <code>area</code>. * * If double buffered is true and this method completes cleanly it * will set the result of the repaint as the image returned by * getOffscreen otherwise the old image will still be returned. * If double buffered is false it is possible some effects of * the failed rendering will be visible in the image returned * by getOffscreen. * * @param area region to be repainted, in the current user space * coordinate system. */ public void repaint(Shape area) { if (area == null) return; RectListManager rlm = new RectListManager(); rlm.add(usr2dev.createTransformedShape(area).getBounds()); repaint(rlm); }