%ZEN.LayoutManager

abstract class %ZEN.LayoutManager

This utility class provides a centralized place for the coded used to implement control layout on a page.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
8

Summary

Methods
%Attr %ErrorMsg %Hint %Label GetBorder
default horizontal vertical

Methods

classmethod %Attr(pName As %String, pValue As %String) as %String
Utility method used when writing out HTML attribute values. Given an attribute name and value, this returns the string attr=""value"" with value HTML escaped. If value is "", then "" is returned.
classmethod %ErrorMsg(tChild As %ZEN.Component.component) as %String
Return error message for component
classmethod %Hint(tChild As %ZEN.Component.component) as %String
Return hint text for component
classmethod %Label(tChild As %ZEN.Component.component) as %String
Return label for component
classmethod GetBorder(pIndex As %Integer) as %String
Get border attribute for layout tables
classmethod default(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Default layout: simply display components with no wrapping table.
classmethod horizontal(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Layout out components horizontally.
classmethod vertical(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Layout out components vertically.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA