InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > %ZEN.LayoutManager

%ZEN.LayoutManager

abstract class %ZEN.LayoutManager

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

Method Inventory

Methods

classmethod %Attr(pName As %String, pValue As %String) as %String [ Language = objectscript ]
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 [ Language = objectscript ]
Return error message for component
classmethod %Hint(tChild As %ZEN.Component.component) as %String [ Language = objectscript ]
Return hint text for component
classmethod %Label(tChild As %ZEN.Component.component) as %String [ Language = objectscript ]
Return label for component
classmethod GetBorder(pIndex As %Integer) as %String [ Language = objectscript ]
Get border attribute for layout tables
classmethod default(pGroup As %ZEN.Component.group, pTuple As %Integer = "") [ Language = objectscript ]
Default layout: simply display components with no wrapping table.
classmethod horizontal(pGroup As %ZEN.Component.group, pTuple As %Integer = "") [ Language = objectscript ]
Layout out components horizontally.
classmethod vertical(pGroup As %ZEN.Component.group, pTuple As %Integer = "") [ Language = objectscript ]
Layout out components vertically.
Feedback