Home > Class Reference > ENSLIB namespace > %ZEN.SVGComponent.connector

%ZEN.SVGComponent.connector

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

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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 (Including Private)

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 (Including Private)

Inherited Methods (Including Private)