public abstract class AbstractElementShape<W,C extends View<W>,E extends Element<C>,D extends ShapeViewDef<W,V>,V extends ShapeView> extends Object implements ElementShape<W,C,E,V>, Lifecycle
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractElementShape(D shapeDef) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDraw() |
protected void |
applyCustomProperties(E element,
MutationContext mutationContext) |
void |
applyProperties(E element,
MutationContext mutationContext) |
void |
applyTitle(String title,
E element,
MutationContext mutationContext) |
void |
beforeDraw() |
protected W |
getDefinition(Element<? extends View<W>> element) |
protected abstract AbstractShape<V> |
getShape() |
D |
getShapeDefinition() |
ShapeViewHandlersDef<W,V,D> |
getShapeHandlersDef() |
V |
getShapeView() |
String |
getUUID() |
void |
setUUID(String uuid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyPositionapplyStateprotected AbstractElementShape(D shapeDef)
protected abstract AbstractShape<V> getShape()
public void setUUID(String uuid)
public void applyTitle(String title, E element, MutationContext mutationContext)
public void beforeDraw()
beforeDraw in interface Lifecyclepublic void applyProperties(E element, MutationContext mutationContext)
applyProperties in interface MutableShape<E extends Element<C>,V extends ShapeView>protected void applyCustomProperties(E element, MutationContext mutationContext)
public V getShapeView()
getShapeView in interface Shape<V extends ShapeView>public ShapeViewHandlersDef<W,V,D> getShapeHandlersDef()
public D getShapeDefinition()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.