This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %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


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, pTuple As %Integer = "")
Default layout: simply display components with no wrapping table.
classmethod horizontal(pGroup As, pTuple As %Integer = "")
Layout out components horizontally.
classmethod vertical(pGroup As, pTuple As %Integer = "")
Layout out components vertically.
FeedbackOpens in a new window