DroidDiagram Programmer's Guide
NodeConstraints Members
Constructors Methods
 


Represents the movement and size constraints that can be applied to a node.

The following tables list the members exposed by the NodeConstraints type.

 Public Constructors

  Name Description

NodeConstraints

Initializes a new NodeConstraints instance.

 Public Methods

  Name Description

clone

Creates a copy of this NodeConstraints instance.

getDisableMirroring

Gets a value indicating whether the user can drag a side of the node past its opposite side, so that they switch positions.

getKeepInsideDiagram

Gets a value indicating whether a node must always stay inside the boundaries of the diagram that contains it.

getKeepInsideParent

Gets a value indicating whether a node must always stay in the boundaries of its group master node.

getKeepRatio

Gets a value indicating whether the initial width/height ratio of a node must be preserved.

getMaxHeight

Gets the largest allowed height for the node.

getMaxWidth

Gets the largest allowed width for the node.

getMinHeight

Gets the smallest allowed height for the node.

getMinWidth

Gets the smallest allowed width for the node.

getMoveDirection

Gets a value indicating the movement direction constraint.

loadFromXml

 

readExternal

Implements Externalizable.

saveToXml

 

setDisableMirroring

Sets a value indicating whether the user can drag a side of the node past its opposite side, so that they switch positions.

setKeepInsideDiagram

Sets a value indicating whether a node must always stay inside the boundaries of the diagram that contains it.

setKeepInsideParent

Sets a value indicating whether a node must always stay in the boundaries of its group master node.

setKeepRatio

Sets a value indicating whether the initial width/height ratio of a node must be preserved.

setMaxHeight

Sets the largest allowed height for the node.

setMaxWidth

Sets the largest allowed width for the node.

setMinHeight

Sets the smallest allowed height for the node.

setMinWidth

Sets the smallest allowed width for the node.

setMoveDirection

Sets a value indicating the movement direction constraint.

writeExternal

Implements Externalizable.

 See Also

NodeConstraints Class
com.mindfusion.diagramming Namespace