Home > Class Reference > ENSLIB namespace > %ZEN.Component.abstractDragGroupMgr
Private  Storage   

%ZEN.Component.abstractDragGroupMgr


class %ZEN.Component.abstractDragGroupMgr extends activeGroup

%ZEN.Component.abstractDragGroupMgr This is a parent class to house common functionality for all of the activeGroups that are expected to have instances of DragGroup as their only immediate children

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 1 8


Summary


Properties
%condition %import %includeFiles %page
%resource align aux children
composite containerStyle disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
groupName height hidden hint
hintClass hintStyle id index
label labelClass labelDisabledClass labelStyle
name onafterdrag onbeforedrag ondrag
ondrop onhide onrefresh onshow
onupdate parent showLabel slice
title tuple valign visible
width window

Methods
%AddChild %AddChildAfter %AddChildBefore %AddToSaveSet
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawComponentHTML %DrawHTML %DrawJSStrings %EnclosingDivId
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetEventHandlers %GetParameter %GetXMLName
%IsA %IsModified %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnDrawEnclosingDiv %OnDrawObjectProperties %OnMutateChildren %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveChild %RemoveChildren %RemoveFromSaveSet
%Self %SerializeObject %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
addChild addChildAfter addChildBefore bringToFront
broadcast childrenMutated dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
exposeComponent findElement fireOnUpdateEvent forceRefresh
getChildIndex getEnclosingDiv getGroupManager getHidden
getHintElement getLabelElement getProperty getSettings
getType getWallpaperDiv invokeSuper isOfType
makeId onCreate onDelete onDisplayHandler
onEndModalHandler onPopupAction onRefreshContents onSerialize
onStartModalHandler ondisabledHandler onloadHandler onunloadHandler
onupdateHandler refreshContents removeChild render
renderContents renderSVG setHidden setOverlayMode
setProperty setPropertyAll startProgressBar stopProgressBar

Subclasses
%ZEN.Component.corkboard %ZEN.Component.desktop %ZEN.Component.snapGrid

Parameters


• parameter DEFAULTENCLOSINGCLASS = "activeGroup";
To be compatible with the static layout manager the enclosing class has to be the generic activeGroup rather than the specific type of dragGroup manager such as desktopGroup. The desktopGroup (et al.) is the one used for tuning attributes of the absolutely positioned elements.
• parameter INCLUDEFILES = "zenCSLM.js";
CSV list of additional include files (either .js or .css) that should be included when this component is used on a page.
By default, the file extension (.js or .css) is used to determine whether an item in the list is a script include or a style include. You can override this behavior by adding the terms "script:" or "style:" to the beginning of the file name or names. This prefix is not used as part of the include filename.

Properties


• property groupName as %ZEN.Datatype.string [ InitialExpression = "dragMgr" ];
The logical name of the manager with respect to the external JavaScript code that actually manages the space

Methods


• 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 bringToFront(dragGroup) [ Language = javascript ]
Programmatically give the "focus" to the given drag group
• method broadcast(signal, value) [ Language = javascript ]
Send one of several predefined signals to each of the active DragGroup windows associated with this group. Valid signals to pass include:

"resize" - call the onresize handler (if any) for each window
"disableCoverplate" - hide the event trapper coverplate from all windows "disableResize" - remove the resize pip from the lower right corners of the windows
"disableMaxToggle" - reset mouse clicks on the header to the default (drag) behavior
"enableCoverplate" - force an invisible event trapper to cover the window to prevent contents from seeing events
"enableMaxToggle" - redefine the window header to be a maximize button rather than a drag handle
"enableResize" - restore the resize pip to the lower right corners of the windows
"removeDragHeader" - completely hide the drag handle and resize the window to use the recovered space
"restoreDragHeader" - restore the drag handle and resize the window to account for the newly used space
"setBodyStyle" - given a JSON representation of a style object in value, add the given rules to the existing style of the drag body
"setHeaderStyle" - given a JSON representation of a style object in value, add the given rules to the existing style of the drag header
"setHeaderLayout" - set the headerLayout property of all children to the given value "processAppMessage" - simply pass the value given to the dragGroup children, subclasses of dragGroup can override the default processAppMessage() method to extend the broadcast facility to address application specific signals

• method forceRefresh() [ Language = javascript ]
Force a refresh of the grid size based of the current geometries
• method getGroupManager() [ Language = javascript ]
Find the client-side group manager engine for this projection
• method getWallpaperDiv() [ Language = javascript ]
Return the HTML node used as the backdrop for the snapGrid.
• method onloadHandler() [ Language = javascript ]
This forces the initial managerEngine pointer to null, subclasses should reinitialize this on page load.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.