Packagecom.dwuser.ss4.skins
Classpublic class EnhancedButtonSkin
InheritanceEnhancedButtonSkin Inheritance Border Inheritance ProgrammaticSkin Inheritance FlexShape Inheritance flash.display.Shape

This is the enhanced version of the Halo ButtonSkin that has been customized to support four numeric values in the corner, a more configurable border, and also a large number of colors in the gradient (limited by 15 in ProgrammaticSkin.drawRoundRect), individually specified for up, over, etc states..

This class is never by default used by the slideshow; it is documented here for your convenience, in case you want to use it as a custom skin on a button element.



Public Properties
 PropertyDefined by
 InheritedborderMetrics : EdgeMetrics
The thickness of the border edges.
Border
 Inheritedinitialized : Boolean
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
ProgrammaticSkin
 InheritedmeasuredHeight : Number
The measured height of this object.
ProgrammaticSkin
 InheritedmeasuredWidth : Number
The measured width of this object.
ProgrammaticSkin
 InheritednestLevel : int
Depth of this object in the containment hierarchy.
ProgrammaticSkin
 InheritedprocessedDescriptors : Boolean
Set to true after immediate or deferred child creation, depending on which one happens.
ProgrammaticSkin
 InheritedstyleName : Object
A parent component used to obtain style values.
ProgrammaticSkin
 InheritedupdateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
ProgrammaticSkin
Public Methods
 MethodDefined by
  
Constructor.
EnhancedButtonSkin
 Inherited
getStyle(styleProp:String):*
Returns the value of the specified style property.
ProgrammaticSkin
 Inherited
Marks a component so that its updateDisplayList() method gets called during a later screen update.
ProgrammaticSkin
 Inherited
Calling this method results in a call to the component's validateProperties() method before the display list is rendered.
ProgrammaticSkin
 Inherited
Calling this method results in a call to the component's validateSize() method before the display list is rendered.
ProgrammaticSkin
 Inherited
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
ProgrammaticSkin
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
ProgrammaticSkin
 Inherited
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
ProgrammaticSkin
 Inherited
toString():String
Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
FlexShape
 Inherited
This function is called by the LayoutManager when it's time for this control to draw itself.
ProgrammaticSkin
 Inherited
validateNow():void
Validate and update the properties and layout of this object and redraw it, if necessary.
ProgrammaticSkin
 Inherited
This function is an empty stub so that ProgrammaticSkin can implement the ILayoutManagerClient interface.
ProgrammaticSkin
 Inherited
validateSize(recursive:Boolean = false):void
This function is an empty stub so that ProgrammaticSkin can implement the ILayoutManagerClient interface.
ProgrammaticSkin
Protected Methods
 MethodDefined by
 Inherited
drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios:Array = null, hole:Object = null):void
Programatically draws a rectangle into this skin's Graphics object.
ProgrammaticSkin
 Inherited
horizontalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Utility function to create a horizontal gradient matrix.
ProgrammaticSkin
 Inherited
rotatedGradientMatrix(x:Number, y:Number, width:Number, height:Number, rotation:Number):Matrix
Utility function to create a rotated gradient matrix.
ProgrammaticSkin
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Programmatically draws the graphics for this skin.
ProgrammaticSkin
 Inherited
verticalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Utility function to create a vertical gradient matrix.
ProgrammaticSkin
Constructor detail
EnhancedButtonSkin()constructor
public function EnhancedButtonSkin()

Constructor.