Packageorg.flashapi.swing.plaf.spas
Classpublic class SpasAlertUI
InheritanceSpasAlertUI Inheritance SpasUI Inheritance Object
Implements AlertUI

Language Version : ActionScript 3.0
Product Version : SPAS 3.0
Runtime Versions : AIR 1.0, Flash Player Player - 9

The SpasAlertUI class is the SPAS 3.0 default look and feel for Alert instances.

See also

org.flashapi.swing.Alert
org.flashapi.swing.plaf.AlertUI


Public Methods
 MethodDefined By
  
SpasAlertUI
 Inherited
Determines the "raise" effect for an object that implements a lookandfeel.
SpasUI
 Inherited
Removes the "emphasize" effect for an object that implements a lookandfeel.
SpasUI
 Inherited
The method used by the LookAndFeel instance to draw the back face of an object.
SpasUI
 Inherited
Renders the "emphasize" effect for an object that implements a lookandfeel.
SpasUI
  
getButtonLaf():Class
Returns the a reference of the class used as look and feel for the alert buttons.
SpasAlertUI
 Inherited
getFocusFilter():GlowFilter
Returns a reference to the effect filter used by this look and feel to render the emphasized state effect or when the UIObject has the focus.
SpasUI
 Inherited
getGlowFilter():GlowFilter
Returns a reference to the GlowFilter used by this look and feel to render the "glow" effect.
SpasUI
 Inherited
getShadowFilter():DropShadowFilter
Returns a reference to the DropShadowFilter used by this look and feel to render the "shadow" effect.
SpasUI
  
getTextLaf():Class
Returns the a reference of the class used as look and feel for the alert text field.
SpasAlertUI
  
getWindowLaf():Class
Returns the a reference of the class used as look and feel for the alert popup window.
SpasAlertUI
 Inherited
onChange():void
The onChange() method is called by objects before they change their lookandfeel ; it performs operations that disable specific actions created by the current lookandfeel.
SpasUI
 Inherited
Disables the "raise" effect for an object that use a lookandfeel.
SpasUI
Public Constants
 ConstantDefined By
 InheritedDEFAULT_BACKGROUND_COLOR : uint = 0xFFFFFF
[static] A constant integer that defines the default background color value.
SpasUI
 InheritedDEFAULT_BORDER_COLOR : uint = 0x777777
[static] A constant string that defines the default color color value.
SpasUI
 InheritedDEFAULT_BUTTON_FONT_COLOR : uint = 0xFFFFFF
[static] A constant string that defines the default font color value for button objects.
SpasUI
 InheritedDEFAULT_COLOR : uint = 0xC0C0C0
[static] A constant integer that defines the default color value for the SPAS 3.0 default look and feel.
SpasUI
 InheritedDEFAULT_DARK_COLOR : uint = 0x333333
[static] A constant integer that defines the default dark color value.
SpasUI
 InheritedDEFAULT_FONT_COLOR : uint = 0x333333
[static] A constant integer that defines the default color value.
SpasUI
 InheritedDEFAULT_FONT_FACE : String = Arial
[static] A constant string that defines the default font face value.
SpasUI
 InheritedDEFAULT_FONT_SIZE : uint = 12
[static] A constant integer that defines the default size value.
SpasUI
 InheritedDEFAULT_LETTER_SPACING : Number = .2
[static] A constant string that defines the default font letter spacing value.
SpasUI
Constructor Detail
SpasAlertUI()Constructor
public function SpasAlertUI(dto:LafDTO)

Parameters
dto:LafDTO — A reference to the LafDTO object that instantiates this look and feel.
Method Detail
getButtonLaf()method
public function getButtonLaf():Class

Returns the a reference of the class used as look and feel for the alert buttons. This class must implement the ButtonUI interface.

Returns
Class — The class used as look and feel for the alert buttons.
getTextLaf()method 
public function getTextLaf():Class

Returns the a reference of the class used as look and feel for the alert text field. This class must implement the TextUI interface.

Returns
Class — The class used as look and feel for the alert text field.
getWindowLaf()method 
public function getWindowLaf():Class

Returns the a reference of the class used as look and feel for the alert popup window. This class must implement the WindowUI interface.

Returns
Class — The class used as look and feel for the alert popup window.