public class BasePropertyReader extends Object implements PropertyReader
| Modifier and Type | Field and Description |
|---|---|
protected BPMNDiagram |
diagram |
protected BaseElement |
element |
protected double |
resolutionFactor |
protected BPMNShape |
shape |
| Constructor and Description |
|---|
BasePropertyReader(BaseElement element,
BPMNDiagram diagram,
BPMNShape shape,
double resolutionFactor) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
colorsDefaultBg() |
protected String |
colorsDefaultBr() |
protected String |
colorsDefaultFont() |
protected Bounds |
computeBounds(Bounds bounds) |
BackgroundSet |
getBackgroundSet() |
Bounds |
getBounds() |
CircleDimensionSet |
getCircleDimensionSet() |
String |
getDescription() |
String |
getDocumentation() |
BaseElement |
getElement() |
FontSet |
getFontSet() |
RectangleDimensionsSet |
getRectangleDimensionsSet() |
BPMNShape |
getShape() |
boolean |
isExpanded() |
protected Optional<String> |
optionalAttribute(String... attributeIds) |
protected final BaseElement element
protected final BPMNShape shape
protected final BPMNDiagram diagram
protected final double resolutionFactor
public BasePropertyReader(BaseElement element, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor)
public String getDocumentation()
getDocumentation in interface PropertyReaderpublic String getDescription()
getDescription in interface PropertyReaderpublic FontSet getFontSet()
getFontSet in interface PropertyReaderpublic BackgroundSet getBackgroundSet()
getBackgroundSet in interface PropertyReaderprotected String colorsDefaultBg()
protected String colorsDefaultBr()
protected String colorsDefaultFont()
public Bounds getBounds()
getBounds in interface PropertyReaderpublic CircleDimensionSet getCircleDimensionSet()
getCircleDimensionSet in interface PropertyReaderpublic RectangleDimensionsSet getRectangleDimensionsSet()
getRectangleDimensionsSet in interface PropertyReaderpublic boolean isExpanded()
isExpanded in interface PropertyReaderpublic BaseElement getElement()
getElement in interface PropertyReaderpublic BPMNShape getShape()
getShape in interface PropertyReaderCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.