A single Column in a Table.
Methods
|
|
|
|
__init__
|
__init__ (
self,
title,
datasource,
width,
rowheight,
titletextcolor='black',
titlebackground='grey',
celltextcolor='black',
cellbackground='white',
celloutline='black',
titlealignment='center',
cellalignment='sw',
cellpadding=2,
*args,
*kw,
)
|
|
__len__
|
__len__ ( self )
|
|
__str__
|
__str__ ( self )
|
|
alignmentPoint
|
alignmentPoint (
self,
alignment,
bbox,
)
|
|
columnWidth
|
columnWidth ( self )
|
|
createCanvasObjects
|
createCanvasObjects ( self, canvas )
Create the on-screen objects to display
this column.
|
|
createCell
|
createCell (
self,
canvas,
row,
ulx,
uly,
)
Create the cell containing the information in
the specified row of the table.
|
|
createTitleCell
|
createTitleCell (
self,
canvas,
label,
)
Create the cell for the column title.
|
|
getRowStr
|
getRowStr ( self, row )
Get the string to display for a specified row.
|
|
hideCanvasObjects
|
hideCanvasObjects (
self,
rowRange,
offScreenFlag,
)
Hide the objects related to the rows in the specified
range. If the offScreenFlag is true, also hide the
title cell for the column.
|
|
numRows
|
numRows ( self )
|
|
showCanvasObjects
|
showCanvasObjects (
self,
canvas,
leftEdgeX,
startRow,
endRow,
)
|
|