[override] [write-only]
The DisplayObject to use as the dropIndicator that provides visual feedback
to the user of where the items will be inserted at the end of a drag and drop gesture.
The DisplayObject to use as the dropIndicator that provides visual feedback
to the user of where the items will be inserted at the end of a drag and drop gesture.
Implementation public function set dropIndicator(value:DisplayObject):void
thumbFitSize
property
thumbFitSize:Point
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
The size to use for thumbnail images in the layout
Implementation public function get thumbFitSize():Point public function set thumbFitSize(value:Point):void
Constructor Detail
DetailsLayout
()
Constructor
public function DetailsLayout()
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Constructor.
Method Detail
customizeDropIndicator
()
method
public function customizeDropIndicator(dropIndicator:DisplayObject):void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Customize the dropIndicator icon to look like an I-beam.
Parameters
dropIndicator:DisplayObject — The displayObject instance to use as the dropIndicator icon
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. Always returns null for Details.
Parameters
rect:Rectangle — A bounding region for which you want to find cards that intersect it.
Returns
Vector.<int> — Vector A vector of integers that represent the indexes of the cards in the layout that intersect
the specified rectangle.
getDropIndicatorPosition
()
method
public function getDropIndicatorPosition(w:Number, h:Number, x:Number, y:Number, end:Boolean):Rectangle
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Given a location, width, and height for the dropIndicator icon,
this method returns the drawing rectangle for the dropIndicator icon.
Parameters
w:Number — The width, in pixels of the drop indicator icon
h:Number — The height, in pixels of the drop indicator icon
x:Number — The horizontal position of the drop indicator, in pixels
y:Number — The vertical position of the drop indicator, in pixels
end:Boolean — If this is the last element
Returns
Rectangle — A rectangle that is the bounding box of the dropIndicator icon as it will be drawn.
measure
()
method
override public function measure():void
Language Version :
ActionScript 3.0
Product Version :
Portfolio 10.0
Runtime Versions :
Flash Player 10.1, AIR 2.0
Override measure and adjust the targets measured width to match the total widths of the detail fields.