Packagecom.adobe.portfolio.layouts.supportClasses
Interfacepublic interface ICardLayout
Implementors BasicTileLayout, DetailsLayout, FreeFormLayout, LinearLayout, MiniNavLayout, OneUpLayout, WaveLayout

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

The ICardLayout interface defines a subset of Layout capabilites that are referenced by other components (such as CardList).



Public Properties
 PropertyDefined By
  cardLayoutHelper : CardLayoutHelper
[read-only] The current card layout helper
ICardLayout
  target : GroupBase
[read-only] The target component
ICardLayout
  thumbFitSize : Point
The width and height for small thumbnail images to fit in the MiniNavLayout.
ICardLayout
  useVirtualLayout : Boolean
[read-only] Indicates whether a virtual layout should be used or not
ICardLayout
Public Methods
 MethodDefined By
  
findCardsThatIntersect(rect:Rectangle):Vector.<int>
Find the list of cards that overlap the specified rectangle
ICardLayout
Property Detail
cardLayoutHelperproperty
cardLayoutHelper:CardLayoutHelper  [read-only]

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

The current card layout helper


Implementation
    public function get cardLayoutHelper():CardLayoutHelper
targetproperty 
target:GroupBase  [read-only]

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

The target component


Implementation
    public function get target():GroupBase
thumbFitSizeproperty 
thumbFitSize:Point

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

The width and height for small thumbnail images to fit in the MiniNavLayout. This is given as an ordered pair of numbers: (width, height)


Implementation
    public function get thumbFitSize():Point
    public function set thumbFitSize(value:Point):void
useVirtualLayoutproperty 
useVirtualLayout:Boolean  [read-only]

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

Indicates whether a virtual layout should be used or not


Implementation
    public function get useVirtualLayout():Boolean
Method Detail
findCardsThatIntersect()method
public function findCardsThatIntersect(rect:Rectangle):Vector.<int>

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

Find the list of cards that overlap the specified rectangle

Parameters

rect:Rectangle — A bounding region for which you want to find card that intersect it

Returns
Vector.<int> — A vector of integers that represent the indexes of the cards in the layout that intersect the specified rectangle.