Пакет | com.adobe.solutions.rca.presentation.util |
Класс | public class AlertFormatter |
Наследование | AlertFormatter ![]() |
Язык версии: | 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:34 AM Z