Extends
Members
-
bbOffsetNumber
-
Get the current offset of the center of the slot from the backbone.
-
canvasCanvas
-
Get the canvas.
-
centerOffsetNumber
-
Get the current center offset of the center of the slot.
-
drawByScoreBoolean
-
Return true if drawing by score
-
drawOrderString
-
Get the Track drawOrder
-
insideBoolean
-
Is the slot position inside the backbone
-
layoutLayout
-
Get the Layout
-
metaBoolean
-
Get or Set the meta data of this object. See the meta data tutorial for details.
-
outsideBoolean
-
Is the slot position outside the backbone
-
positionString
-
Get the position of the slot in relation to the backbone
-
sequenceSequence
-
Get the sequence.
-
thicknessNumber
-
Get the current thickness of the slot.
-
trackTrack
-
Get the Track
-
typeString
-
Get the Track Type
-
viewerViewer
-
Get the viewer.
-
visibleBoolean
-
Get or Set the visibility of this object.
-
visibleRangeRange
-
Get the visible range
Methods
-
inherited addPluginOptions(id, options)
-
Add a plugin to the object.
Name Type Description id
String The id of the plugin
options
Object The plugin options
-
Does the slot contain the given centerOffset.
Name Type Description offset
Number The centerOffset.
Returns:
Type Description Boolean -
inherited deleteFromObjects()
-
Remove the object from Viewer.objects
-
Return the first feature in this slot that contains the given bp.
Name Type Description bp
Number the position in bp to search for.
Returns:
Type Description Feature -
inherited hasPlugin(pluginID){Boolean}
-
Does this object have a particular plugin?
Name Type Description pluginID
String The ID of the plugin
Returns:
Type Description Boolean - Whether the object has the plugin
-
inherited optionsForPlugin(pluginName){Object}
-
Get the options for a particular plugin.
Name Type Description pluginName
String The name of the plugin
Returns:
Type Description Object - The options for the plugin or undefined if the plugin is not found
-
Return the class name as a string.
Returns:
Type Description String - 'Slot'
-
inherited updatePluginOptions(id, options)
-
Update plugin options. Merge the new options with the old options.
Name Type Description id
String The id of the plugin
options
Object The plugin options