Table of Contents

Class: SeqBlock MultAlignViewer/SeqCanvas.py

Methods   
__init__
addSpecials
assocSeq
baseLayoutInfo
bboxList
boundedBy
delSpecials
destroy
findLabelWidth
fontChange
hasAssociatedStructures
layoutLines
layoutRuler
makeItem
measureFont
numBlocks
pos
realign
refresh
relativeY
rowIndex
  __init__ 
__init__ (
        self,
        labelCanvas,
        mainCanvas,
        prevBlock,
        font,
        seqOffset,
        specials,
        seqs,
        lineWidth,
        labelBindings,
        statusFunc,
        )

  addSpecials 
addSpecials (
        self,
        specials,
        pushDown=0,
        )

  assocSeq 
assocSeq (
        self,
        aseq,
        function,
        )

  baseLayoutInfo 
baseLayoutInfo ( self )

  bboxList 
bboxList (
        self,
        line1,
        line2,
        pos1,
        pos2,
        bboxes=[],
        )

  boundedBy 
boundedBy (
        self,
        x1,
        y1,
        x2,
        y2,
        )

  delSpecials 
delSpecials (
        self,
        specials,
        pushDown=0,
        delIndex=None,
        )

  destroy 
destroy ( self )

  findLabelWidth 
findLabelWidth (
        self,
        font,
        emphasisFont,
        )

  fontChange 
fontChange (
        self,
        font,
        emphasisFont=None,
        pushDown=0,
        )

  hasAssociatedStructures 
hasAssociatedStructures ( self,  line )

  layoutLines 
layoutLines (
        self,
        lines,
        labelColor,
        )

  layoutRuler 
layoutRuler ( self,  rerule=0 )

  makeItem 
makeItem (
        self,
        line,
        offset,
        x,
        y,
        halfX,
        leftRectOff,
        rightRectOff,
        colorFunc,
        )

  measureFont 
measureFont ( self,  font )

  numBlocks 
numBlocks ( self )

  pos 
pos (
        self,
        x,
        bound=None,
        y=None,
        )

return sequence position of x

  realign 
realign ( self,  prevLen )

sequences globally realigned

  refresh 
refresh (
        self,
        seq,
        left,
        right,
        )

  relativeY 
relativeY ( self,  rawY )

return the y relative to the block the y is in

  rowIndex 
rowIndex (
        self,
        y,
        bound=None,
        )

Given a relative y, return the row index


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:32 2002 by HappyDoc version 2.0.1