Class AbstractShapeDefinition<V>
- java.lang.Object
-
- org.kie.workbench.common.stunner.svg.gen.model.impl.AbstractPrimitiveDefinition<V>
-
- org.kie.workbench.common.stunner.svg.gen.model.impl.AbstractShapeDefinition<V>
-
- All Implemented Interfaces:
PrimitiveDefinition<V>,ShapeDefinition<V>
- Direct Known Subclasses:
CircleDefinition,ImageDefinition,MultiPathDefinition,RectDefinition
public abstract class AbstractShapeDefinition<V> extends AbstractPrimitiveDefinition<V> implements ShapeDefinition<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.kie.workbench.common.stunner.svg.gen.model.ShapeDefinition
ShapeDefinition.ShapeStateDefinition
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractShapeDefinition(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ShapeDefinition.ShapeStateDefinition>getStateDefinition()StyleDefinitiongetStyleDefinition()voidsetStateDefinition(Optional<ShapeDefinition.ShapeStateDefinition> stateDefinition)voidsetStyleDefinition(StyleDefinition styleDefinition)-
Methods inherited from class org.kie.workbench.common.stunner.svg.gen.model.impl.AbstractPrimitiveDefinition
getAlpha, getId, getLayoutDefinition, getTransformDefinition, getX, getY, isListening, isMain, isScalable, setAlpha, setLayoutDefinition, setListening, setMainShape, setScalable, setTransformDefinition, setX, setY
-
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.svg.gen.model.PrimitiveDefinition
getAlpha, getId, getLayoutDefinition, getTransformDefinition, getViewType, getX, getY, isListening, isMain, isScalable
-
-
-
-
Constructor Detail
-
AbstractShapeDefinition
protected AbstractShapeDefinition(String id)
-
-
Method Detail
-
getStateDefinition
public Optional<ShapeDefinition.ShapeStateDefinition> getStateDefinition()
- Specified by:
getStateDefinitionin interfaceShapeDefinition<V>
-
setStateDefinition
public void setStateDefinition(Optional<ShapeDefinition.ShapeStateDefinition> stateDefinition)
-
getStyleDefinition
public StyleDefinition getStyleDefinition()
- Specified by:
getStyleDefinitionin interfaceShapeDefinition<V>
-
setStyleDefinition
public void setStyleDefinition(StyleDefinition styleDefinition)
-
-