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

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

IPreviewCard is an interface that extends ISimpleCard and describes the minimum capabilities of a PreviewCard.



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 previewCard
IPreviewCard
 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
  pageNavigationEnabled : Boolean
[write-only] Whether page navigation is enabled (via keyboard, mousewheel)
IPreviewCard
 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 previewCard
IPreviewCard
 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
  
previewInfo
IPreviewCard
  
previewNormal
IPreviewCard
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 previewCard


Implementation
    public function get currentState():String
pageNavigationEnabledproperty 
pageNavigationEnabled:Boolean  [write-only]

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

Whether page navigation is enabled (via keyboard, mousewheel)


Implementation
    public function set pageNavigationEnabled(value:Boolean):void
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 previewCard

Parameters

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