Search this API

y.view
Interface GenericNodeRealizer.UnionRectCalculator

Enclosing class:
GenericNodeRealizer

public static interface GenericNodeRealizer.UnionRectCalculator

This interface is used by GenericNodeRealizer to delegate the work of the GenericNodeRealizer.calcUnionRect(java.awt.geom.Rectangle2D) method to. Classes implementing this interface should query the given context NodeRealizer for the necessary information each time the methods are called since they will be shared instances for multiple GenericNodeRealizer instances.

 

Method Summary
 void calcUnionRect(NodeRealizer context, java.awt.geom.Rectangle2D rect)
          Used as a callback for the GenericNodeRealizer.calcUnionRect(java.awt.geom.Rectangle2D) method.
 

Method Detail

calcUnionRect

void calcUnionRect(NodeRealizer context,
                   java.awt.geom.Rectangle2D rect)
Used as a callback for the GenericNodeRealizer.calcUnionRect(java.awt.geom.Rectangle2D) method.


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