Home > Class Reference > %SYS namespace > %DeepSee.UI.Dialog.ReorderItems

%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)

Parameters

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");
THIS GETS THE NAME OF THE FUNCTION THAT WILL RETURN THE CUBE
Property methods: fetchCubeDisplayToLogical(), fetchCubeGet(), fetchCubeIsValid(), fetchCubeLogicalToDisplay(), fetchCubeLogicalToOdbc(), fetchCubeNormalize(), fetchCubeSet()

Methods (Including Private)

method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Inherited description: Be sure to do ##super() when overriding.
method %OnGetSubtitle() as %String [ Language = objectscript ]
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String [ Language = objectscript ]
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)

Feedback