Search this API

y.view
Interface SizeConstraintProvider

All Known Implementing Classes:
GroupNodeRealizer, ProxyAutoBoundsNodeRealizer, SizeConstraintProvider.Default

public interface SizeConstraintProvider

Additional interface for NodeRealizers that want to enforce minimum/maximum sizes.

 
Your browser does not support SVG content.

Nested Class Summary
static class SizeConstraintProvider.Default
          Default implementation of interface SizeConstraintProvider that can be used by NodeRealizers to provide minimum and maximum sizes to layout algorithms.
 
Method Summary
 YDimension getMaximumSize()
          Returns the maximum size the realizer that implements this interface can have.
 YDimension getMinimumSize()
          Returns the minimum size the realizer that implements this interface must have.
 

Method Detail

getMinimumSize

YDimension getMinimumSize()
Returns the minimum size the realizer that implements this interface must have.

Returns:
the minimum size the realizer that implements this interface must have.

getMaximumSize

YDimension getMaximumSize()
Returns the maximum size the realizer that implements this interface can have.

Returns:
the maximum size the realizer that implements this interface can have.

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