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 provide access via card position.



Public Properties
 PropertyDefined By
  cardPosition : Number
[read-only] Returns the maximum position number of the current card
ICardProvider
  maxCardPosition : Number
[read-only] Returns the maximum position number of the cards in the layout
ICardProvider
  pendingCardPosition : Number
[write-only] Set the position number of the card that is pending to be added to the layout.
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 maximum position number of the current card

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 position number of the cards in 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

Set the position number of the card that is pending to be added to the layout.


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 card instance that has the specified card position.