Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZENDemo.SnapGridDemo

class ZENDemo.SnapGridDemo extends %ZEN.Component.page

This is the SnapGrid Demonstration page for the Zen demonstration application.

Method Inventory

Parameters

parameter APPLICATION = ZENDemo.Application;
Class name of application this page belongs to.
parameter DOMAIN = ZENDEMO;
Domain used for localization.
parameter PAGENAME = SnapGrid Demo;
Displayed name of this page.

Methods

Return an array of quick links to be displayed by the locator bar.
clientmethod addColumn() [ Language = javascript ]
Add a layout column to the abstract grid
clientmethod addRow() [ Language = javascript ]
Add a row to the underlying abstract grid
clientmethod dumpObj(obj) [ Language = javascript ]
clientmethod forceNarrow() [ Language = javascript ]
clientmethod getChartData(series) [ Language = javascript ]
Callback to provide data for chart.
clientmethod getChartLabelX(val) [ Language = javascript ]
Callback to provide labels for chart.
classmethod getNewChartData() [ ZenMethod ]
Server-side method to calculate new chart data
clientmethod onloadHandler() [ Language = javascript ]
Initialize the display and set a few status variables for internal operations
clientmethod onresizeHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is resized.
clientmethod removeColumn() [ Language = javascript ]
Remove a layout column to the abstract grid
clientmethod removeHeaderStyles() [ Language = javascript ]
Use the snapGrid's broadcast capabilities to remove the drag handles on all active drag groups to make a truly static-layout, read-only dashboard
clientmethod removeRow() [ Language = javascript ]
Remove a row to the underlying abstract grid
clientmethod resetHeaderStyles() [ Language = javascript ]
Restore all drag group headers to factory settings, restoring dragging and resizing ability as well.
clientmethod resizeAll() [ Language = javascript ]
Use the snapGrid's broadcast feature to ensure that all drag groups are making optimum use of their available space.
clientmethod resizeChart() [ Language = javascript ]
Method to get the SVG chart to scale accordingly each time its parent Drag Group is resized
clientmethod resizeMeter(n) [ Language = javascript ]
Method to get the SVG meters to resize proportionally each time their parent Drag Group window is resized
clientmethod restyleHeaderStyles() [ Language = javascript ]
Use the snapGrid's broadcast capabilities to restyle all active drag groups to make a more static, but zoom-able dashboard. With the restyled headers the user can no longer move windows around but can still elect to maximize individual windows by clicking on their title bars
clientmethod showCurrentGrid() [ Language = javascript ]
Make a poor man's grid to show the drop zones and add it to the wallpaper
clientmethod styleFocusHeader(div) [ Language = javascript ]
Paint the last active drag window a slightly different color
clientmethod styleNormalHeader(div) [ Language = javascript ]
Restore original coloring of the given drag window
clientmethod trackFocusWindow(who) [ Language = javascript ]
Log which drag window was touched last and style the drag header accordingly
clientmethod updateData() [ Language = javascript ]
Update components to show new data

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab