Package | com.adobe.solutions.rca.presentation.util |
Classe | public class AlertFormatter |
Héritage | AlertFormatter Object |
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
Propriétés publiques
Propriété | Défini par | ||
---|---|---|---|
constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | 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 |
Méthodes publiques
Méthode | Défini par | ||
---|---|---|---|
AlertFormatter(alertParent:UIComponent = null)
The constructor for AlertFormatter class. | AlertFormatter | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | 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 | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
Renvoie la valeur primitive de l’objet spécifié. | Object |
Détails de la propriété
ERROR_ICON | propriété |
public var ERROR_ICON:Class
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This property refers to error icon.
INFO_ICON | propriété |
public var INFO_ICON:Class
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This property refers to information icon.
OK_ICON | propriété |
public var OK_ICON:Class
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This property refers to OK icon.
WARNING_ICON | propriété |
public var WARNING_ICON:Class
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This property refers to warning icon.
Détails du constructeur
AlertFormatter | () | Constructeur |
public function AlertFormatter(alertParent:UIComponent = null)
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | 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.
|
Détails de la méthode
showAlert | () | méthode |
public function showAlert(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog.
Paramètres
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 | () | méthode |
public function showAlertWithNoButtonsAndReturn(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):Alert
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog without any buttons.
Paramètres
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 | () | méthode |
public function showError(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays an error dialog.
Paramètres
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 | () | méthode |
public function showInfo(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays an information dialog.
Paramètres
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 | () | méthode |
public function showNotification(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays a notification dialog.
Paramètres
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 | () | méthode |
public function showWarning(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Review, Commenting & Approval 10.0 |
Versions du moteur d’exécution: | Flash Player 10.2, AIR (unsupported) |
This method displays a warning dialog.
Paramètres
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, 09:30 AM Z