Packagevegas.display.coverflow
Classpublic class Cover
InheritanceCover Inheritance Background Inheritance CoreSprite Inheritance flash.display.Sprite

A cover thumb display.



Public Properties
 PropertyDefined By
 Inheritedalign : uint
The alignement of the background.
Background
 InheritedautoSize : Boolean
Indicates if the background is resizing when the stage resize event is invoked.
Background
  bitmap : IBitmapDrawable
The bitmapdata of the cover.
Cover
 InheritedbottomLeftRadius : Number
The radius of the bottom-left corner, in pixels.
Background
 InheritedbottomRightRadius : Number
The radius of the bottom-right corner, in pixels.
Background
  cover : Bitmap
[read-only] Indicates the internal cover Bitmap reference.
Cover
  darkness : Number
The level of darkness of the cover in the coverflow.
Cover
 Inheriteddirection : String
Indicates the direction value of the background when the display is in this "full" mode (default value is null).
Background
 Inheritedfill : IFillStyle
Determinates the IFillStyle reference of this display.
Background
 InheritedgradientMatrix : Matrix
The matrix value to draw the gradient fill.
Background
 InheritedgradientRotation : Number = 0
The rotation value to draw the gradient fill.
Background
 InheritedgradientTranslation : Point
The translation vector to draw the gradient fill.
Background
 Inheritedh : Number
Determinates the virtual height value of this component.
Background
 InheritedisFull : Boolean
Indicates if the background use full size (use Stage.stageWidth and Stage.stageHeight to resize the background).
Background
 Inheritedline : ILineStyle
Determinates the ILineStyle reference of this display.
Background
 Inheritedlogger : Logger
Determinates the internal ILogger reference of this Logable object.
CoreSprite
 InheritedmaxHeight : Number
This property defined the maximum height of this display.
Background
 InheritedmaxWidth : Number
Defines the maximum width of this display.
Background
 InheritedminHeight : Number
This property defined the mimimun height of this display (This value is >= 0).
Background
 InheritedminWidth : Number
This property defined the mimimun width of this display (This value is >= 0).
Background
  position : CoverEntry
[read-only] The CoverEntry position of the cover (use to creates a easing).
Cover
  reflectionAlpha : Number
Defines the alpha value of the reflection gradient of this cover.
Cover
  reflectionRatio : Number
Defines the ratio of the reflection gradient of this cover.
Cover
  reflectionSize : Number
Defines the size of the reflection of this cover.
Cover
  reflectionSpace : Number
Defines the space between the cover and this reflect.
Cover
 InheritedtopLeftRadius : Number
The radius of the upper-left corner, in pixels.
Background
 InheritedtopRightRadius : Number
The radius of the upper-right corner, in pixels.
Background
 InheriteduseGradientBox : Boolean
Indicates if the IFillStyle of this display use gradient box matrix (only if the IFillStyle is a FillGradientStyle).
Background
 Inheritedw : Number
Determinates the virtual height value of this component.
Background
Public Methods
 MethodDefined By
  
Cover(bitmap:IBitmapDrawable = null, init:Object = null)
Creates a new Cover instance.
Cover
 Inherited
doLater():void
Launch an event with a delayed interval.
Background
 Inherited
draw(... arguments):void
Draw the display.
Background
  
easeSet():Boolean
Set the new easing state of this cover in the coverflow.
Cover
  
hardSet():void
Transform the cover with the current position in the coverflow.
Cover
 Inherited
initBackgroundPen(graphic:* = null):IPen
Init the pen to draw the background of this display.
Background
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreSprite
 Inherited
lock():void
Locks the object.
CoreSprite
 Inherited
Notify an event when you resize the component.
Background
 Inherited
refresh(init:*):void
Refresh and initialize the display with a generic object and invoke the "update" method.
Background
 Inherited
resetLock():void
Reset the lock security of the display.
CoreSprite
 Inherited
resize(e:Event = null):void
Resize and update the background.
Background
 Inherited
setCornerRadius(n:Number):void
Defines all corner radius of the background (upper-left, upper-right, bottom-left and bottom-right).
Background
 Inherited
setSize(w:Number, h:Number):void
Sets the virtual width (w) and height (h) values of the component.
Background
 Inherited
unlock():void
Unlocks the display.
CoreSprite
 Inherited
update():void
Update the display.
Background
 Inherited
This method is invoked after the draw() method in the update() method.
Background
 Inherited
Invoked when the enabled property of the component change.
Background
 Inherited
viewResize():void
Invoked when the component is resized.
Background
Protected Methods
 MethodDefined By
 Inherited
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
CoreSprite
 Inherited
addedToStageResize(e:Event = null):void
Invoked when the display is removed from the stage to enable the autoSize mode.
Background
 Inherited
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage.
CoreSprite
 Inherited
removedFromStageResize(e:Event = null):void
Invoked when the display is removed from the stage to disable the autoSize mode.
Background
Property Detail
bitmapproperty
bitmap:IBitmapDrawable

The bitmapdata of the cover.


Implementation
    public function get bitmap():IBitmapDrawable
    public function set bitmap(value:IBitmapDrawable):void
coverproperty 
cover:Bitmap  [read-only]

Indicates the internal cover Bitmap reference.


Implementation
    public function get cover():Bitmap
darknessproperty 
darkness:Number

The level of darkness of the cover in the coverflow.


Implementation
    public function get darkness():Number
    public function set darkness(value:Number):void
positionproperty 
position:CoverEntry  [read-only]

The CoverEntry position of the cover (use to creates a easing).


Implementation
    public function get position():CoverEntry
reflectionAlphaproperty 
reflectionAlpha:Number

Defines the alpha value of the reflection gradient of this cover.


Implementation
    public function get reflectionAlpha():Number
    public function set reflectionAlpha(value:Number):void
reflectionRatioproperty 
reflectionRatio:Number

Defines the ratio of the reflection gradient of this cover.


Implementation
    public function get reflectionRatio():Number
    public function set reflectionRatio(value:Number):void
reflectionSizeproperty 
reflectionSize:Number

Defines the size of the reflection of this cover.


Implementation
    public function get reflectionSize():Number
    public function set reflectionSize(value:Number):void
reflectionSpaceproperty 
reflectionSpace:Number

Defines the space between the cover and this reflect.


Implementation
    public function get reflectionSpace():Number
    public function set reflectionSpace(value:Number):void
Constructor Detail
Cover()Constructor
public function Cover(bitmap:IBitmapDrawable = null, init:Object = null)

Creates a new Cover instance.

Parameters
bitmap:IBitmapDrawable (default = null) — The IBitmapDrawable (BitmapData or DisplayObject) reference to create BitmapData view of the cover.
 
init:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
Method Detail
easeSet()method
public function easeSet():Boolean

Set the new easing state of this cover in the coverflow.

Returns
Boolean — true if the cover easing state is changing.
hardSet()method 
public function hardSet():void

Transform the cover with the current position in the coverflow.