com.yworks.yfiles.bpmn.view
Class ChoreographyLabelPainter

java.lang.Object
  extended byy.view.AbstractCustomLabelPainter
      extended bycom.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.

 

Constructor Summary
ChoreographyLabelPainter()
           
 
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
 

Constructor Detail

ChoreographyLabelPainter

public ChoreographyLabelPainter()
Method Detail

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)


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.