public abstract class AbstractShape<W,E extends Node<View<W>,Edge>,V extends ShapeView> extends Object implements NodeShape<W,View<W>,E,V>, Lifecycle
| Constructor and Description |
|---|
AbstractShape(V view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_applyElementName(E element,
MutationContext mutationContext) |
void |
afterDraw() |
protected void |
applyBorderAlpha(Double alpha,
MutationContext mutationContext) |
protected void |
applyBorders(String color,
Double width,
MutationContext mutationContext) |
protected void |
applyFillAlpha(Double alpha,
MutationContext mutationContext) |
protected void |
applyFillColor(String color,
MutationContext mutationContext) |
protected void |
applyFont(String family,
String color,
Double size,
Double borderSize,
Double alpha,
MutationContext mutationContext) |
protected void |
applyFontAlpha(HasTitle hasTitle,
Double alpha,
MutationContext mutationContext) |
void |
applyPosition(E element,
MutationContext mutationContext) |
void |
applyProperties(E element,
MutationContext mutationContext) |
void |
applyProperty(E element,
String propertyId,
Object value,
MutationContext mutationContext) |
protected void |
applyRadius(HasRadius hasRadius,
double radius,
MutationContext mutationContext) |
protected void |
applySize(HasSize hasSize,
double width,
double height,
MutationContext mutationContext) |
void |
beforeDraw() |
void |
destroy() |
protected abstract void |
doDestroy() |
boolean |
equals(Object o) |
protected String |
getNamePropertyValue(E element) |
V |
getShapeView() |
String |
getUUID() |
int |
hashCode() |
protected boolean |
isAnimationMutation(MutationContext mutationContext) |
protected boolean |
isStaticMutation(MutationContext mutationContext) |
void |
setUUID(String uuid) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitapplyStatepublic AbstractShape(V view)
public void setUUID(String uuid)
public V getShapeView()
getShapeView in interface Shape<V extends ShapeView>public void beforeDraw()
beforeDraw in interface Lifecyclepublic void applyPosition(E element, MutationContext mutationContext)
public void applyProperties(E element, MutationContext mutationContext)
applyProperties in interface MutableShape<E extends Node<View<W>,Edge>,V extends ShapeView>public void applyProperty(E element, String propertyId, Object value, MutationContext mutationContext)
applyProperty in interface MutableShape<E extends Node<View<W>,Edge>,V extends ShapeView>protected void applyFillColor(String color, MutationContext mutationContext)
protected void applyFillAlpha(Double alpha, MutationContext mutationContext)
protected void applyBorders(String color, Double width, MutationContext mutationContext)
protected void applyBorderAlpha(Double alpha, MutationContext mutationContext)
protected void applyFont(String family, String color, Double size, Double borderSize, Double alpha, MutationContext mutationContext)
protected void applyFontAlpha(HasTitle hasTitle, Double alpha, MutationContext mutationContext)
protected void applySize(HasSize hasSize, double width, double height, MutationContext mutationContext)
protected void applyRadius(HasRadius hasRadius, double radius, MutationContext mutationContext)
protected void _applyElementName(E element, MutationContext mutationContext)
protected abstract void doDestroy()
protected boolean isStaticMutation(MutationContext mutationContext)
protected boolean isAnimationMutation(MutationContext mutationContext)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.