public interface ShapeFactory<T extends com.ait.lienzo.client.core.shape.Shape<T>>
Modifier and Type | Method and Description |
---|---|
boolean |
builds(WiresBaseShape shapeType)
Does the Factory build the given shape type
|
Category |
getCategory()
Get category to which Shape belongs
|
ShapeDragProxy |
getDragProxy(FactoryHelper helper,
ShapeDragProxyPreviewCallback dragPreviewCallback,
ShapeDragProxyCompleteCallback dragEndCallBack)
Get a proxy used during and at the end of a drag operation
|
ShapeGlyph |
getGlyph()
Get a glyph to represent the Shape.
|
WiresBaseShape |
getShape(FactoryHelper helper)
Get a Shape to be created on the Canvas (usually at the end of a drag operation)
|
String |
getShapeDescription()
Get description of Shape
|
ShapeGlyph getGlyph()
ShapeDragProxy getDragProxy(FactoryHelper helper, ShapeDragProxyPreviewCallback dragPreviewCallback, ShapeDragProxyCompleteCallback dragEndCallBack)
helper
- dragPreviewCallback
- dragEndCallBack
- WiresBaseShape getShape(FactoryHelper helper)
boolean builds(WiresBaseShape shapeType)
shapeType
- String getShapeDescription()
Category getCategory()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.