@Dependent public class DelegateShapeFactory<W,S extends Shape> extends AbstractShapeFactory<W,S>
ShapeFactory.GlyphConsumer| Constructor and Description |
|---|
DelegateShapeFactory() |
| Modifier and Type | Method and Description |
|---|---|
DelegateShapeFactory<W,S> |
delegate(Class<? extends W> definitionType,
ShapeDef<? extends W> shapeDef,
Supplier<? extends ShapeDefFactory> factory) |
void |
destroy() |
protected Glyph |
getGlyphFor(String definitionId) |
protected Glyph |
getGlyphFor(String definitionId,
Class<? extends ShapeFactory.GlyphConsumer> consumer) |
S |
newShape(W definition) |
getGlyph, getGlyphpublic DelegateShapeFactory<W,S> delegate(Class<? extends W> definitionType, ShapeDef<? extends W> shapeDef, Supplier<? extends ShapeDefFactory> factory)
@PreDestroy public void destroy()
protected Glyph getGlyphFor(String definitionId)
getGlyphFor in class AbstractShapeFactory<W,S extends Shape>protected Glyph getGlyphFor(String definitionId, Class<? extends ShapeFactory.GlyphConsumer> consumer)
getGlyphFor in class AbstractShapeFactory<W,S extends Shape>Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.