Class AbstractShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape>
- java.lang.Object
-
- org.kie.workbench.common.stunner.core.client.components.proxies.AbstractShapeProxyView<S>
-
- All Implemented Interfaces:
ShapeProxy,ShapeProxyView<S>
public abstract class AbstractShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape> extends Object implements ShapeProxyView<S>
-
-
Constructor Summary
Constructors Constructor Description AbstractShapeProxyView()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected abstract voiddoDestroy()protected org.kie.workbench.common.stunner.core.client.canvas.CanvasgetCanvas()protected Consumer<S>getShapeAcceptor()protected Supplier<S>getShapeBuilder()protected Consumer<S>getShapeDestroyer()AbstractShapeProxyView<S>onAccept(Consumer<S> shape)AbstractShapeProxyView<S>onCreate(Supplier<S> shape)AbstractShapeProxyView<S>onDestroy(Consumer<S> shape)AbstractShapeProxyView<S>setCanvas(org.kie.workbench.common.stunner.core.client.canvas.Canvas canvas)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.stunner.core.client.components.proxies.ShapeProxy
start
-
-
-
-
Method Detail
-
onCreate
public AbstractShapeProxyView<S> onCreate(Supplier<S> shape)
- Specified by:
onCreatein interfaceShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape>
-
onAccept
public AbstractShapeProxyView<S> onAccept(Consumer<S> shape)
- Specified by:
onAcceptin interfaceShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape>
-
onDestroy
public AbstractShapeProxyView<S> onDestroy(Consumer<S> shape)
- Specified by:
onDestroyin interfaceShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape>
-
setCanvas
public AbstractShapeProxyView<S> setCanvas(org.kie.workbench.common.stunner.core.client.canvas.Canvas canvas)
- Specified by:
setCanvasin interfaceShapeProxyView<S extends org.kie.workbench.common.stunner.core.client.shape.ElementShape>
-
destroy
public void destroy()
- Specified by:
destroyin interfaceShapeProxy
-
doDestroy
protected abstract void doDestroy()
-
getCanvas
protected org.kie.workbench.common.stunner.core.client.canvas.Canvas getCanvas()
-
-