class %DeepSee.Report.UI.popGroup
extends %ZEN.Component.group
A pop group displays a header (which can include various buttons).
The user can drag the group around within its containing desktop group.
parameter DEFAULTCLOSEIMAGE = "portal/close_b_11.png";
Default image for close group button.
parameter DEFAULTENCLOSINGCLASS = "popGroup";
Subclasses can set this to change default css class for a group.
parameter DEFAULTHEADERLAYOUT = "CT";
Default header layout pattern
parameter DEFAULTLAYOUT = "none";
Subclasses can set this to change default layout for a group.
property centerHeader
as %Boolean [ InitialExpression = 1 ];
If set, this boolean flag indicates that the title section of the header
should be centered over the dragGroup
property header
as %ZEN.Datatype.caption [ InitialExpression = "Untitled Group" ];
Title to display in header section for this group.
property headerLayout
as %ZEN.Datatype.string [ InitialExpression = ..#DEFAULTHEADERLAYOUT ];
The header layout pattern determines the order in which control windows are added
to the header section of the dragGroup window frame. This is encoded as a four
character string consisting of the following tokens
'T' represents the Title section with both application logo and header caption
'C' represents the Close button
property headerStyle
as %ZEN.Datatype.string [ InitialExpression = "anchor" ];
Header style is one of "full" "anchor" or "none"
property imageClose
as %ZEN.Datatype.uri [ InitialExpression = ..#DEFAULTCLOSEIMAGE ];
URI of image to display for the close group button.
property imageCloseWidth
as %ZEN.Datatype.integer [ InitialExpression = 11 ];
Width (in pixels) of image to display for the close group button.
property tearable
as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
method %DrawHTML()
Static HTML display method: draw the BODY of this component
as HTML.
Subclasses implement this in order to render the static HTML
contents of a component.
method adjustChildArea()
[ Language = javascript ]
Utility to adjust the size of the dragChildren area in the
event of a resize action
method adjustHandleWidth()
[ Language = javascript ]
Utility to adjust the width of the drag header to correctly position
the header controls based on the current drag group width
method close(event)
[ Language = javascript ]
Callback to close the subwindow
method closeCB()
[ Language = javascript ]
method constrainDragX(mgr, wrapper, newX)
[ Language = javascript ]
method constrainDragY(mgr, wrapper, newY)
[ Language = javascript ]
method endDrag()
[ Language = javascript ]
method getChildDiv()
[ Language = javascript ]
Return the HTML div element that wraps the children of this group.
method getHeaderDiv()
[ Language = javascript ]
Return the HTML div element that wraps the header of this group.
method getMaxDepth()
[ Language = javascript ]
method getMaxDepthIE(root, max)
[ Language = javascript ]
method getMaxDepthStd(root, max)
[ Language = javascript ]
method getWindowHeight()
[ Language = javascript ]
Return the internal height of the drag window in pixles
method getWindowWidth()
[ Language = javascript ]
Return the internal width of the drag window in pixles
method initializeCS()
[ Language = javascript ]
method layoutHeader()
[ Language = javascript ]
method onRefreshContents()
[ Language = javascript ]
Client-side method to ensure that the controller has an accurate model
to work with even if the DOM has been modified externally
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.
method popAway()
[ Language = javascript ]
method renderContents()
[ Language = javascript ]
Client-side method to render control.
method renderCoverplate()
[ Language = javascript ]
method renderHeader()
[ Language = javascript ]
Render the contents of the header section of this component.
method resize(width, height)
[ Language = javascript ]
Resize the active group to the given geometry
method setCenterLayout(flag)
[ Language = javascript ]
method setCloseIcon(iconURL, width)
[ Language = javascript ]
method setIcon(iconDiv, iconURL, width)
[ Language = javascript ]
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
method show(x, y, modal)
[ Language = javascript ]
method startDrag()
[ Language = javascript ]
method verifyHeaderGeometry()
[ Language = javascript ]