IRISLIB database
abstractSVGGroup Class Reference

Base implementation of SVG group behavior. More...

Inheritance diagram for abstractSVGGroup:
Collaboration diagram for abstractSVGGroup:

Public Member Functions

 addChild (component)
 Client-side method. More...
 
 layoutChildren ()
 Apply layout to the child components within this group. More...
 
 removeChild (component)
 Client-side method. More...
 
 renderSVG (document, parent)
 Draw an enclosing SVG group and then render the SVG children of the group.
 
 setOverlayMode (mode)
 Set overlay mode for each child of this group.
 
 setPropertyAll (property, value, value2)
 Apply the given value to the specified property for. More...
 
- Public Member Functions inherited from Adaptor
_.Library.Status XMLExport (_.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent, _.Library.Boolean local, _.Net.MIMEPart mimeAttachments)
 Serialize an XML enabled class as an XML document and write. More...
 
_.Library.Status XMLExportToStream (_.Stream.Object export, _.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent)
 Serialize an XML enabled class as an XML document and appends it to a stream. More...
 
_.Library.Status XMLExportToString (_.Library.String export, _.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent)
 Serialize an XML enabled class as an XML document and write it to a string. More...
 

Public Attributes

 children
 Set of svg components within this group. More...
 
 disabled
 If true, this group and its children are disabled. More...
 
 layout
 Specifies how components within this group should be layed out. More...
 

Static Public Attributes

 DEFAULTLAYOUT = None
 Subclasses can set this to change default layout for a group.
 
 NAMESPACE = None
 XML namespace used for library components.
 
- Static Public Attributes inherited from Adaptor
 ATTRIBUTEQUALIFIED = None
 ATTRIBUTEQUALIFIED controls the format of exported XML by controlling whether attributes. More...
 
 ELEMENTQUALIFIED = None
 ELEMENTQUALIFIED controls the format of exported XML. More...
 
 NAMESPACE = None
 NAMESPACE specifies the XML namespace to be used when projecting the. More...
 
 SUPPRESSTYPEPREFIX = None
 SUPPRESSTYPEPREFIX allows the type name that refers to this class. More...
 
 XMLDEFAULTREFERENCE = None
 XMLDEFAULTREFERENCE specifies the default value of the XMLREFERENCE property parameter. More...
 
 XMLENABLED = None
 If this parameter is true then XML-enabling methods. More...
 
 XMLFORMAT = None
 The XMLFORMAT parameter controls the generation of the XMLExport and XMLImport. More...
 
 XMLIGNOREINVALIDATTRIBUTE = None
 The XMLIGNOREINVALIDATTRIBUTE parameter allows the programmer to control handling of unexpected. More...
 
 XMLIGNOREINVALIDTAG = None
 The XMLIGNOREINVALIDTAG parameter allows the programmer to control handling of unexpected. More...
 
 XMLIGNORENULL = None
 XMLIGNORENULL allows the programmer to override the default XML handling. More...
 
 XMLINCLUDEINGROUP = None
 XMLINCLUDEINGROUP allows the programmer to control whether a class is included. More...
 
 XMLINHERITANCE = None
 If the XMLINHERITANCE parameter is set to "LEFT", then in the case of multiple. More...
 
 XMLNAME = None
 This parameter provides the default XMLNAME for the class. More...
 
 XMLNIL = None
 The XMLNIL class parameter controls the use of xsi:nil by XMLExport. More...
 
 XMLNILNOOBJECT = None
 The XMLNILNOOBJECT parameter allows creation of an object to be skipped for elements. More...
 
 XMLPREFIX = None
 The XMLPREFIX parameter controls the prefix to be used for the XML namespace that. More...
 
 XMLSEQUENCE = None
 If the XMLSEQUENCE = 1, then the order of the XML elements must match the. More...
 
 XMLSUMMARY = None
 The summary fields to be used when an object is referenced are specified. More...
 
 XMLTYPE = None
 This parameter provides the default XMLTYPE for the class. More...
 
 XMLUNSWIZZLE = None
 If the XMLUNSWIZZLE parameter is set to 1, then single object. More...
 
 XMLUSEEMPTYELEMENT = None
 If the XMLUSEEMPTYELEMENT parameter is set to 1, then the empty element shorthand (<tag>) More...
 

Private Member Functions

 AddChild (_.ZEN.Component.object pComponent)
 Add a child component pComponent to this group. More...
 
_.Library.Boolean RemoveChild (_.ZEN.Component.object pComponent)
 Remove child component pComponent from this group. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Adaptor
_.Library.Status XMLDTD (_.Library.String top, _.Library.String format, _.Library.Boolean input, dtdlist)
 Write the DTD to the current device for this XML enabled class serialized as. More...
 
_.Library.RegisteredObject XMLNew (_.XML.Document document, _.Library.Integer node, _.Library.RegisteredObject containerOref)
 Get an instance of an XML enabled class. More...
 
_.Library.Status XMLSchema (_.Library.String top, _.Library.String format, _.Library.String namespacePrefix, _.Library.Boolean input, _.Library.Boolean refOnly, schema)
 Write an XML Schema fragment to the current device which describes an XML enabled class and dependent classes. More...
 
_.Library.String XMLSchemaNamespace ()
 Get the namespace to which this class belongs for use in schema generation. More...
 
_.Library.Status XMLSchemaType (_.XML.Schema schemaInstance, _.XML.Node node, _.Library.String top, _.Library.Boolean encoded, _.Library.Boolean summary, _.Library.Boolean input, _.Library.Boolean refOnly)
 Add a complexType to the schema that is respresented by an <class>XML.Schema</class> instance. More...
 

Detailed Description

Base implementation of SVG group behavior.

Member Function Documentation

◆ AddChild()

AddChild ( _.ZEN.Component.object  pComponent)
private

Add a child component pComponent to this group.

This is called when the server component tree is being created. This also adds pComponent to the page that this group belongs to; this group must be added to a page before adding any child components to it. In addition, the <property>id</property> property of the component must be set before calling this method.

◆ RemoveChild()

_.Library.Boolean RemoveChild ( _.ZEN.Component.object  pComponent)
private

Remove child component pComponent from this group.

Returns true if the component was found and removed.

◆ addChild()

addChild (   component)

Client-side method.


Dynamically add a component to this group on the client.

◆ layoutChildren()

layoutChildren ( )

Apply layout to the child components within this group.

Updates the value of width and height for this group;

◆ removeChild()

removeChild (   component)

Client-side method.


Dynamically remove a component from this group on the client.

◆ setPropertyAll()

setPropertyAll (   property,
  value,
  value2 
)

Apply the given value to the specified property for.

this group and all of its children.
Note that this will not work for 'disabled'; for that use <method>setProperty</method>.

Member Data Documentation

◆ children

children

Set of svg components within this group.

 

◆ disabled

disabled

If true, this group and its children are disabled.

 

◆ layout

layout

Specifies how components within this group should be layed out.


"none" indicates that no layout is provided.
"vertical" indicates that components within this group are layed out vertically.
"horizontal" indicates that components within this group are layed out horizontally.
"flow" indicates that components within this group are placed within multiple rows. Items are placed horizontally until the width of the container is exceeded and then components are placed on the next row.