A canonical implementation of the IPortDefaults interface.
Implements
- I
Members
No filters for this type
Constructors
Initializes a new instance of the PortDefaults class using a trivial location model parameter.
Initializes a new instance of the PortDefaults class using a trivial location model parameter.
Parameters
Properties
final
Implements
IPortDefaults.autoCleanUpGets or sets the defaults for labels at ports.
Gets or sets the defaults for labels at ports.
final
Implements
IPortDefaults.labelsGets or sets the location model parameter to use for ports.
Gets or sets the location model parameter to use for ports.
Depending on the setting of shareLocationParameterInstance, the getLocationParameterInstance method should return a clone of this instance or the very same instance.
final
Implements
IPortDefaults.locationParameterfinal
final
Implements
IPortDefaults.shareStyleInstanceGets or sets the style to use for ports.
Gets or sets the style to use for ports.
Depending on the setting of shareStyleInstance, the getStyleInstance method should return a clone of this instance or the very same instance.
final
Implements
IPortDefaults.styleMethods
Factory method that returns a location model parameter instance for use with newly created ports.
Factory method that returns a location model parameter instance for use with newly created ports.
Most implementations will yield either a clone or the locationParameter property if shareLocationParameterInstance is enabled, but they might use more complicated logic, too.
Parameters
- owner: IPortOwner
- The owner of the port that will be created.
Return Value
- IPortLocationModelParameter
- The parameter to use, which for most implementations is either a clone or the locationParameter property if shareLocationParameterInstance is enabled.
Factory method that returns a style instance for use with newly created ports.
Factory method that returns a style instance for use with newly created ports.
Most implementations will yield either, a clone of or the style property, if shareStyleInstance is enabled, but they might use more complicated logic, too.
Parameters
- owner: IPortOwner
- The owner of the port that will be created.
Return Value
- IPortStyle
- The style to use, which for most implementations is either a clone of or the style property, if shareStyleInstance is enabled.