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

OLAPQuery  - AS3 Flex

套件mx.olap
類別public class OLAPQuery
繼承OLAPQuery Inheritance Object
實作 IOLAPQuery

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

The OLAPQuery interface represents an OLAP query that is executed on an IOLAPCube.

MXML 語法expanded隱藏 MXML 語法

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

  <mx:OLAPQuery
    Properties
       axis=""
  />
 
  

預設 MXML 屬性axes

更多範例

相關 API 元素



公用屬性
 屬性定義自
  axes : Array
The axis of the Query as an Array of OLAPQueryAxis instances.
OLAPQuery
  COLUMN_AXIS : int = 0
[靜態] Specifies a column axis.
OLAPQuery
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
  ROW_AXIS : int = 1
[靜態] Specifies a row axis.
OLAPQuery
  SLICER_AXIS : int = 2
[靜態] Specifies a slicer axis.
OLAPQuery
公用方法
 方法定義自
  
Gets an axis from the query.
OLAPQuery
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
  
setAxis(axisOrdinal:int, axis:IOLAPQueryAxis):void
Sets an axis to the query.
OLAPQuery
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
屬性詳細資訊

axes

屬性
axes:Array

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

The axis of the Query as an Array of OLAPQueryAxis instances. A query can have three axes: column, row, and slicer.



實作
    public function get axes():Array
    public function set axes(value:Array):void

COLUMN_AXIS

屬性 
public static var COLUMN_AXIS:int = 0

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

Specifies a column axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

ROW_AXIS

屬性 
public static var ROW_AXIS:int = 1

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

Specifies a row axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

SLICER_AXIS

屬性 
public static var SLICER_AXIS:int = 2

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

Specifies a slicer axis. Use this property as a value of the axisOrdinal argument to the getAxis() method.

方法詳細資訊

getAxis

()方法
public function getAxis(axisOrdinal:int):IOLAPQueryAxis

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

Gets an axis from the query. You typically call this method to obtain an uninitialized IOLAPQueryAxis instance, then configure the IOLAPQueryAxis instance for the query.

參數

axisOrdinal:int — Specify OLAPQuery.COLUMN AXIS for a column axis, OLAPQuery.ROW_AXIS for a row axis, and OLAPQuery.SLICER_AXIS for a slicer axis.

傳回值
IOLAPQueryAxis — The IOLAPQueryAxis instance.

setAxis

()方法 
public function setAxis(axisOrdinal:int, axis:IOLAPQueryAxis):void

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

Sets an axis to the query.

參數

axisOrdinal:int — Specify OLAPQuery.COLUMN AXIS for a column axis, OLAPQuery.ROW_AXIS for a row axis, and OLAPQuery.SLICER_AXIS for a slicer axis.
 
axis:IOLAPQueryAxis — The IOLAPQueryAxis instance.





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

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