適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.olap 

OLAPHierarchy  - AS3 Flex

套件mx.olap
類別public class OLAPHierarchy
繼承OLAPHierarchy Inheritance OLAPElement Inheritance Proxy
實作 IOLAPHierarchy
子類別 OLAPAttribute

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The OLAPHierarchy class represents a hierarchy of the schema of an OLAP cube.

MXML 語法expanded隱藏 MXML 語法

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

  <mx:OLAPHierarchy
    Properties
    allMemberName="(All)"
    elements="An array of Levels of this hierarchy"
    hasAll="true|false"
    name="No default"
  />
 
  

預設 MXML 屬性elements

更多範例

相關 API 元素



公用屬性
 屬性定義自
  allMemberName : String
The name of the all member of the hierarchy.
OLAPHierarchy
  children : IList
[唯讀] The children of the all member, as a list of IOLAPMember instances.
OLAPHierarchy
  defaultMember : IOLAPMember
[唯讀] The default member of the hierarchy.
OLAPHierarchy
 Inheriteddimension : IOLAPDimension
The dimension to which this element belongs.
OLAPElement
 InheriteddisplayName : String
The name of the OLAP element, as a String, which can be used for display.
OLAPElement
  elements : Array
[唯寫] An Array of the levels of the hierarchy, as OLAPLevel instances.
OLAPHierarchy
  hasAll : Boolean
Specifies whether the hierarchy has an all member, true, or not, false.
OLAPHierarchy
  levels : IList
All the levels of this hierarchy, as a list of IOLAPLevel instances.
OLAPHierarchy
  members : IList
[唯讀] All members of all the levels that belong to this hierarchy, as a list of IOLAPMember instances.
OLAPHierarchy
  name : String
[覆寫] User defined name of this hierarchy.
OLAPHierarchy
 InheriteduniqueName : String
[唯讀] The unique name of the OLAP element in the cube.
OLAPElement
公用方法
 方法定義自
  
OLAPHierarchy(name:String = null, displayName:String = null)
Constructor
OLAPHierarchy
  
Returns the level with the given name within the hierarchy.
OLAPHierarchy
  
Returns the member with the given name within the hierarchy.
OLAPHierarchy
 Inherited
Returns the unique name of the element.
OLAPElement
屬性詳細資訊

allMemberName

屬性
allMemberName:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The name of the all member of the hierarchy.

預設值為 "(All)"。



實作
    public function get allMemberName():String
    public function set allMemberName(value:String):void

children

屬性 
children:IList  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The children of the all member, as a list of IOLAPMember instances.



實作
    public function get children():IList

defaultMember

屬性 
defaultMember:IOLAPMember  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The default member of the hierarchy. The default member is used if the hierarchy is used where a member is expected.



實作
    public function get defaultMember():IOLAPMember

elements

屬性 
elements:Array  [唯寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

An Array of the levels of the hierarchy, as OLAPLevel instances.



實作
    public function set elements(value:Array):void

hasAll

屬性 
hasAll:Boolean

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Specifies whether the hierarchy has an all member, true, or not, false. If true, the all member name is as specified by the allMemberName property.

預設值為 true。



實作
    public function get hasAll():Boolean
    public function set hasAll(value:Boolean):void

levels

屬性 
levels:IList

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

All the levels of this hierarchy, as a list of IOLAPLevel instances. The returned list might represent remote data and therefore can throw an ItemPendingError.



實作
    public function get levels():IList
    public function set levels(value:IList):void

members

屬性 
members:IList  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

All members of all the levels that belong to this hierarchy, as a list of IOLAPMember instances. The returned list might represent remote data and therefore can throw an ItemPendingError.



實作
    public function get members():IList

name

屬性 
name:String[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

User defined name of this hierarchy. If user has not set a explicit name then the dimension name is returned.



實作
    override public function get name():String
    override public function set name(value:String):void
建構函式詳細資料

OLAPHierarchy

()建構函式
public function OLAPHierarchy(name:String = null, displayName:String = null)

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Constructor

參數
name:String (default = null) — The name of the OLAP level that includes the OLAP schema hierarchy of the element.
 
displayName:String (default = null) — The name of the OLAP level, as a String, which can be used for display.
方法詳細資訊

findLevel

()方法
public function findLevel(name:String):IOLAPLevel

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Returns the level with the given name within the hierarchy.

參數

name:String — The name of the level.

傳回值
IOLAPLevel — An IOLAPLevel instance representing the level, or null if a level is not found.

findMember

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

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

Returns the member with the given name within the hierarchy.

參數

name:String — The name of the member.

傳回值
IOLAPMember — An IOLAPMember instance representing the member, or null if a member is not found.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。