@ApplicationScoped public class BasicShapesFactoryImpl extends AbstractShapeDefFactory<Object,ShapeView,MutableShape<Object,ShapeView>,ShapeDef<Object>> implements BasicShapesFactory<Object,AbstractCanvasHandler>
definitionManager, definitions, factoryManager| Modifier | Constructor and Description |
|---|---|
protected |
BasicShapesFactoryImpl() |
|
BasicShapesFactoryImpl(FactoryManager factoryManager,
ShapeViewFactory shapeViewFactory,
DefinitionManager definitionManager,
GlyphBuilderFactory glyphBuilderFactory) |
| Modifier and Type | Method and Description |
|---|---|
MutableShape<Object,ShapeView> |
build(Object definition,
AbstractCanvasHandler context) |
protected MutableShape<Object,ShapeView> |
build(Object definition,
ShapeDef<Object> proxy,
AbstractCanvasHandler context) |
protected Glyph |
glyph(Class<?> clazz,
double width,
double height) |
addShapeDef, getDescription, getDescription, getShapeDef, getShapeDef, getSupportedModelClasses, glyphaccepts, getDefinitionClass, getDefinitionIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddShapeDefaccepts, getDescription, glyphprotected BasicShapesFactoryImpl()
@Inject public BasicShapesFactoryImpl(FactoryManager factoryManager, ShapeViewFactory shapeViewFactory, DefinitionManager definitionManager, GlyphBuilderFactory glyphBuilderFactory)
public MutableShape<Object,ShapeView> build(Object definition, AbstractCanvasHandler context)
build in interface ShapeFactory<Object,AbstractCanvasHandler,MutableShape<Object,ShapeView>>protected MutableShape<Object,ShapeView> build(Object definition, ShapeDef<Object> proxy, AbstractCanvasHandler context)
protected Glyph glyph(Class<?> clazz, double width, double height)
glyph in class AbstractBindableShapeFactory<Object,MutableShape<Object,ShapeView>>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.