| 套件 | spark.core |
| 類別 | public final class NavigationUnit |
| 繼承 | NavigationUnit Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
getVerticalScrollPositionDelta() and
getHorizontalScrollPositionDelta()
methods of the IViewport class.
All of these constants have the same values as their flash.ui.Keyboard counterparts, except PAGE_LEFT and PAGE_RIGHT, for which no keyboard key equivalents exist.
相關 API 元素
| 方法 | 定義自 | ||
|---|---|---|---|
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
[靜態]
Returns true if the keyCode maps directly
to a NavigationUnit enum value. | NavigationUnit | ||
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
| 常數 | 定義自 | ||
|---|---|---|---|
| DOWN : uint = 40 [靜態]
Navigate one line or "step" downwards. | NavigationUnit | ||
| END : uint = 35 [靜態]
Navigate to the end of the document. | NavigationUnit | ||
| HOME : uint = 36 [靜態]
Navigate to the origin of the document. | NavigationUnit | ||
| LEFT : uint = 37 [靜態]
Navigate one line or "step" to the left. | NavigationUnit | ||
| PAGE_DOWN : uint = 34 [靜態]
Navigate one page downwards. | NavigationUnit | ||
| PAGE_LEFT : uint = 0x2397 [靜態]
Navigate one page to the left. | NavigationUnit | ||
| PAGE_RIGHT : uint = 0x2398 [靜態]
Navigate one page to the right. | NavigationUnit | ||
| PAGE_UP : uint = 33 [靜態]
Navigate one page upwards. | NavigationUnit | ||
| RIGHT : uint = 39 [靜態]
Navigate one line or "step" to the right. | NavigationUnit | ||
| UP : uint = 38 [靜態]
Navigate one line or "step" upwards. | NavigationUnit | ||
isNavigationUnit | () | 方法 |
public static function isNavigationUnit(keyCode:uint):Boolean| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Returns true if the keyCode maps directly
to a NavigationUnit enum value.
參數
keyCode:uint — A key code value.
|
Boolean — true if the keyCode maps directly
to a NavigationUnit enum value.
|
DOWN | 常數 |
public static const DOWN:uint = 40| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one line or "step" downwards.
END | 常數 |
public static const END:uint = 35| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate to the end of the document.
HOME | 常數 |
public static const HOME:uint = 36| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate to the origin of the document.
LEFT | 常數 |
public static const LEFT:uint = 37| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one line or "step" to the left.
PAGE_DOWN | 常數 |
public static const PAGE_DOWN:uint = 34| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one page downwards.
PAGE_LEFT | 常數 |
public static const PAGE_LEFT:uint = 0x2397| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one page to the left. The value of this constant, 0x2397, is the same as the Unicode "previous page" character.
PAGE_RIGHT | 常數 |
public static const PAGE_RIGHT:uint = 0x2398| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one page to the right. The value of this constant, 0x2398, is the same as the Unicode "next page" character.
PAGE_UP | 常數 |
public static const PAGE_UP:uint = 33| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one page upwards.
RIGHT | 常數 |
public static const RIGHT:uint = 39| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one line or "step" to the right.
UP | 常數 |
public static const UP:uint = 38| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 4 |
| 執行階段版本: | Flash Player 10, AIR 1.5 |
Navigate one line or "step" upwards.
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性