Pakiet | com.adobe.solutions.rca.presentation.util |
Klasa | public class AlertFormatter |
Dziedziczenie | AlertFormatter Object |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
Właściwości publiczne
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | 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 |
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
AlertFormatter(alertParent:UIComponent = null)
The constructor for AlertFormatter class. | AlertFormatter | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | 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 | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
Zwraca ciąg reprezentujący określony obiekt. | Object | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object |
Szczegół właściwości
ERROR_ICON | właściwość |
public var ERROR_ICON:Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This property refers to error icon.
INFO_ICON | właściwość |
public var INFO_ICON:Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This property refers to information icon.
OK_ICON | właściwość |
public var OK_ICON:Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This property refers to OK icon.
WARNING_ICON | właściwość |
public var WARNING_ICON:Class
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This property refers to warning icon.
Konstruktor Szczegół
AlertFormatter | () | Konstruktor |
public function AlertFormatter(alertParent:UIComponent = null)
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | 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.
|
Szczegół metody
showAlert | () | metoda |
public function showAlert(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog.
Parametry
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 | () | metoda |
public function showAlertWithNoButtonsAndReturn(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):Alert
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog without any buttons.
Parametry
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 | () | metoda |
public function showError(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays an error dialog.
Parametry
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 | () | metoda |
public function showInfo(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays an information dialog.
Parametry
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 | () | metoda |
public function showNotification(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays a notification dialog.
Parametry
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 | () | metoda |
public function showWarning(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Review, Commenting, and Approval Building Block 10.0 |
Wersje środowiska wykonawczego: | Flash Player 10.2, AIR (unsupported) |
This method displays a warning dialog.
Parametry
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, 12:06 PM Z