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