Search this API

y.view.hierarchy
Interface GenericGroupNodeRealizer.GenericAutoBoundsFeature

All Known Implementing Classes:
DefaultGenericAutoBoundsFeature
Enclosing class:
GenericGroupNodeRealizer

public static interface GenericGroupNodeRealizer.GenericAutoBoundsFeature

Additional interface for node realizers whose bounds may be determined by other factors then explicit bound assignment. This interface is used by GenericNodeRealizer to delegate automatic bounds calculations to.

 

Method Summary
 java.awt.geom.Rectangle2D calcMinimumInsetBounds(NodeRealizer context)
          Returns the calculated minimum inset bounds of a group realizer.
 YInsets getAutoBoundsInsets(NodeRealizer context)
          Returns the currently set auto bounds insets of a group realizer.
 void recalculateBounds(NodeRealizer context)
          Recalculates the bounds of a group realizer.
 

Method Detail

calcMinimumInsetBounds

java.awt.geom.Rectangle2D calcMinimumInsetBounds(NodeRealizer context)
Returns the calculated minimum inset bounds of a group realizer.

Parameters:
context - the group realizer
Returns:
the calculated minimum inset bounds of a group realizer.

getAutoBoundsInsets

YInsets getAutoBoundsInsets(NodeRealizer context)
Returns the currently set auto bounds insets of a group realizer.

Parameters:
context - the group realizer
Returns:
the currently set auto bounds insets of a group realizer.

recalculateBounds

void recalculateBounds(NodeRealizer context)
Recalculates the bounds of a group realizer.

Parameters:
context - the group realizer

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