An interface used by implementations that provide various size constraints for INodes.
Inheritance Hierarchy
Remarks
See Also
Developer's Guide
API
- NodeSizeConstraintProvider
Demos
- Shows how resizing of nodes can be restricted.
Members
No filters for this type
Methods
Returns the maximum size allowed for the node whose lookup returned this provider.
Returns the maximum size allowed for the node whose lookup returned this provider.
Returns the minimum area that needs to be enclosed by the node whose lookup returned this provider.
Returns the minimum area that needs to be enclosed by the node whose lookup returned this provider.
abstract
Return Value
See Also
Developer's Guide
Implemented in
NodeSizeConstraintProvider.getMinimumEnclosedAreaReturns the minimum size allowed for the node whose lookup returned this provider.
Returns the minimum size allowed for the node whose lookup returned this provider.
Static Methods
Creates an implementation of the interface INodeSizeConstraintProvider from the given definition.
Creates an implementation of the interface INodeSizeConstraintProvider from the given definition.
The given object must contain exactly the abstract members of the INodeSizeConstraintProvider interface. No member may be omitted and no additional members can be added. While additional custom members can later be added directly on the instance, this is discouraged.
static
Parameters
Return Value
- INodeSizeConstraintProvider
- An instance of the INodeSizeConstraintProvider interface based on the given definition.