Paket | com.adobe.solutions.rca.presentation.util |
Klass | public class AlertFormatter |
Arv | AlertFormatter Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | 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 |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
AlertFormatter(alertParent:UIComponent = null)
The constructor for AlertFormatter class. | AlertFormatter | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | 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 | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Egenskapsdetaljer
ERROR_ICON | egenskap |
public var ERROR_ICON:Class
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This property refers to error icon.
INFO_ICON | egenskap |
public var INFO_ICON:Class
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This property refers to information icon.
OK_ICON | egenskap |
public var OK_ICON:Class
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This property refers to OK icon.
WARNING_ICON | egenskap |
public var WARNING_ICON:Class
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This property refers to warning icon.
Konstruktordetaljer
AlertFormatter | () | Konstruktor |
public function AlertFormatter(alertParent:UIComponent = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | 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.
|
Metoddetaljer
showAlert | () | metod |
public function showAlert(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog.
Parametrar
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 | () | metod |
public function showAlertWithNoButtonsAndReturn(message:String, title:String, icon:Class, buttons:uint, closer:Function = null, minHeight:Number = NaN, minWidth:Number = NaN):Alert
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays a generic dialog without any buttons.
Parametrar
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 | () | metod |
public function showError(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays an error dialog.
Parametrar
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 | () | metod |
public function showInfo(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays an information dialog.
Parametrar
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 | () | metod |
public function showNotification(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays a notification dialog.
Parametrar
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 | () | metod |
public function showWarning(message:String, title:String, minHeight:Number = NaN, minWidth:Number = NaN):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This method displays a warning dialog.
Parametrar
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, 01:40 PM Z