Class Index | File Index

Classes


Class ImageTrack


Extends Track.

Defined in: ImageTrack.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ImageTrack(config, refSeq, browserParams)
A track that displays tiled images (PNGs, or other images) along the reference sequence.
Method Summary
Method Attributes Method Name and Description
 
 
endZoom(destScale, destBlockBases)
 
fillBlock(blockIndex, block, leftBlock, rightBlock, leftBase, rightBase, scale, stripeWidth, containerStart, containerEnd)
 
 
load()
Request that the track load its data.
 
loadSuccess(o, url)
 
setViewInfo(heightUpdate, numBlocks, trackDiv, labelDiv, widthPct, widthPx, scale)
 
startZoom(destScale, destStart, destEnd)
 
transfer(sourceBlock, destBlock, scale, containerStart, containerEnd)
Methods borrowed from class Track:
cleanupBlock, heightUpdate, hide, hideAll, initBlocks, loadFail, moveBlocks, setLabel, setLoaded, show, showRange, sizeInit, updateStaticElements
Class Detail
ImageTrack(config, refSeq, browserParams)
A track that displays tiled images (PNGs, or other images) along the reference sequence.
Parameters:
config
refSeq
browserParams
Method Detail
clear()

endZoom(destScale, destBlockBases)
Parameters:
destScale
destBlockBases

fillBlock(blockIndex, block, leftBlock, rightBlock, leftBase, rightBase, scale, stripeWidth, containerStart, containerEnd)
Parameters:
blockIndex
block
leftBlock
rightBlock
leftBase
rightBase
scale
stripeWidth
containerStart
containerEnd

handleImageError(ev)
Parameters:
ev

load()
Request that the track load its data. The track will call its own loadSuccess() function when it is loaded.

loadSuccess(o, url)
Parameters:
o
url

setViewInfo(heightUpdate, numBlocks, trackDiv, labelDiv, widthPct, widthPx, scale)
Parameters:
heightUpdate
numBlocks
trackDiv
labelDiv
widthPct
widthPx
scale

startZoom(destScale, destStart, destEnd)
Parameters:
destScale
destStart
destEnd

transfer(sourceBlock, destBlock, scale, containerStart, containerEnd)
Parameters:
sourceBlock
destBlock
scale
containerStart
containerEnd

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 14 2012 17:43:45 GMT-0400 (EDT)