|
showNodes
|
showNodes ( self, show )
|
|
bboxList
|
bboxList (
self,
line1,
line2,
pos1,
pos2,
coverGaps,
)
|
|
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,
showRuler,
treeBalloon,
showNumberings,
)
|
|
updateNumberings
|
updateNumberings ( self )
|
|
setRulerDisplay
|
setRulerDisplay (
self,
showRuler,
pushDown=0,
)
|
|
measureFont
|
measureFont ( self, font )
|
|
rowIndex
|
rowIndex (
self,
y,
bound=None,
)
Given a relative y, return the row index
|
|
addSeqs
|
addSeqs (
self,
seqs,
pushDown=0,
)
|
|
realign
|
realign ( self, prevLen )
sequences globally realigned
|
|
showTree
|
showTree (
self,
treeInfo,
callback,
nodesShown,
)
|
|
hideHeaders
|
hideHeaders (
self,
headers,
pushDown=0,
delIndex=None,
)
|
|
hasAssociatedStructures
|
hasAssociatedStructures ( self, line )
|
|
boundedBy
|
boundedBy (
self,
x1,
y1,
x2,
y2,
)
|
|
findNumberingWidths
|
findNumberingWidths ( self, font )
|
|
pos
|
pos (
self,
x,
bound=None,
y=None,
)
return sequence position of x
|
|
recolor
|
recolor ( self, seq )
|
|
layoutLines
|
layoutLines (
self,
lines,
labelColor,
)
|
|
layoutRuler
|
layoutRuler ( self, rerule=0 )
|
|
numBlocks
|
numBlocks ( self )
|
|
baseLayoutInfo
|
baseLayoutInfo ( self )
|
|
refresh
|
refresh (
self,
seq,
left,
right,
)
|
|
activateNode
|
activateNode (
self,
node,
callback=None,
fromPrev=False,
fromNext=False,
)
|
|
setLeftNumberingDisplay
|
setLeftNumberingDisplay ( self, showNumbering )
|
|
setRightNumberingDisplay
|
setRightNumberingDisplay ( self, showNumbering )
|
|
assocSeq
|
assocSeq ( self, aseq )
|
|
fontChange
|
fontChange (
self,
font,
emphasisFont=None,
pushDown=0,
)
|
|