HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk

Class s7sdk.ItemDesc

The ItemDesc is a base class of every set element. Each set element must have a swatch associated with it, name and the type.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.ItemDesc(parent, type, name, swatch)
Field Summary
Field Attributes Field Name and Description
 
The name represents the catalog ID of the set element and it corresponds to the n attribute of the <i>, <v> or <set> XML elements of the req=set response.
 
The reference to the set to which the item belongs.
 
The swatch corresponds to the <s> XML element of the req=set response.
 
The type of the item element.
Class Detail
s7sdk.ItemDesc(parent, type, name, swatch)
Parameters:
parent
The parent set.
type
The type of the item element. The supported types are listed in the ItemDescType enumeration.
name
The catalog ID associated with the item.
swatch
The swatch associated with the item (SwatchDesc).
See:
s7sdk.set.MediaSet
s7sdk.MediaSetDesc
Field Detail
name
The name represents the catalog ID of the set element and it corresponds to the n attribute of the <i>, <v> or <set> XML elements of the req=set response.

parent
The reference to the set to which the item belongs. If the item represents the top-level set the parent is set to null.

swatch
The swatch corresponds to the <s> XML element of the req=set response. Every set item must have a swatch associated with it.

type
The type of the item element. The supported types are listed in the ItemDescType enumeration.

The type corresponds to the type attribute of the <item> XML element of the req=set response.


Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:12 GMT-0000 (UTC)