Search this API

y.view
Interface GenericNodeRealizer.LabelBoundsChangedHandler

All Known Implementing Classes:
DefaultGenericAutoBoundsFeature
Enclosing class:
GenericNodeRealizer

public static interface GenericNodeRealizer.LabelBoundsChangedHandler

This interface is used by GenericNodeRealizer as a callback to GenericNodeRealizer.labelBoundsChanged(NodeLabel label). 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.

 
Your browser does not support SVG content.

Method Summary
 void labelBoundsChanged(NodeRealizer context, NodeLabel label)
          Called when the bounds of a label of the given NodeRealizer have been changed.
 

Method Detail

labelBoundsChanged

void labelBoundsChanged(NodeRealizer context,
                        NodeLabel label)
Called when the bounds of a label of the given NodeRealizer have been changed.

Parameters:
context - the NodeRealizer whose labels' bounds have changed.
label - the label whose bounds have changed

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