| Package | com.adobe.portfolio.cards |
| Interface | public 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 |
| Property | Defined By | ||
|---|---|---|---|
![]() | colorPalette : ColorPalette [read-only]
The color palette being used by this object. | ISimpleCard | |
![]() | compressedSize : uint [read-only]
The size of this card's underlying attachment as it is currently compressed
in the Navigator file. | ISimpleCard | |
![]() | creationDate : 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 | ||
![]() | data : Object
The data object to be renderered. | ISimpleCard | |
![]() | delayThumbnailGeneration : Boolean [write-only]
Delay the creation of the thumbnail image for this card. | ISimpleCard | |
![]() | description : String
The description of this card's underlying attachment. | ISimpleCard | |
![]() | doubleClickEnabled : Boolean [write-only]
Enable double clicking events. | ISimpleCard | |
![]() | downSampleOK : Boolean
true if it is OK to scale down the image;
otherwise false. | ISimpleCard | |
![]() | dropShadowPreference : String [read-only]
Returns the preferred drop shadow effect for the card
| ISimpleCard | |
![]() | enableThumbnailGeneration : Boolean
Allow the creation of the thumbnail image for this card. | ISimpleCard | |
![]() | fileName : String [read-only]
The file name of this card's underlying attachment. | ISimpleCard | |
![]() | modDate : Date [read-only]
The modification date of this card's underlying attachment. | ISimpleCard | |
![]() | padding : Point [read-only]
Get the padding around a card. | ISimpleCard | |
![]() | previewComponent : IPreview [read-only]
Returns the preview component for this card. | ISimpleCard | |
![]() | rollOverPreference : String [read-only]
Returns the preferred roll over effect for the card
| ISimpleCard | |
![]() | selected : Boolean
true if the item renderer can show itself as selected;
otherwise false. | ISimpleCard | |
![]() | size : uint [read-only]
The size of this card's underlying attachment, if it were to be uncompressed. | ISimpleCard | |
| Method | Defined By | ||
|---|---|---|---|
![]() | getDimensionsUsingPreview(maxWidth:Number, maxHeight:Number):Point
Returns the width and height dimensions to use for the folder card. | ISimpleCard | |
![]() | 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 | ||
![]() | setFocus():void
Give this simpleCard the focus. | ISimpleCard | |
![]() | updateRenderer(oldRenderer:ISimpleCard):void
Update the renderer to use for the basicCard
| ISimpleCard | |
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 | |||
| currentState | property |
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
public function get currentState():String| 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.
|