C

NodeDefaults

A canonical implementation of the INodeDefaults interface.
ImplementsInheritance Hierarchy

Members

No filters for this type

Constructors

Initializes a new instance of the NodeDefaults class using default properties.

Parameters

Properties

Gets or sets the defaults for labels at nodes.
final
Gets or sets the defaults for ports at nodes.
final
Gets or sets a value indicating whether the style instance should be shared referentially or cloned upon a call to getStyleInstance.
Gets or sets the default node size.
The values of this size will be used by createNodeAt.
conversionfinal
Gets or sets the style to use for nodes.
Depending on the setting of shareStyleInstance, the getStyleInstance method should return a clone of this instance or the very same instance.
final

Methods

Factory method that returns a style instance for use with newly created nodes.
Most implementations will yield either a clone of or the style property, if shareStyleInstance is enabled, but they might use more complicated logic, too.

Return Value

INodeStyle
The style to use, which for most implementations is either a clone of or the style property, if shareStyleInstance is enabled.