Packagecom.adobe.portfolio.components
Classpublic class NavListDropIndicator
InheritanceNavListDropIndicator Inheritance spark.skins.spark.ListDropIndicator

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

The NavListDropIndicator class extends ListDropIndicator to draw a custom drop indicator. The drop indicator used by all navigators is an I-beam.



Public Properties
 PropertyDefined By
  getGraphicPosition : Function
The function which describes the actual position (bounding rect) of the ibeam on screen.
NavListDropIndicator
Public Methods
 MethodDefined By
  
getGraphicPositionDefault(w:Number, h:Number, x:Number, y:Number, end:Boolean):Rectangle
The default function that is used to determine the position of the dropIndicator.
NavListDropIndicator
  
setMaxHeight(height:Number):void
NavListDropIndicator
  
setMaxWidth(width:Number):void
NavListDropIndicator
Protected Methods
 MethodDefined By
  
updateDisplayList(w:Number, h:Number):void
[override]
NavListDropIndicator
Property Detail
getGraphicPositionproperty
public var getGraphicPosition:Function

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

The function which describes the actual position (bounding rect) of the ibeam on screen. It is invoked by updateDisplayList. Set this in your layout class by overriding the setter for dropIndicator.

Method Detail
getGraphicPositionDefault()method
public function getGraphicPositionDefault(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

The default function that is used to determine the position of the dropIndicator. To use your own function, set getGraphicPosition to point to your local function.

Parameters

w:Number
 
h:Number
 
x:Number
 
y:Number
 
end:Boolean

Returns
Rectangle
setMaxHeight()method 
public function setMaxHeight(height:Number):void

Parameters

height:Number

setMaxWidth()method 
public function setMaxWidth(width:Number):void

Parameters

width:Number

updateDisplayList()method 
override protected function updateDisplayList(w:Number, h:Number):void

Parameters

w:Number
 
h:Number