包 | 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, 11:04 AM Z