public class ShapeStateDefaultHandler extends Object implements ShapeStateHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapeStateDefaultHandler.RenderType |
static class |
ShapeStateDefaultHandler.ShapeType |
| Modifier and Type | Field and Description |
|---|---|
protected Supplier<LienzoShapeView<?>> |
backgroundShapeSupplier |
protected Supplier<LienzoShapeView<?>> |
borderShapeSupplier |
protected ShapeStateAttributeAnimationHandler<LienzoShapeView<?>> |
handler |
| Constructor and Description |
|---|
ShapeStateDefaultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyState(ShapeState shapeState) |
ShapeState |
getShapeState() |
ShapeState |
reset() |
ShapeStateDefaultHandler |
setBackgroundShape(Supplier<LienzoShapeView<?>> shapeSupplier) |
ShapeStateDefaultHandler |
setBorderShape(Supplier<LienzoShapeView<?>> shapeSupplier) |
ShapeStateDefaultHandler |
setContainerShape(Supplier<LienzoShapeView<?>> shapeSupplier) |
ShapeStateDefaultHandler |
setRenderType(ShapeStateDefaultHandler.RenderType renderType) |
ShapeStateHandler |
shapeAttributesChanged() |
protected final ShapeStateAttributeAnimationHandler<LienzoShapeView<?>> handler
protected Supplier<LienzoShapeView<?>> backgroundShapeSupplier
protected Supplier<LienzoShapeView<?>> borderShapeSupplier
public ShapeStateDefaultHandler setRenderType(ShapeStateDefaultHandler.RenderType renderType)
public ShapeStateDefaultHandler setBorderShape(Supplier<LienzoShapeView<?>> shapeSupplier)
public ShapeStateDefaultHandler setBackgroundShape(Supplier<LienzoShapeView<?>> shapeSupplier)
public ShapeStateDefaultHandler setContainerShape(Supplier<LienzoShapeView<?>> shapeSupplier)
public void applyState(ShapeState shapeState)
applyState in interface HasShapeStatepublic ShapeStateHandler shapeAttributesChanged()
shapeAttributesChanged in interface ShapeStateHandlerpublic ShapeState reset()
reset in interface ShapeStateHandlerpublic ShapeState getShapeState()
getShapeState in interface ShapeStateHandlerCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.