class %DeepSee.Component.pivotController
extends %ZEN.Component.component
Pivot table controller.
This component is linked to a pivotTable and displays a set of lists that
can be used to specify the data that is to be plotted by the pivotTable (such
as rows and columns).
parameter DOMAIN = "%DeepSee";
Set this to the correct domain.
parameter NAMESPACE = "http://www.intersystems.com/deepsee";
This is the XML namespace used for library components.
property pivotTableId
as %ZEN.Datatype.id(COMPONENTTYPE="pivotTable");
id of %DeepSee.Component.pivotTable component this
controller is associated with.
Note: if this component is placed within a composite element, then the
pivotTable must be within the same composite element.
property selectedColumn
as %ZEN.Datatype.string(XMLPROJECTION="none");
Name of column with selected item.
property selectedItem
as %ZEN.Datatype.string(XMLPROJECTION="none");
Path (idx1_idx2_idx3) of selected item or ''.
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 addBlankLevel(which)
[ Language = javascript ]
Click handler for add selected item button.
If nothing selected, adds a space.
method addLevel(which)
[ Language = javascript ]
Click handler for add button.
method buildIconList()
[ Language = javascript ]
Build the list of icons used by this component.
method clearLevels(which)
[ Language = javascript ]
Click handler for clear button.
method copyItem()
[ Language = javascript ]
Copy pivot level item.
method dropStartHandler(dragData)
[ Language = javascript ]
Drop handler. This is called when an item is dropped onto the controller.
method getIcon(id)
[ Language = javascript ]
Return the url of the icon with the given id.
method getPivotTable()
[ Language = javascript ]
Return the pivotTable this controller is currently connected to.
method gotoDrillLevel(idx)
[ Language = javascript ]
Click handler for drill level.
method hideMessage()
[ Language = javascript ]
Hide the message box.
method itemCanMoveDown(which, key)
[ Language = javascript ]
Test if an item can move down.
method itemCanMoveUp(which, key)
[ Language = javascript ]
Test if an item can move up.
method moveItemDown(which)
[ Language = javascript ]
Move the current item down.
method moveItemUp(which)
[ Language = javascript ]
Move the current item up.
method onPopupAction(popupName, action, value)
[ Language = javascript ]
This client event is fired when the a popup page launched from this component fires an action.
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.
method pasteItem(where)
[ Language = javascript ]
Paste pivot level item.
method removeDrillLevel(idx)
[ Language = javascript ]
Click handler for drill level remove.
method removeLevel(which, key)
[ Language = javascript ]
Click handler for remove level button.
method renderContents()
[ Language = javascript ]
Client-side method to render this control.
method resetTable()
[ Language = javascript ]
Reset the pivot table.
method selectItem(which, item)
[ Language = javascript ]
Select the given item.
method setAxisOptions(which)
[ Language = javascript ]
Click handler for axis options button.
method setFilterOptions(idx)
[ Language = javascript ]
Click handler for filter options button.
method setLevelOptions(which, key)
[ Language = javascript ]
Click handler for level options button.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
method showMessage(pivot, msg, pct, listing)
[ Language = javascript ]
Display the pivot status message box.