Packagecom.adobe.portfolio.layouts.supportClasses
Interfacepublic interface ICardProperties
Implementors FreeFormFields

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

The ICardProperties interface is used to abstract card functionality required by the Freeform navigator.



Public Properties
 PropertyDefined By
  targetSize : Point
[read-only] The width and height of the target
ICardProperties
Public Methods
 MethodDefined By
  
getLocation(attachment:IAttachment):Point
Get the card layout location for the specified attachment.
ICardProperties
  
isLocationSet(attachment:IAttachment):Boolean
Indicates whether the location of the card for the specified IAttachment has been set or not.
ICardProperties
  
setLocation(attachment:IAttachment, value:Point):void
Sets the card layout location for the specified attachment.
ICardProperties
  
setRotation(attachment:IAttachment, value:Number):void
Sets the rotation of the card layout for the specified attachment
ICardProperties
Property Detail
targetSizeproperty
targetSize:Point  [read-only]

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

The width and height of the target


Implementation
    public function get targetSize():Point
Method Detail
getLocation()method
public function getLocation(attachment:IAttachment):Point

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

Get the card layout location for the specified attachment.

Parameters

attachment:IAttachment — The IAttachment for which you want to find the layout location

Returns
Point — The layout location of the center of the card given as an ordered pair: (x,y)
isLocationSet()method 
public function isLocationSet(attachment:IAttachment):Boolean

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

Indicates whether the location of the card for the specified IAttachment has been set or not.

Parameters

attachment:IAttachment — The IAttachment for which you want to know if a location has been set for its card.

Returns
Booleantrue if the location of the card for the specified IAttachment has been set; returns false if it has not been set.
setLocation()method 
public function setLocation(attachment:IAttachment, value:Point):void

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

Sets the card layout location for the specified attachment.

Parameters

attachment:IAttachment — The IAttachment for which you want to set the layout location
 
value:Point — The layout location of the center of the card given as an ordered pair: (x,y)

setRotation()method 
public function setRotation(attachment:IAttachment, value:Number):void

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

Sets the rotation of the card layout for the specified attachment

Parameters

attachment:IAttachment — The IAttachment for which you want to set the rotation of its card layout
 
value:Number — The rotation of the card layout in degrees of rotation from the horizontal