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]
The drop shadow effect preference. | 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 | |
pageNavigationEnabled : Boolean [write-only]
Whether page navigation is enabled (via keyboard, mousewheel)
| IPreviewCard | ||
![]() | previewComponent : IPreview [read-only]
Returns the preview component for this card. | ISimpleCard | |
![]() | rollOverPreference : String [read-only]
A string specifying the preferred type of rollover effect on this component. | ISimpleCard | |
![]() | selected : Boolean | ISimpleCard | |
![]() | size : uint [read-only]
The size of this card's underlying attachment, if it were to be uncompressed. | ISimpleCard |
Method | Defined By | ||
---|---|---|---|
![]() | 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 card
| 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
pageNavigationEnabled | property |
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)
public function set pageNavigationEnabled(value:Boolean):void
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.
|