套件 | mx.controls |
類別 | public final class ProgressBarMode |
繼承 | ProgressBarMode Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
mode
property
of the ProgressBar class.
更多範例
相關 API 元素
公用常數
常數 | 定義自 | ||
---|---|---|---|
EVENT : String = "event" [靜態]
The control specified by the source property must
dispatch progress and completed events. | ProgressBarMode | ||
MANUAL : String = "manual" [靜態]
You manually update the ProgressBar status. | ProgressBarMode | ||
POLLED : String = "polled" [靜態]
The source property must specify an object that
exposes the getBytesLoaded() and
getBytesTotal() methods. | ProgressBarMode |
常數詳細資訊
EVENT | 常數 |
public static const EVENT:String = "event"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The control specified by the source
property must
dispatch progress
and completed
events.
The ProgressBar uses these events to update its status.
MANUAL | 常數 |
public static const MANUAL:String = "manual"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
You manually update the ProgressBar status. In this mode, you
specify the maximum
and minimum
properties and use the setProgress()
method
to specify the status. This mode is often used when the
indeterminate
property is true
.
POLLED | 常數 |
public static const POLLED:String = "polled"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The source
property must specify an object that
exposes the getBytesLoaded()
and
getBytesTotal()
methods. The ProgressBar control
calls these methods to update its status.
Tue Jun 12 2018, 03:47 PM Z