Packagecom.adobe.portfolio.cards
Interfacepublic interface ICardProvider
Implementors OneUpLayout, WaveLayout

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

ICardProvider is an interface that should be implemented by Layouts that want to use CardSlider to scroll to a Card.



Public Properties
 PropertyDefined By
  cardPosition : Number
[read-only] Returns the current card position
ICardProvider
  maxCardPosition : Number
[read-only] Returns the maximum card position of the layout
ICardProvider
  pendingCardPosition : Number
[write-only] Sets a pending card position
ICardProvider
Public Methods
 MethodDefined By
  
getCard(cardPosition:Number):ISimpleCard
Returns the card at the given position.
ICardProvider
Property Detail
cardPositionproperty
cardPosition:Number  [read-only]

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

Returns the current card position

This property can be used as the source for data binding.


Implementation
    public function get cardPosition():Number
maxCardPositionproperty 
maxCardPosition:Number  [read-only]

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

Returns the maximum card position of the layout

This property can be used as the source for data binding.


Implementation
    public function get maxCardPosition():Number
pendingCardPositionproperty 
pendingCardPosition:Number  [write-only]

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

Sets a pending card position


Implementation
    public function set pendingCardPosition(value:Number):void
Method Detail
getCard()method
public function getCard(cardPosition:Number):ISimpleCard

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

Returns the card at the given position.

Parameters

cardPosition:Number — The position number of the card to return.

Returns
ISimpleCard — The ISimpleCard that has the specified card position.