W - The bean type.V - The view type.D - The mutable shape definition type..public class NodeShapeImpl<W,D extends ShapeViewDef<W,V>,V extends ShapeView> extends AbstractElementShape<W,View<W>,Node<View<W>,Edge>,D,V> implements NodeShape<W,View<W>,Node<View<W>,Edge>,V>, Lifecycle
This implementation relies on ShapeDefinitions. This way provides the bridge between the node and it's bean definition instance, and delegates the interaction logic between the definition instance and the shape's view to a ShapeDefViewHandler type.
| Constructor and Description |
|---|
NodeShapeImpl(D shapeDef,
AbstractShape<V> shape) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyPosition(Node<View<W>,Edge> element,
MutationContext mutationContext) |
void |
applyState(ShapeState shapeState) |
protected AbstractShape<V> |
getShape() |
afterDraw, applyCustomProperties, applyProperties, applyTitle, beforeDraw, getDefinition, getShapeDefinition, getShapeHandlersDef, getShapeView, getUUID, setUUIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyTitleapplyPropertiesgetShapeView, getUUID, setUUIDafterDraw, beforeDrawpublic NodeShapeImpl(D shapeDef, AbstractShape<V> shape)
protected AbstractShape<V> getShape()
public void applyPosition(Node<View<W>,Edge> element, MutationContext mutationContext)
public void applyState(ShapeState shapeState)
applyState in interface HasShapeStateCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.