y.view
Interface GenericEdgeRealizer.PortPainter

Enclosing class:
GenericEdgeRealizer

public static interface GenericEdgeRealizer.PortPainter

This interface is used as a callback by GenericEdgeRealizer to paint the ports.

 

Method Summary
 void paintPorts(EdgeRealizer context, BendList bends, GeneralPath path, Graphics2D gfx)
          Callback method for EdgeRealizer.paintPorts(java.awt.Graphics2D).
 

Method Detail

paintPorts

void paintPorts(EdgeRealizer context,
                BendList bends,
                GeneralPath path,
                Graphics2D gfx)
Callback method for EdgeRealizer.paintPorts(java.awt.Graphics2D). This method should modify the given path instance.

Parameters:
context - the context EdgeRealizer
bends - the current BendList
path - the current GeneralPath
gfx - the graphics context to paint on

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