public abstract class BasicShape<W,V extends BasicShapeView> extends AbstractCompositeShape<W,Node<View<W>,Edge>,V>
HasChildren.Layout| Constructor and Description |
|---|
BasicShape(V shapeView) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_applyRadius(Node<View<W>,Edge> element,
Double radius,
MutationContext mutationContext) |
protected void |
_applyWidthAndHeight(Node<View<W>,Edge> element,
Double width,
Double height,
MutationContext mutationContext) |
protected void |
applyFillColor(String color,
MutationContext mutationContext) |
protected void |
applyFontAlpha(HasTitle hasTitle,
Double alpha,
MutationContext mutationContext) |
void |
applyProperties(Node<View<W>,Edge> element,
MutationContext mutationContext) |
protected void |
applyRadius(HasRadius hasRadius,
double radius,
MutationContext mutationContext) |
protected void |
applySize(HasSize hasSize,
double width,
double height,
MutationContext mutationContext) |
void |
applyState(ShapeState shapeState) |
void |
beforeDraw() |
protected abstract Double |
getBackgroundAlpha(Node<View<W>,Edge> element) |
protected abstract String |
getBackgroundColor(Node<View<W>,Edge> element) |
protected abstract Double |
getBorderAlpha(Node<View<W>,Edge> element) |
protected abstract String |
getBorderColor(Node<View<W>,Edge> element) |
protected abstract Double |
getBorderSize(Node<View<W>,Edge> element) |
protected W |
getDefinition(Node<View<W>,Edge> element) |
addChild, applyProperty, doDestroy, getChildren, removeChild_applyElementName, afterDraw, applyBorderAlpha, applyBorders, applyFillAlpha, applyFont, applyPosition, destroy, equals, getNamePropertyValue, getShapeView, getUUID, hashCode, isAnimationMutation, isStaticMutation, setUUIDpublic BasicShape(V shapeView)
public void applyProperties(Node<View<W>,Edge> element, MutationContext mutationContext)
applyProperties in interface MutableShape<Node<View<W>,Edge>,V extends BasicShapeView>applyProperties in class AbstractCompositeShape<W,Node<View<W>,Edge>,V extends BasicShapeView>public void beforeDraw()
beforeDraw in interface LifecyclebeforeDraw in class AbstractShape<W,Node<View<W>,Edge>,V extends BasicShapeView>public void applyState(ShapeState shapeState)
protected void applyFillColor(String color, MutationContext mutationContext)
applyFillColor in class AbstractShape<W,Node<View<W>,Edge>,V extends BasicShapeView>protected void applyFontAlpha(HasTitle hasTitle, Double alpha, MutationContext mutationContext)
applyFontAlpha in class AbstractShape<W,Node<View<W>,Edge>,V extends BasicShapeView>protected void _applyWidthAndHeight(Node<View<W>,Edge> element, Double width, Double height, MutationContext mutationContext)
protected void applySize(HasSize hasSize, double width, double height, MutationContext mutationContext)
applySize in class AbstractShape<W,Node<View<W>,Edge>,V extends BasicShapeView>protected void _applyRadius(Node<View<W>,Edge> element, Double radius, MutationContext mutationContext)
protected void applyRadius(HasRadius hasRadius, double radius, MutationContext mutationContext)
applyRadius in class AbstractShape<W,Node<View<W>,Edge>,V extends BasicShapeView>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.