com.yworks.yfiles.bpmn.view
Class ChoreographyLabelPainter
java.lang.Object
y.view.AbstractCustomLabelPainter
com.yworks.yfiles.bpmn.view.ChoreographyLabelPainter
- All Implemented Interfaces:
- YLabel.Painter
- public class ChoreographyLabelPainter
- extends AbstractCustomLabelPainter
Painter for the labels of the choreography nodes. Its only purpose is not to paint the background of the label. This
will be done by the choreography node painter itself.
-
-
Method Summary |
OrientedRectangle |
getIconBox(YLabel label)
|
OrientedRectangle |
getTextBox(YLabel label)
|
void |
paintBox(YLabel label,
Graphics2D graphics,
double x,
double y,
double width,
double height)
|
void |
paintContent(YLabel label,
Graphics2D gfx,
double x,
double y,
double width,
double height)
|
Methods inherited from class y.view.AbstractCustomLabelPainter |
asAutoFlippingPainter, getBackgroundColor, getBackgroundPaint, getLineColor, getLinePaint, getLineStroke, initializeBackground, initializeLine, isAutoFlippingEnabled, paint, paintSelectionBox, setAutoFlippingEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChoreographyLabelPainter
public ChoreographyLabelPainter()
getIconBox
public OrientedRectangle getIconBox(YLabel label)
paintContent
public void paintContent(YLabel label,
Graphics2D gfx,
double x,
double y,
double width,
double height)
getTextBox
public OrientedRectangle getTextBox(YLabel label)
paintBox
public void paintBox(YLabel label,
Graphics2D graphics,
double x,
double y,
double width,
double height)