套件 | mx.olap |
類別 | public class OLAPLevel |
繼承 | OLAPLevel OLAPElement Proxy |
實作 | IOLAPLevel |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The <mx:OLAPLevel>
tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPLevel Properties attributeName="" />
更多範例
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
attribute : OLAPAttribute [唯讀]
The attribute connected to this level, as an instance of OLAPAttribute. | OLAPLevel | ||
attributeName : String
The name of the attribute to be used at this level. | OLAPLevel | ||
child : IOLAPLevel [唯讀]
The next child level in the hierarchy. | OLAPLevel | ||
dataField : String [唯讀]
The field of the input data set
that provides the data for this OLAPLevel instance. | OLAPLevel | ||
depth : int [唯讀]
The depth of the level in the hierarchy of the dimension. | OLAPLevel | ||
dimension : IOLAPDimension
The dimension to which this element belongs. | OLAPElement | ||
displayName : String
The name of the OLAP element, as a String, which can be used for display. | OLAPElement | ||
hierarchy : IOLAPHierarchy
The hierarchy of the dimension to which this level belongs. | OLAPLevel | ||
members : IList [唯讀]
The members of this level, as a list of IOLAPMember instances,
or null if a member is not found. | OLAPLevel | ||
name : String [覆寫]
The value of the name property of the
OLAPAttribute instance associated with this OLAPLevel instance. | OLAPLevel | ||
parent : IOLAPLevel [唯讀]
The parent level of this level, or null if this level is not nested in another level. | OLAPLevel | ||
uniqueName : String [覆寫] [唯讀]
The unique name of the OLAP element in the cube. | OLAPLevel |
方法 | 定義自 | ||
---|---|---|---|
Constructor
| OLAPLevel | ||
Returns the members with the given name within the hierarchy. | OLAPLevel | ||
Returns the unique name of the element. | OLAPElement |
attribute | 屬性 |
attribute:OLAPAttribute
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The attribute connected to this level, as an instance of OLAPAttribute.
實作
public function get attribute():OLAPAttribute
attributeName | 屬性 |
attributeName:String
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The name of the attribute to be used at this level.
The value of this property corresponds to the value of the
OLAPAttribute.name
property for the corresponding attribute.
實作
public function get attributeName():String
public function set attributeName(value:String):void
child | 屬性 |
child:IOLAPLevel
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The next child level in the hierarchy.
實作
public function get child():IOLAPLevel
dataField | 屬性 |
depth | 屬性 |
hierarchy | 屬性 |
hierarchy:IOLAPHierarchy
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The hierarchy of the dimension to which this level belongs.
實作
public function get hierarchy():IOLAPHierarchy
public function set hierarchy(value:IOLAPHierarchy):void
members | 屬性 |
members:IList
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The members of this level, as a list of IOLAPMember instances, or null if a member is not found. The 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 |
The value of the name
property of the
OLAPAttribute instance associated with this OLAPLevel instance.
Even though this property is writable, its value is determned by the OLAPAttribute instance
associated with the level and cannot be set.
實作
override public function get name():String
override public function set name(value:String):void
parent | 屬性 |
parent:IOLAPLevel
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The parent level of this level, or null if this level is not nested in another level.
實作
public function get parent():IOLAPLevel
uniqueName | 屬性 |
uniqueName:String
[唯讀] [覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The unique name of the OLAP element in the cube. For example, "[Time][Year][2007]" is a unique name, where 2007 is the element name belonging to the "Year" level of the "Time" dimension.
實作
override public function get uniqueName():String
OLAPLevel | () | 建構函式 |
public function OLAPLevel(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.
For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
| |
displayName:String (default = null ) — The name of the OLAP level, as a String, which can be used for display.
|
findMember | () | 方法 |
public function findMember(name:String):IList
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the members with the given name within the hierarchy.
參數
name:String — The name of the member.
|
IList — A list of IOLAPMember instances representing the members,
or null if a member is not found.
|
Tue Jun 12 2018, 03:47 PM Z