HappyDoc Generated Documentation Class: SeqBlock

. / MultAlignViewer / SeqCanvas.py / SeqBlock 

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

return sequence position of x

  bboxList 
bboxList (
        self,
        line1,
        line2,
        pos1,
        pos2,
        bboxes=[],
        )
  makeItem 
makeItem (
        self,
        line,
        offset,
        x,
        y,
        halfX,
        leftRectOff,
        rightRectOff,
        colorFunc,
        )
  showHeaders 
showHeaders (
        self,
        headers,
        pushDown=0,
        )
  relativeY 
relativeY ( self,  rawY )

return the y relative to the block the y is in

  findLabelWidth 
findLabelWidth (
        self,
        font,
        emphasisFont,
        )
  __init__ 
__init__ (
        self,
        labelCanvas,
        mainCanvas,
        prevBlock,
        font,
        seqOffset,
        headers,
        seqs,
        lineWidth,
        labelBindings,
        statusFunc,
        )
  measureFont 
measureFont ( self,  font )
  rowIndex 
rowIndex (
        self,
        y,
        bound=None,
        )

Given a relative y, return the row index

  realign 
realign ( self,  prevLen )

sequences globally realigned

  destroy 
destroy ( self )
  hideHeaders 
hideHeaders (
        self,
        headers,
        pushDown=0,
        delIndex=None,
        )
  hasAssociatedStructures 
hasAssociatedStructures ( self,  line )
  boundedBy 
boundedBy (
        self,
        x1,
        y1,
        x2,
        y2,
        )
  layoutLines 
layoutLines (
        self,
        lines,
        labelColor,
        )
  layoutRuler 
layoutRuler ( self,  rerule=0 )
  numBlocks 
numBlocks ( self )
  baseLayoutInfo 
baseLayoutInfo ( self )
  refresh 
refresh (
        self,
        seq,
        left,
        right,
        )
  showTree 
showTree ( self,  treeInfo )
  assocSeq 
assocSeq ( self,  aseq )
  fontChange 
fontChange (
        self,
        font,
        emphasisFont=None,
        pushDown=0,
        )

This document was automatically generated Thu Feb 02 15:18:27 2006 by HappyDoc version 3.0.a1