@Test public void testRefreshChildren() throws Exception { TestingRefreshContent testingRefreshContent = new TestingRefreshContent(); assertEquals(0, testingRefreshContent.refreshUpCount); assertEquals(0, testingRefreshContent.refreshDownCount); Content content = new TestContent(); testingRefreshContent.setAsChildren(content); content.refresh(); assertEquals(0, testingRefreshContent.refreshUpCount); assertEquals(0, testingRefreshContent.refreshDownCount); }
public final void refresh() { refreshUp(); refreshDown(); }
Content { public final void refresh() { refreshUp(); refreshDown(); } }
Content { public final void refresh() { refreshUp(); refreshDown(); }  }
Content { public final void refresh() { refreshUp(); refreshDown(); }  boolean contains(Point2D point); abstract void draw(Graphics2D graphics); final void draw(Graphics2D graphics, Point2D offset); final Rectangle2D getBounds(); Rectangle2D getMinimalBounds(); final double getX(); final double getY(); final double getWidth(); final double getHeight(); void setMinWidth(double minWidth); void setMinHeight(double minHeight); final void refresh(); }
Content { public final void refresh() { refreshUp(); refreshDown(); }  boolean contains(Point2D point); abstract void draw(Graphics2D graphics); final void draw(Graphics2D graphics, Point2D offset); final Rectangle2D getBounds(); Rectangle2D getMinimalBounds(); final double getX(); final double getY(); final double getWidth(); final double getHeight(); void setMinWidth(double minWidth); void setMinHeight(double minHeight); final void refresh();  }