用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
mx.olap 

OLAPDimension  - AS3 Flex

mx.olap
public class OLAPDimension
继承OLAPDimension Inheritance OLAPElement Inheritance Proxy
实现 IOLAPDimension

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

OLAPDimension 类表示 OLAP 多维数据集的维度。

MXML 语法expanded隐藏 MXML 语法

The <mx:OLAPDimension> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:

  <mx:OLAPDimension
    Properties
    attributes=""
    elements=""
    hierarchies=""
   />
 
  

默认 MXML 属性elements

相关 API 元素



公共属性
 属性由以下参数定义
  attributes : IList
此维度的属性,作为 OLAPAttribute 实例列表。
OLAPDimension
  cube : IOLAPCube
此维度所属的多维数据集。
OLAPDimension
  defaultMember : IOLAPMember
[只读] 此维度的默认成员。
OLAPDimension
 InheriteddisplayName : String
OLAP 元素的名称,可作为 String 显示。
OLAPElement
  elements : Array
[只写] 处理输入数组,并根据该数组的元素初始化属性和层次结构属性。
OLAPDimension
  hierarchies : IList
此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。
OLAPDimension
  isMeasure : Boolean
[只读] 如果此为保留所有测量成员的测量维度,则包含 true。
OLAPDimension
  members : IList
[只读] 返回此维度的所有成员,作为 IOLAPMember 实例列表。
OLAPDimension
 Inheritedname : String
OLAP 元素的名称,包含该元素的 OLAP 架构层次结构。
OLAPElement
 InheriteduniqueName : String
[只读] 多维数据集中 OLAP 元素的唯一名称。
OLAPElement
公共方法
 方法由以下参数定义
  
OLAPDimension(name:String = null, displayName:String = null)
构造函数
OLAPDimension
  
返回具有维度中给定名称的属性。
OLAPDimension
  
返回具有维度中给定名称的层次结构。
OLAPDimension
  
返回具有维度中给定名称的成员。
OLAPDimension
 Inherited
返回该元素的唯一名称。
OLAPElement
属性详细信息

attributes

属性
attributes:IList

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

此维度的属性,作为 OLAPAttribute 实例列表。



实现
    public function get attributes():IList
    public function set attributes(value:IList):void

cube

属性 
cube:IOLAPCube

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

此维度所属的多维数据集。



实现
    public function get cube():IOLAPCube
    public function set cube(value:IOLAPCube):void

defaultMember

属性 
defaultMember:IOLAPMember  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

此维度的默认成员。



实现
    public function get defaultMember():IOLAPMember

elements

属性 
elements:Array  [只写]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

处理输入数组,并根据数组元素初始化 attributeshierarchies 属性。属性由 OLAPAttribute 类的实例在数组中表示,层次结构由 OLAPHierarchy 类的实例表示。

使用此属性定义单个数组中多维数据集的属性和层次结构。



实现
    public function set elements(value:Array):void

hierarchies

属性 
hierarchies:IList

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。



实现
    public function get hierarchies():IList
    public function set hierarchies(value:IList):void

isMeasure

属性 
isMeasure:Boolean  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

如果此为保留所有测量成员的测量维度,则包含 true



实现
    public function get isMeasure():Boolean

members

属性 
members:IList  [只读]

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

返回此维度的所有成员,作为 IOLAPMember 实例列表。返回的列表可能表示远程数据,因此可以引发 ItemPendingError。



实现
    public function get members():IList
构造函数详细信息

OLAPDimension

()构造函数
public function OLAPDimension(name:String = null, displayName:String = null)

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

构造函数

参数
name:String (default = null) — 包括元素的 OLAP 架构层次结构的 OLAP 维度的名称。
 
displayName:String (default = null) — OLAP 维度的名称,可以作为 String 显示。
方法详细信息

findAttribute

()方法
public function findAttribute(name:String):IOLAPAttribute

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

返回具有维度中给定名称的属性。

参数

name:String — 属性的名称。

返回
IOLAPAttribute — IOLAPAttribute 实例,用于表示属性,或者如果未找到属性则为 null。

findHierarchy

()方法 
public function findHierarchy(name:String):IOLAPHierarchy

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

返回具有维度中给定名称的层次结构。

参数

name:String — 层次结构的名称。

返回
IOLAPHierarchy — IOLAPHierarchy 实例,表示层次结构,或者如果未找到层次结构则为 null。

findMember

()方法 
public function findMember(name:String):IOLAPMember

语言版本: ActionScript 3.0
产品版本: Flex 3
运行时版本: Flash Player 9, AIR 1.1

返回具有维度中给定名称的成员。

参数

name:String — 该成员的名称。

返回
IOLAPMember — IOLAPMember 实例,表示成员,或者如果未找到成员则为 null。




[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。