Class ImageTrack
Extends
Track.
Defined in: ImageTrack.js.
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 Attributes | Method Name and Description |
---|---|
clear()
|
|
endZoom(destScale, destBlockBases)
|
|
fillBlock(blockIndex, block, leftBlock, rightBlock, leftBase, rightBase, scale, stripeWidth, containerStart, containerEnd)
|
|
handleImageError(ev)
|
|
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