Figure.
| 8 | * Figure. |
| 9 | */ |
| 10 | @UIWidget |
| 11 | public class Figure implements Drawable { |
| 12 | /** The scene graph. */ |
| 13 | SceneGraph sceneGraph = new SceneGraph(); |
| 14 | |
| 15 | /** |
| 16 | * Adds the shape. |
| 17 | * |
| 18 | * @param shape |
| 19 | * the shape |
| 20 | */ |
| 21 | public void addShape(final Shape shape) { |
| 22 | sceneGraph.addShape(shape); |
| 23 | } |
| 24 | |
| 25 | /* (non-Javadoc) |
| 26 | * @see com.xyz.fig.Drawable#draw(java.awt.Graphics2D) |
| 27 | */ |
| 28 | @Override |
| 29 | public void draw(final Graphics2D g) { |
| 30 | sceneGraph.draw(g); |
| 31 | } |
| 32 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…