This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions page (login required).


class %ZEN.SVGComponent.port extends %ZEN.SVGComponent.svgObject

Defines an input/output port for a sprite object.

Property Inventory (Including Private)

Method Inventory (Including Private)


property connectors as list of connector (XMLPROJECTION = "NONE");
List of connectors connected to this port.
Property methods: connectorsBuildValueArray(), connectorsCollectionToDisplay(), connectorsCollectionToOdbc(), connectorsDisplayToCollection(), connectorsGet(), connectorsGetObject(), connectorsGetObjectId(), connectorsGetSwizzled(), connectorsIsValid(), connectorsOdbcToCollection(), connectorsSet(), connectorsSetObject(), connectorsSetObjectId()
property type as %ZEN.Datatype.string (VALUELIST = ",input,output");
Type of this port: input or output.
Property methods: typeDisplayToLogical(), typeGet(), typeIsValid(), typeLogicalToDisplay(), typeLogicalToOdbc(), typeNormalize(), typeSet()
property x as %ZEN.Datatype.float [ InitialExpression = 0 ];
x position of this port.
Property methods: xDisplayToLogical(), xGet(), xIsValid(), xLogicalToDisplay(), xLogicalToOdbc(), xNormalize(), xSet()
property y as %ZEN.Datatype.float [ InitialExpression = 0 ];
y position of this port.
Property methods: yDisplayToLogical(), yGet(), yIsValid(), yLogicalToDisplay(), yLogicalToOdbc(), yNormalize(), ySet()


clientmethod addConnector(connector) [ Language = javascript ]
Internal method: add a connector to this port. Return true if successful.
clientmethod renderPort() [ Language = javascript ]
Render the svg for this port.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod updateConnectors() [ Language = javascript ]
Internal method: update position of all connectors connected to this port.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)