DocBook|Search
Class Reference
%ZEN.SVGComponent.connector
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [SVGComponent] >  [connector]
Private  Storage  

class %ZEN.SVGComponent.connector extends svgObject

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 7


Summary

Properties
%condition %import %includeFiles %page %resource
aux composite id index inputs
name onupdate outputs parent style
tuple visible window

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawHTML %DrawJSStrings
%Eval %Extends %ForceClientRender %GetEventHandlers
%GetParameter %GetXMLName %IsA %IsModified
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType addInput addOutput
findElement fireOnUpdateEvent getMaxInputs getMaxOutputs
getProperty getSettings getType invokeSuper
isOfType makeId onCreate onDelete
onSerialize onloadHandler onunloadHandler onupdateHandler
render renderConnector renderContents renderSVG
setProperty updateConnector


Properties

• property inputs as list of port(XMLPROJECTION="NONE");
List of input ports this connector is connected to.
• property outputs as list of port(XMLPROJECTION="NONE");
List of output ports this connector is connected to.
• property style as %ZEN.Datatype.style;
Additional style to apply to the primary connector shape.

Methods

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