%ZEN.SVGComponent.port
Class %ZEN.SVGComponent.port Extends svgObject [ Deprecated, System = 3 ]
Defines an input/output port for a sprite object.
Properties
type
Property type As %ZEN.Datatype.string(VALUELIST = ",input,output");
Type of this port: input or output.
x
Property x As %ZEN.Datatype.float [ InitialExpression = 0 ];
x position of this port.
y
Property y As %ZEN.Datatype.float [ InitialExpression = 0 ];
y position of this port.
connectors
Property connectors As list Of connector(XMLPROJECTION = "NONE");
List of connectors connected to this port.
Methods
renderPort
ClientMethod renderPort() [ Language = javascript ]
Render the svg for this port.
addConnector
ClientMethod addConnector(connector) [ Language = javascript ]
Internal method: add a connector to this port. Return true if successful.
updateConnectors
ClientMethod updateConnectors() [ Language = javascript ]
Internal method: update position of all connectors connected to this port.
setProperty
ClientMethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.