Namespace: Consultingwerk.Web2.Services.Rendering.Viewer
Class 
ResponsiveContainerRenderer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.Viewer.IViewerContainerRenderer

File:ResponsiveContainerRenderer
Purpose:Responsive Rendering of a single container to JSON
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Feb 10 15:27:30 CET 2018



Top Method Summary
Options Name Purpose
# LOGICAL IsLayoutObject (handle, character) Returns if the object instance is a layout object
+ RenderInstances (JsonObject, handle, character, character, IBusinessEntityDescriptor, handle, character) Renders the instances of a responsive container level
# LOGICAL SingleComponentInRow (integer) Tests if there are multiple components in the given row


Method Detail
Top

PROTECTED LOGICAL IsLayoutObject (handle, character)

Purpose: Returns if the object instance is a layout object
Notes: Validates that the object instance has X, Y,
WIDTH-PIXELS and HEIGHT-PIXELS attributes

Parameters:
phRepositoryData HANDLE
The ProDataset with the repository data
pcObjectInstanceGuid CHARACTER
The GUID of the parent instance (or ? for the viewer)
Returns LOGICAL
Logical value indicating if the object instance is a layout object
Top

PUBLIC RenderInstances (JsonObject, handle, character, character, IBusinessEntityDescriptor, handle, character)

Purpose: Renders the instances of a responsive container level
Notes:

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JSON object representing the conatiner
phRepositoryData HANDLE
The ProDataset with the repository data
pcContainerObjectMasterGuid CHARACTER
The GUID of the container's Object Master record
pcParentInstanceGuid CHARACTER
The GUID of the parent instance (or ? for the viewer)
poDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The Business Entity Descriptor of the Design Time Business Entity
phDataset HANDLE
The handle of the Business Entities's dataset
pcTables CHARACTER
The Business Entity tables for the data source
Top

PROTECTED LOGICAL SingleComponentInRow (integer)

Purpose: Tests if there are multiple components in the given row
Notes:

Parameters:
piRow INTEGER
The row to test
Returns LOGICAL
Logical value indicating if there are multiple components in the given row


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:17:34