Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

%DeepSee.UI.Dialog.ReorderItems

class %DeepSee.UI.Dialog.ReorderItems extends %DeepSee.UI.Dialog.standardDialog

This dialog lets the user reorder Dimensions or Measures.
The cube's javascript DOM is passed in.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.

Properties

property cubeName as %ZEN.Datatype.string (ZENURL = "CUBENAME");
Cube name.
Property methods: cubeNameDisplayToLogical(), cubeNameGet(), cubeNameIsValid(), cubeNameLogicalToDisplay(), cubeNameLogicalToOdbc(), cubeNameNormalize(), cubeNameSet()
property fetchCube as %ZEN.Datatype.string (ZENURL = "FETCHCUBE");
THIS GETS THE NAME OF THE FUNCTION THAT WILL RETURN THE CUBE
Property methods: fetchCubeDisplayToLogical(), fetchCubeGet(), fetchCubeIsValid(), fetchCubeLogicalToDisplay(), fetchCubeLogicalToOdbc(), fetchCubeNormalize(), fetchCubeSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
clientmethod changeType(type) [ Language = javascript ]
User changed type to reorder. Show/hide associated list box.
clientmethod doSort(dir) [ Language = javascript ]
Sort list box alphabetically.
clientmethod getDialogValue() [ Language = javascript ]
Return updated dataCube object to Architect.
clientmethod moveItem(dir) [ Language = javascript ]
User clicked the Move Up/Down image. Move the field up or down one level in the List box.
Switch data in dataCube as well. dir = "up" or "dn".
clientmethod onloadHandler() [ Language = javascript ]
When we get here, we want to get the cube object from Architect as a native javaScript object "opener" is a pointer to Architect "opener.zenPage" is _Architect's_ DOM "this.cube" is the name of a function in Architect that serves up the cube data (from URL) eval("opener.zenPage."+this.fetchCube+"();") should return a complete data structure

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab