DimSelection

Namespace: PP.Mb;

Inheritance hierarchy

Object

DimSelection

Description

The DimSelection class implements dimension selection.

Comments

Use the DimSelectionSet.getItem and DimSelectionSet.getItems method to get dimension selection.

Syntax

PP.initClass(PP.Mb.DimSelection, PP.Object, "PP.Mb.DimSelection");

Constructor

  Method name Brief description
DimSelection

The DimSelection constructor creates an instance of the DimSelection class.

Properties

  Property name Brief description
OdId The OdId property sets moniker of dimension selection.

Methods

  Method name Brief description
deselectAll

The deselectAll method removes all dimension elements from the selection.

deselectElement

The deselectElement method removes dimension element from selection by its key.

getDimension The getDimension method returns the dimension whose elements are selected.
getElement The getElement method returns selection element by its key.
getElements The getElements method returns the array of selection elements.
parse The parse method converts an array of dimension elements to array of selection elements.
selectChildren The selectChildren method adds children to selection.
selectElement The selectElement method adds dimension element to selection by its key.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Mb