Packagecom.adobe.portfolio.cards
Interfacepublic interface IBasicCard extends ISimpleCard, flash.events.IEventDispatcher, mx.core.IVisualElement
Implementors BasicCard

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

IBasicCard is an interface that extends ISimpleCard and describes the minimum capabilities of a BasicCard.



Public Properties
 PropertyDefined By
 InheritedcolorPalette : ColorPalette
[read-only] The color palette being used by this object.
ISimpleCard
 InheritedcompressedSize : uint
[read-only] The size of this card's underlying attachment as it is currently compressed in the Navigator file.
ISimpleCard
 InheritedcreationDate : Date
[read-only] The creation date of this card's underlying attachment.
ISimpleCard
  currentState : String
[read-only] Get the current state of the card
IBasicCard
 Inheriteddata : Object
The data object to be renderered.
ISimpleCard
 InheriteddelayThumbnailGeneration : Boolean
[write-only] Delay the creation of the thumbnail image for this card.
ISimpleCard
 Inheriteddescription : String
The description of this card's underlying attachment.
ISimpleCard
 InheriteddoubleClickEnabled : Boolean
[write-only] Enable double clicking events.
ISimpleCard
 InheriteddownSampleOK : Boolean
true if it is OK to scale down the image; otherwise false.
ISimpleCard
 InheriteddropShadowPreference : String
[read-only] The drop shadow effect preference.
ISimpleCard
 InheritedenableThumbnailGeneration : Boolean
Allow the creation of the thumbnail image for this card.
ISimpleCard
 InheritedfileName : String
[read-only] The file name of this card's underlying attachment.
ISimpleCard
 InheritedmodDate : Date
[read-only] The modification date of this card's underlying attachment.
ISimpleCard
 InheritedpreviewComponent : IPreview
[read-only] Returns the preview component for this card.
ISimpleCard
 InheritedrollOverPreference : String
[read-only] A string specifying the preferred type of rollover effect on this component.
ISimpleCard
 Inheritedselected : Boolean
ISimpleCard
 Inheritedsize : uint
[read-only] The size of this card's underlying attachment, if it were to be uncompressed.
ISimpleCard
Public Methods
 MethodDefined By
 Inherited
invalidatePreview(invalidateModel:Boolean = false, generateThumb:Boolean = true):void
invalidates the current preview
ISimpleCard
  
setCurrentState(stateName:String, playTransition:Boolean = true):void
Set the current state of the card
IBasicCard
 Inherited
setFocus():void
Give this simpleCard the focus.
ISimpleCard
 Inherited
updateRenderer(oldRenderer:ISimpleCard):void
Update the renderer to use for the card
ISimpleCard
Skin States

To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.


 Skin State Description Defined By
  
infoNormal
IBasicCard
  
infoOver
IBasicCard
  
infoOverAndSelected
IBasicCard
  
infoSelected
IBasicCard
  
largeNormal
IBasicCard
  
largeOver
IBasicCard
  
largeOverAndSelected
IBasicCard
  
largeSelected
IBasicCard
  
mediumNormal
IBasicCard
  
mediumOver
IBasicCard
  
mediumOverAndSelected
IBasicCard
  
mediumSelected
IBasicCard
  
smallNormal
IBasicCard
  
smallOver
IBasicCard
  
smallOverAndSelected
IBasicCard
  
smallSelected
IBasicCard
Property Detail
currentStateproperty
currentState:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Get the current state of the card


Implementation
    public function get currentState():String
Method Detail
setCurrentState()method
public function setCurrentState(stateName:String, playTransition:Boolean = true):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Set the current state of the card

Parameters

stateName:String — The name of the new current state
 
playTransition:Boolean (default = true) — If true then play the state transition effect.