Packageat.controls
Classpublic class SlideRepositoryTileList
InheritanceSlideRepositoryTileList Inheritance mx.controls.TileList

Used internally to the PreCallModule, the SlideRepositoryTileList handles custom drag images to drop into a SlideDropTarget. It also displays text on the verticalScrollBar to identify the current position in the list of items.



Protected Properties
 PropertyDefined by
  ba : BitmapAsset
The drag image.
SlideRepositoryTileList
  _lastObject : DisplayObject
Holder for the last object rendered as a BitimapAsset, for optimization purposes.
SlideRepositoryTileList
  _oldScollPos : int = -1
Holds the old scrollPosition so the ScrollBar text is not constantly being set.
SlideRepositoryTileList
  scrollBarText : String
The text to be put on the ScrollBar's ScrollThumb.
SlideRepositoryTileList
  st : ScrollThumb
The SlideRepositoryTileList's verticalScrollBar ScrollThumb.
SlideRepositoryTileList
Public Methods
 MethodDefined by
  
Constructor.
SlideRepositoryTileList
  
Updates the text on the ScrollBar with the visible items.
SlideRepositoryTileList
Protected Methods
 MethodDefined by
  
createDragProxyImage(value:DisplayObject):void
Creates a BitmapAsset of the itemRenderer to have an accurate visual representation for the drag and drop action.
SlideRepositoryTileList
  
Creates a list of the visible items in the component.
SlideRepositoryTileList
  
rollOverHandler(e:ListEvent):void
Handles the roll over event for the list.
SlideRepositoryTileList
Events
 EventSummaryDefined by
   Dispatched when an item in the list is clicked to be handled by the PreCallModule.SlideRepositoryTileList
Styles
 StyleDescriptionDefined by
  
titleStyleName
Type: String   CSS Inheritance: no
Set the styleName for the text that appears on the verticalScrollBar. The default value is "slideRepositoryTitleStyle".
SlideRepositoryTileList
Property detail
baproperty
protected var ba:BitmapAsset

The drag image.

_lastObjectproperty 
protected var _lastObject:DisplayObject

Holder for the last object rendered as a BitimapAsset, for optimization purposes.

_oldScollPosproperty 
protected var _oldScollPos:int = -1

Holds the old scrollPosition so the ScrollBar text is not constantly being set.

The default value is -1.

scrollBarTextproperty 
scrollBarText:String  [read-write]

The text to be put on the ScrollBar's ScrollThumb.

Implementation
    protected function get scrollBarText():String
    protected function set scrollBarText(value:String):void
stproperty 
protected var st:ScrollThumb

The SlideRepositoryTileList's verticalScrollBar ScrollThumb.

Constructor detail
SlideRepositoryTileList()constructor
public function SlideRepositoryTileList()

Constructor.

Method detail
createDragProxyImage()method
protected function createDragProxyImage(value:DisplayObject):void

Creates a BitmapAsset of the itemRenderer to have an accurate visual representation for the drag and drop action.

Parameters
value:DisplayObject — The DisplayObject to make an image from

See also

mx.core.BitmapAsset
getVisibleItems()method 
protected function getVisibleItems():Array

Creates a list of the visible items in the component.

Returns
Array — Array of the indicies of visible components
rollOverHandler()method 
protected function rollOverHandler(e:ListEvent):void

Handles the roll over event for the list.

Parameters
e:ListEvent — The list roll over event
updateScrollThumbText()method 
public function updateScrollThumbText():void

Updates the text on the ScrollBar with the visible items.

Event detail
addSlideevent 
Event object type: at.events.PreCallModuleEvent
PreCallModuleEvent.type property = at.events.PreCallModuleEvent.ADD_SLIDE

Dispatched when an item in the list is clicked to be handled by the PreCallModule.

Dispatched when slides are are dropped to be added to a call by user interaction.