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

%ZEN.SVGComponent.port

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)

Properties (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()

Methods (Including Private)

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)