| Package | com.adobe.portfolio.layouts |
| Class | public class CardDistributor |
| Inheritance | CardDistributor Object |
| Property | Defined By | ||
|---|---|---|---|
| cardAngle : Number | CardDistributor | ||
| Property | Defined By | ||
|---|---|---|---|
| autoListen : AutoListen | CardDistributor | ||
| autoPositionCardSize : Number | CardDistributor | ||
| autoPositionCardSizeDiameter : Number | CardDistributor | ||
| cardProperties : ICardProperties | CardDistributor | ||
| cardsChangedMap : Dictionary | CardDistributor | ||
| gridPoints : Array | CardDistributor | ||
| Method | Defined By | ||
|---|---|---|---|
CardDistributor(cardProperties:ICardProperties) | CardDistributor | ||
ensureAllPositionsAreValid(collection:IList):void | CardDistributor | ||
| Method | Defined By | ||
|---|---|---|---|
getCardPositions(collection:IList, setPositions:Array, unsetPositions:Array):void | CardDistributor | ||
getCardSize(sizeName:String):Number [static] | CardDistributor | ||
initAutoPositionCardSize():Boolean | CardDistributor | ||
onCollectionChange(event:CollectionEvent):void An event listener to respond to events from the current collection. | CardDistributor | ||
| autoListen | property |
protected var autoListen:AutoListen| autoPositionCardSize | property |
protected var autoPositionCardSize:Number| autoPositionCardSizeDiameter | property |
protected var autoPositionCardSizeDiameter:Number| cardAngle | property |
cardAngle:Number public function get cardAngle():Number public function set cardAngle(value:Number):void| cardProperties | property |
protected var cardProperties:ICardProperties| cardsChangedMap | property |
protected var cardsChangedMap:Dictionary| gridPoints | property |
protected var gridPoints:Array| CardDistributor | () | Constructor |
public function CardDistributor(cardProperties:ICardProperties)cardProperties:ICardProperties |
| ensureAllPositionsAreValid | () | method |
public function ensureAllPositionsAreValid(collection:IList):voidParameters
collection:IList |
| getCardPositions | () | method |
protected function getCardPositions(collection:IList, setPositions:Array, unsetPositions:Array):void
Parameters
collection:IList — an Array that is filled with the attachments that have their position set
| |
setPositions:Array — an Array that is filled with the attachments that have NOT had their position set
| |
unsetPositions:Array |
| getCardSize | () | method |
protected static function getCardSize(sizeName:String):NumberParameters
sizeName:String |
Number |
| initAutoPositionCardSize | () | method |
protected function initAutoPositionCardSize():BooleanReturnsBoolean |
| onCollectionChange | () | method |
protected function onCollectionChange(event:CollectionEvent):voidAn event listener to respond to events from the current collection.
Parameters
event:CollectionEvent |