Skip to main content

%ZEN.SVGComponent.connector

deprecated class %ZEN.SVGComponent.connector extends %ZEN.SVGComponent.svgObject

Base class for SVG connector.
A connector is used to display connections between sprites.

Property Inventory

Method Inventory

Properties

property inputs as list of port (XMLPROJECTION = "NONE");
List of input ports this connector is connected to.
Property methods: inputsBuildValueArray(), inputsCollectionToDisplay(), inputsCollectionToOdbc(), inputsDisplayToCollection(), inputsGet(), inputsGetObject(), inputsGetObjectId(), inputsGetSwizzled(), inputsIsValid(), inputsOdbcToCollection(), inputsSet(), inputsSetObject(), inputsSetObjectId()
property outputs as list of port (XMLPROJECTION = "NONE");
List of output ports this connector is connected to.
Property methods: outputsBuildValueArray(), outputsCollectionToDisplay(), outputsCollectionToOdbc(), outputsDisplayToCollection(), outputsGet(), outputsGetObject(), outputsGetObjectId(), outputsGetSwizzled(), outputsIsValid(), outputsOdbcToCollection(), outputsSet(), outputsSetObject(), outputsSetObjectId()
property style as %ZEN.Datatype.style;
Additional style to apply to the primary connector shape.
Property methods: styleDisplayToLogical(), styleGet(), styleIsValid(), styleLogicalToDisplay(), styleLogicalToOdbc(), styleNormalize(), styleSet()

Methods

clientmethod addInput(sprite, portno) [ Language = javascript ]
Public API: Add an input to this connector.
clientmethod addOutput(sprite, portno) [ Language = javascript ]
Public API: Add an output to this connector.
clientmethod getMaxInputs() [ Language = javascript ]
Return the maximum number of inputs allowed for this connector.
clientmethod getMaxOutputs() [ Language = javascript ]
Return the maximum number of outputs allowed for this connector.
clientmethod renderConnector(canvas) [ Language = javascript ]
Render the inner SVG contents of this connector.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod updateConnector() [ Language = javascript ]
Update the shape used to define the connector This can be overridded by subclasses.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab