%ZEN.LayoutManager
Class %ZEN.LayoutManager [ Abstract, Deprecated, Final, System = 3 ]
This utility class provides a centralized place for the coded used to implement control layout on a page.
Methods
default
ClassMethod default(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Default layout: simply display components with no wrapping table.
vertical
ClassMethod vertical(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Layout out components vertically.
horizontal
ClassMethod horizontal(pGroup As %ZEN.Component.group, pTuple As %Integer = "")
Layout out components horizontally.
GetBorder
ClassMethod GetBorder(pIndex As %Integer) As %String [ CodeMode = expression ]
Get border attribute for layout tables
GetDebugBorder
ClassMethod GetDebugBorder(pIndex As %Integer) As %String [ Deprecated, Private ]
Return HTML fragment to show visible borders. Deprecated.
%Attr
ClassMethod %Attr(pName As %String, pValue As %String) As %String [ CodeMode = expression ]
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.
%Label
ClassMethod %Label(tChild As %ZEN.Component.component) As %String [ CodeMode = expression ]
Return label for component
%Hint
ClassMethod %Hint(tChild As %ZEN.Component.component) As %String [ CodeMode = expression ]
Return hint text for component
%ErrorMsg
ClassMethod %ErrorMsg(tChild As %ZEN.Component.component) As %String [ CodeMode = expression ]
Return error message for component
%ZENVAL
ClassMethod %ZENVAL(pObj As %ZEN.Component.object, pExpr As %String, pEscape As %String = "") As %String [ CodeMode = expression, Internal ]
Replacement for $$$ZENVAL macro when used outside of the context of a component OREF.