Search this API

y.view
Interface GenericEdgeRealizer.LabelPainter

Enclosing class:
GenericEdgeRealizer

public static interface GenericEdgeRealizer.LabelPainter

This interface is used as a callback by EdgeRealizer to paint the labels.


Method Summary
 void paintLabels(EdgeRealizer context, Graphics2D gfx)
          Used as a callback for the GenericEdgeRealizer.paintLabels(java.awt.Graphics2D) method.
 

Method Detail

paintLabels

void paintLabels(EdgeRealizer context,
                 Graphics2D gfx)
Used as a callback for the GenericEdgeRealizer.paintLabels(java.awt.Graphics2D) method.

Parameters:
context - the EdgeRealizer context that is used for the current painting
gfx - the graphics context to use

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.