| Package | com.adobe.portfolio.cards |
| Class | public class PlaceholderCard |
| Inheritance | PlaceholderCard BasicCard SimpleCard NavSkinnableComponent spark.components.supportClasses.SkinnableComponent |
| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| PlaceholderCard | ||
![]() | addListenAndWatch():void | NavSkinnableComponent | |
getDimensionsUsingPreview(fitWidth:Number, fitHeight:Number):Point [override]
Find the proper dimensions for the card image. | PlaceholderCard | ||
![]() | invalidatePreview(invalidateModel:Boolean = false, generateThumb:Boolean = true):void
Invalidate the current preview state for the card
| SimpleCard | |
![]() | invalidateSkinState():void [override]
Mark the SkinState as invalid. | BasicCard | |
![]() | removeListenAndWatch():void | NavSkinnableComponent | |
![]() | setCurrentState(stateName:String, playTransition:Boolean = true):void [override]
Sets the state of the skin as well as the state of this instance. | BasicCard | |
![]() | setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void [override]
Sets the layout size of the card. | SimpleCard | |
![]() | toString():String [override]
The String to display in the item renderer. | SimpleCard | |
![]() | updateRenderer(oldRenderer:ISimpleCard):void [override]
Update the renderer to use for the basicCard
| BasicCard | |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
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.
| PlaceholderCard | () | Constructor |
public function PlaceholderCard()| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor
| getDimensionsUsingPreview | () | method |
override public function getDimensionsUsingPreview(fitWidth:Number, fitHeight:Number):Point| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Find the proper dimensions for the card image. Placeholder cards don't have previews, so fit them to the specified size.
Parameters
fitWidth:Number — The maximum width to allow
| |
fitHeight:Number — The maximum height to allow
|
Point |