| Package | spark.layouts.supportClasses |
| Class | public class PerspectiveNavigatorLayoutBase |
| Inheritance | PerspectiveNavigatorLayoutBase NavigatorLayoutBase LayoutBase OnDemandEventDispatcher Object |
![]() | This class is experimental, which means it has not been tested or documented as thoroughly as other core Apache Flex classes. |
| Property | Defined By | ||
|---|---|---|---|
![]() | clipAndEnableScrolling : Boolean
If true, specifies to clip the children to the boundaries of the viewport. | LayoutBase | |
![]() | dropIndicator : DisplayObject
The DisplayObject that this layout uses for
the drop indicator during a drag-and-drop operation. | LayoutBase | |
![]() | elements : Vector.<IVisualElement> [read-only] | NavigatorLayoutBase | |
| fieldOfView : Number | PerspectiveNavigatorLayoutBase | ||
![]() | firstIndexInView : int [read-only]
firstIndexInView
| NavigatorLayoutBase | |
| focalLength : Number | PerspectiveNavigatorLayoutBase | ||
![]() | horizontalScrollPosition : Number
The x coordinate of the origin of the viewport in the component's coordinate system,
where the default value is (0,0) corresponding to the upper-left corner of the component. | LayoutBase | |
![]() | indicesInLayout : Vector.<int> [read-only]
A convenience method for determining the elements included in the layout. | NavigatorLayoutBase | |
![]() | indicesNotInLayout : Vector.<int> [read-only]
A convenience method for determining the elements excluded from the layout. | NavigatorLayoutBase | |
![]() | lastIndexInView : int [read-only]
lastIndexInView
| NavigatorLayoutBase | |
![]() | numElementsInLayout : int [read-only]
Returns an int specifying number of elements included in the layout. | NavigatorLayoutBase | |
![]() | numElementsNotInLayout : int [read-only]
Returns an int specifying number of elements not included in the layout. | NavigatorLayoutBase | |
![]() | numIndicesInView : int [read-only]
inheritDoc
| NavigatorLayoutBase | |
| projectionCenter : Point [read-only] | PerspectiveNavigatorLayoutBase | ||
| projectionCenterHorizontalAlign : String | PerspectiveNavigatorLayoutBase | ||
| projectionCenterHorizontalOffset : Number | PerspectiveNavigatorLayoutBase | ||
| projectionCenterVerticalAlign : String | PerspectiveNavigatorLayoutBase | ||
| projectionCenterVerticalOffset : Number | PerspectiveNavigatorLayoutBase | ||
![]() | renderingData : Boolean [read-only]
inheritDoc
| NavigatorLayoutBase | |
![]() | scrollBarDirection : String
The direction of the ScrollBar to use for navigation. | NavigatorLayoutBase | |
![]() | selectedElement : IVisualElement [read-only]
| NavigatorLayoutBase | |
![]() | selectedIndex : int
The index of the selected INavigatorLayout item. | NavigatorLayoutBase | |
![]() | sizeChangedInLayoutPass : Boolean [read-only] | NavigatorLayoutBase | |
| target : GroupBase [override] | PerspectiveNavigatorLayoutBase | ||
![]() | typicalLayoutElement : ILayoutElement
Used by layouts when fixed row/column sizes are requested but
a specific size isn't specified. | LayoutBase | |
![]() | unscaledHeight : Number [read-only]
A convenience method for determining the unscaled height of the viewport. | NavigatorLayoutBase | |
![]() | unscaledWidth : Number [read-only]
A convenience method for determining the unscaled width of the viewport. | NavigatorLayoutBase | |
![]() | useScrollBarForNavigation : Boolean
useScrollBarForNavigation
| NavigatorLayoutBase | |
![]() | useVirtualLayout : Boolean
A container can hold any number of children. | LayoutBase | |
![]() | verticalScrollPosition : Number
The y coordinate of the origin of the viewport in the component's coordinate system,
where the default value is (0,0) corresponding to the upper-left corner of the component. | LayoutBase | |
| Method | Defined By | ||
|---|---|---|---|
| PerspectiveNavigatorLayoutBase | |||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | OnDemandEventDispatcher | |
![]() |
Calculates the drop location in the data provider of the drop target for
the specified dragEvent. | LayoutBase | |
![]() | clearVirtualLayoutCache():void
When useVirtualLayout is true,
this method can be used by the layout target
to clear cached layout information when the target changes. | LayoutBase | |
![]() | dispatchEvent(event:Event):Boolean | OnDemandEventDispatcher | |
![]() | elementAdded(index:int):void
Called by the target after a layout element
has been added and before the target's size and display list are
validated. | LayoutBase | |
![]() | elementRemoved(index:int):void
This method must is called by the target after a layout element
has been removed and before the target's size and display list are
validated. | LayoutBase | |
![]() | getElementBounds(index:int):Rectangle
Returns the specified element's layout bounds as a Rectangle or null
if the index is invalid, the corresponding element is null,
includeInLayout=false,
or if this layout's target property is null. | LayoutBase | |
![]() | getHorizontalScrollPositionDelta(navigationUnit:uint):Number [override] | NavigatorLayoutBase | |
![]() | getNavigationDestinationIndex(currentIndex:int, navigationUnit:uint, arrowKeysWrapFocus:Boolean):int
Delegation method that determines which item
to navigate to based on the current item in focus
and user input in terms of NavigationUnit. | LayoutBase | |
![]() | getScrollPositionDeltaToElement(index:int):Point
Computes the verticalScrollPosition and
horizontalScrollPosition deltas needed to
scroll the element at the specified index into view. | LayoutBase | |
![]() | getVerticalScrollPositionDelta(navigationUnit:uint):Number [override] | NavigatorLayoutBase | |
![]() | hasEventListener(type:String):Boolean | OnDemandEventDispatcher | |
![]() | hideDropIndicator():void
Hides the previously shown drop indicator,
created by the showDropIndicator() method,
removes it from the display list and also stops the drag scrolling. | LayoutBase | |
![]() | invalidateTargetSize():void | NavigatorLayoutBase | |
![]() | measure():void [override] | NavigatorLayoutBase | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | OnDemandEventDispatcher | |
![]() | showDropIndicator(dropLocation:DropLocation):void
Sizes, positions and parents the drop indicator based on the specified
drop location. | LayoutBase | |
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | PerspectiveNavigatorLayoutBase | ||
![]() | updateScrollRect(w:Number, h:Number):void [override] | NavigatorLayoutBase | |
![]() | willTrigger(type:String):Boolean | OnDemandEventDispatcher | |
| fieldOfView | property |
fieldOfView:Number public function get fieldOfView():Number public function set fieldOfView(value:Number):void| focalLength | property |
focalLength:Number public function get focalLength():Number public function set focalLength(value:Number):void| projectionCenter | property |
projectionCenter:Point [read-only] public function get projectionCenter():Point| projectionCenterHorizontalAlign | property |
projectionCenterHorizontalAlign:String public function get projectionCenterHorizontalAlign():String public function set projectionCenterHorizontalAlign(value:String):void| projectionCenterHorizontalOffset | property |
projectionCenterHorizontalOffset:Number public function get projectionCenterHorizontalOffset():Number public function set projectionCenterHorizontalOffset(value:Number):void| projectionCenterVerticalAlign | property |
projectionCenterVerticalAlign:String public function get projectionCenterVerticalAlign():String public function set projectionCenterVerticalAlign(value:String):void| projectionCenterVerticalOffset | property |
projectionCenterVerticalOffset:Number public function get projectionCenterVerticalOffset():Number public function set projectionCenterVerticalOffset(value:Number):void| target | property |
target:GroupBase[override] public function get target():GroupBase public function set target(value:GroupBase):void| PerspectiveNavigatorLayoutBase | () | Constructor |
public function PerspectiveNavigatorLayoutBase()| updateDisplayList | () | method |
override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |