This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %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 (Including Private)

Method Inventory (Including Private)


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

Properties (Including Private)

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");
Property methods: fetchCubeDisplayToLogical(), fetchCubeGet(), fetchCubeIsValid(), fetchCubeLogicalToDisplay(), fetchCubeLogicalToOdbc(), fetchCubeNormalize(), fetchCubeSet()

Methods (Including Private)

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 (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window