套件 | com.adobe.solutions.rca.presentation.util |
類別 | public class AlertFormatter |
繼承 | AlertFormatter Object |
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
ERROR_ICON : Class
This property refers to error icon. | AlertFormatter | ||
INFO_ICON : Class
This property refers to information icon. | AlertFormatter | ||
OK_ICON : Class
This property refers to OK icon. | AlertFormatter | ||
WARNING_ICON : Class
This property refers to warning icon. | AlertFormatter |
公用方法
方法 | 定義自 | ||
---|---|---|---|
AlertFormatter(alertParent:UIComponent = null)
The constructor for AlertFormatter class. | AlertFormatter | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
showAlert(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):void
This method displays a generic dialog. | AlertFormatter | ||
showAlertWithNoButtonsAndReturn(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):Alert
This method displays a generic dialog without any buttons. | AlertFormatter | ||
This method displays an error dialog. | AlertFormatter | ||
This method displays an information dialog. | AlertFormatter | ||
This method displays a notification dialog. | AlertFormatter | ||
This method displays a warning dialog. | AlertFormatter | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
屬性詳細資訊
ERROR_ICON | 屬性 |
public var ERROR_ICON:Class
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property refers to error icon.
INFO_ICON | 屬性 |
public var INFO_ICON:Class
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property refers to information icon.
OK_ICON | 屬性 |
public var OK_ICON:Class
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property refers to OK icon.
WARNING_ICON | 屬性 |
public var WARNING_ICON:Class
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property refers to warning icon.
建構函式詳細資料
AlertFormatter | () | 建構函式 |
public function AlertFormatter(alertParent:UIComponent = null)
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for AlertFormatter
class.
alertParent:UIComponent (default = null ) — UI component that acts as the parent of the alert dialog.
|
方法詳細資訊
showAlert | () | 方法 |
public function showAlert(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):void
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
icon:Class — Icon displayed on the dialog.
| |
buttons:uint (default = NaN ) — Buttons that are displayed on the dialog.
| |
closer:Function (default = null ) — Function invoked when the buttons on the alert are clicked.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
showAlertWithNoButtonsAndReturn | () | 方法 |
public function showAlertWithNoButtonsAndReturn(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):Alert
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog without any buttons.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
icon:Class — Icon to be displayed in dialog.
| |
buttons:uint (default = NaN ) — The buttons that will be displayed on dialog. These buttons will not be visible.
| |
closer:Function (default = null ) — Function to be invoked when the buttons on alert are clicked.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
Alert — It returns the alert dialog that is created by this method.
|
showError | () | 方法 |
public function showError(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays an error dialog.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
showInfo | () | 方法 |
public function showInfo(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays an information dialog.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
showNotification | () | 方法 |
public function showNotification(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays a notification dialog.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
showWarning | () | 方法 |
public function showWarning(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
語言版本: | ActionScript 3.0 |
產品版本: | Review, Commenting, and Approval Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method displays a warning dialog.
參數
message:String — Message displayed in the alert dialog.
| |
title:String — Title of the alert dialog.
| |
minHeight:Number (default = NaN ) — Minimum height of the alert dialog.
| |
minWidth:Number (default = NaN ) — Minimum width of the alert dialog.
|
Tue Jun 12 2018, 03:47 PM Z