@Test public void testDecorators() { final List decorators = tested.getDecorators(); assertNotNull(decorators); assertEquals(1, decorators.size()); assertEquals(PATH, decorators.get(0)); }
@Override public List<Shape<?>> getDecorators() { return Collections.singletonList(getShape()); }
WiresShapeView extends WiresShape implements LienzoShapeView<T>,
                   HasDragBounds<T> { @Override public List<Shape<?>> getDecorators() { return Collections.singletonList(getShape()); } }
WiresShapeView extends WiresShape implements LienzoShapeView<T>,
                   HasDragBounds<T> { @Override public List<Shape<?>> getDecorators() { return Collections.singletonList(getShape()); } WiresShapeView(final MultiPath path);  WiresShapeView(final MultiPath path,
                          final LayoutContainer layoutContainer); }
WiresShapeView extends WiresShape implements LienzoShapeView<T>,
                   HasDragBounds<T> { @Override public List<Shape<?>> getDecorators() { return Collections.singletonList(getShape()); } WiresShapeView(final MultiPath path);  WiresShapeView(final MultiPath path,
                          final LayoutContainer layoutContainer); Shape<?> getShape(); @Override T setUUID(final String uuid); @Override String getUUID(); @Override double getShapeX(); @Override double getShapeY(); @Override T setShapeLocation(final Point2D location); @Override double getAlpha(); @Override T setAlpha(final double alpha); @Override Point2D getShapeAbsoluteLocation(); @Override String getFillColor(); @Override @SuppressWarnings("unchecked") T setFillColor(final String color); @Override double getFillAlpha(); @Override T setFillAlpha(final double alpha); @Override String getStrokeColor(); @Override T setStrokeColor(final String color); @Override double getStrokeAlpha(); @Override T setStrokeAlpha(final double alpha); @Override double getStrokeWidth(); @Override T setStrokeWidth(final double width); @Override T setDragEnabled(boolean draggable); @Override T setDragBounds(final Bounds bounds); @Override T moveToTop(); @Override T moveToBottom(); @Override T moveUp(); @Override T moveDown(); @Override BoundingBox getBoundingBox(); @Override void destroy(); T setListening(final boolean listening); @Override List<Shape<?>> getDecorators(); @Override T setShadow(final String color,
                       final int blur,
                       final double offx,
                       final double offy); @Override T removeShadow(); @Override Object getUserData(); @Override void setUserData(Object userData); }
WiresShapeView extends WiresShape implements LienzoShapeView<T>,
                   HasDragBounds<T> { @Override public List<Shape<?>> getDecorators() { return Collections.singletonList(getShape()); } WiresShapeView(final MultiPath path);  WiresShapeView(final MultiPath path,
                          final LayoutContainer layoutContainer); Shape<?> getShape(); @Override T setUUID(final String uuid); @Override String getUUID(); @Override double getShapeX(); @Override double getShapeY(); @Override T setShapeLocation(final Point2D location); @Override double getAlpha(); @Override T setAlpha(final double alpha); @Override Point2D getShapeAbsoluteLocation(); @Override String getFillColor(); @Override @SuppressWarnings("unchecked") T setFillColor(final String color); @Override double getFillAlpha(); @Override T setFillAlpha(final double alpha); @Override String getStrokeColor(); @Override T setStrokeColor(final String color); @Override double getStrokeAlpha(); @Override T setStrokeAlpha(final double alpha); @Override double getStrokeWidth(); @Override T setStrokeWidth(final double width); @Override T setDragEnabled(boolean draggable); @Override T setDragBounds(final Bounds bounds); @Override T moveToTop(); @Override T moveToBottom(); @Override T moveUp(); @Override T moveDown(); @Override BoundingBox getBoundingBox(); @Override void destroy(); T setListening(final boolean listening); @Override List<Shape<?>> getDecorators(); @Override T setShadow(final String color,
                       final int blur,
                       final double offx,
                       final double offy); @Override T removeShadow(); @Override Object getUserData(); @Override void setUserData(Object userData);  }