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

class %ZEN.SVGComponent.port extends svgObject

Defines an input/output port for a sprite object.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 4


Summary

Properties
%condition %import %includeFiles %page %resource
aux composite connectors id index
name onupdate parent tuple type
visible window x y

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 addConnector findElement
fireOnUpdateEvent getProperty getSettings getType
invokeSuper isOfType makeId onCreate
onDelete onSerialize onloadHandler onunloadHandler
onupdateHandler render renderContents renderPort
renderSVG setProperty updateConnectors


Properties

• property connectors as list of connector(XMLPROJECTION="NONE");
List of connectors connected to this port.
• property type as %ZEN.Datatype.string(VALUELIST=",input,output");
Type of this port: input or output.
• property x as %ZEN.Datatype.float [ InitialExpression = 0 ];
x position of this port.
• property y as %ZEN.Datatype.float [ InitialExpression = 0 ];
y position of this port.

Methods

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