Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
AlertModel

Package | org.apache.flex.html.beads.models
Class | public class AlertModel
Inheritance | AlertModel EventDispatcher flash.events.EventDispatcher
Implements | IAlertModel, IBead

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The AlertModel class bead implements the org.apache.flex.core.IAlertModel and holds the properties for an org.apache.flex.html.Alert such the buttons to use and message to display.

Public Properties

| Property | Defined By
--- | --- | ---
|  | cancelLabel : String The label to use for the Cancel button. The label for the Cancel button in an Alert. | AlertModel
|  | flags : uint Which buttons to display (see Alert for details). A bitmask of Alert constants that describe which buttons to show in the Alert.. | AlertModel
|  | htmlMessage : String The HTML message to display. The message to be displayed by the Alert as HTML. | AlertModel
|  | htmlTitle : String The HTML title for the Alert. The title of the Alert as HTML. | AlertModel
|  | message : String The message to display. The message to be displayed by the Alert. | AlertModel
|  | noLabel : String The label to use for the NO button. The label for the No button in an Alert. | AlertModel
|  | okLabel : String The label to use for the OK button. The label for the OK button in an Alert. | AlertModel
|  | strand : IStrand [write-only] The host component for this bead. | AlertModel
|  | title : String The title for the Alert. The title of the Alert. | AlertModel
|  | yesLabel : String The label to use for the Yes button. The label for the Yes button in an Alert. | AlertModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | AlertModel() constructor. | AlertModel

Property Detail

cancelLabel | property

`cancelLabel:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The label to use for the Cancel button.

The label for the Cancel button in an Alert.
Implementation
`public function get cancelLabel():String`
`public function set cancelLabel(value:String):void`

flags | property |

`flags:uint`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Which buttons to display (see Alert for details).

A bitmask of Alert constants that describe which buttons to show in the Alert..
Implementation
`public function get flags():uint`
`public function set flags(value:uint):void`

htmlMessage | property |

`htmlMessage:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The HTML message to display.

The message to be displayed by the Alert as HTML.
Implementation
`public function get htmlMessage():String`
`public function set htmlMessage(value:String):void`

htmlTitle | property |

`htmlTitle:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The HTML title for the Alert.

The title of the Alert as HTML.
Implementation
`public function get htmlTitle():String`
`public function set htmlTitle(value:String):void`

message | property |

`message:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The message to display.

The message to be displayed by the Alert.
Implementation
`public function get message():String`
`public function set message(value:String):void`

noLabel | property |

`noLabel:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The label to use for the NO button.

The label for the No button in an Alert.
Implementation
`public function get noLabel():String`
`public function set noLabel(value:String):void`

okLabel | property |

`okLabel:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The label to use for the OK button.

The label for the OK button in an Alert.
Implementation
`public function get okLabel():String`
`public function set okLabel(value:String):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`

title | property |

`title:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The title for the Alert.

The title of the Alert.
Implementation
`public function get title():String`
`public function set title(value:String):void`

yesLabel | property |

`yesLabel:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The label to use for the Yes button.

The label for the Yes button in an Alert.
Implementation
`public function get yesLabel():String`
`public function set yesLabel(value:String):void`
Constructor Detail

AlertModel | () | Constructor

`public function AlertModel()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Mon Sep 5 2016, 07:19 AM -07:00