W - The bean type.V - The view type.D - The mutable shape definition type..public class NodeShapeImpl<W,D extends MutableShapeDef<W>,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
| Modifier and Type | Field and Description |
|---|---|
protected double |
_strokeAlpha |
protected String |
_strokeColor |
protected double |
_strokeWidth |
| Constructor and Description |
|---|
NodeShapeImpl(D shapeDef,
V view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyActiveState(String color) |
protected void |
applyNoneState() |
void |
applyPosition(Node<View<W>,Edge> element,
MutationContext mutationContext) |
void |
applyProperties(Node<View<W>,Edge> element,
MutationContext mutationContext) |
void |
applyState(ShapeState shapeState) |
ShapeState |
getState() |
protected void |
switchState() |
afterDraw, applyTitle, beforeDraw, destroy, getDefinition, getDefViewHandler, getShape, getShapeDefinition, getShapeView, getUUID, setUUIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyTitledestroy, getShapeView, getUUID, setUUIDafterDraw, beforeDrawprotected double _strokeWidth
protected double _strokeAlpha
protected String _strokeColor
public void applyPosition(Node<View<W>,Edge> element, MutationContext mutationContext)
public void applyProperties(Node<View<W>,Edge> element, MutationContext mutationContext)
applyProperties in interface MutableShape<Node<View<W>,Edge>,V extends ShapeView<?>>public void applyState(ShapeState shapeState)
applyState in interface Shape<V extends ShapeView<?>>public ShapeState getState()
protected void switchState()
protected void applyActiveState(String color)
protected void applyNoneState()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.