The default painter class. Uses double-buffering, delegates the painting of nodes and
lines to helper classes deriving from NodePainter and LinePainter.
Method Summary |
|
__init__(self,
tree,
nodePainter,
linePainter,
textConverter)
|
|
GetDashPen(self)
|
|
OnMouse(self,
evt)
|
|
Paint(self,
dc,
node,
doubleBuffered,
paintBackground)
|
|
paintWalk(self,
node,
dc,
paintRects)
|
|
SetLinePen(self,
pen)
|
Inherited from Painter |
|
ClearBuffer (self)
|
|
GetBackgroundBrush (self)
|
|
GetBackgroundColour (self)
|
|
GetBackgroundPen (self)
|
|
GetBuffer (self)
|
|
GetFont (self)
|
|
GetForegroundBrush (self)
|
|
GetForegroundColour (self)
|
|
GetForegroundPen (self)
|
|
GetLineBrush (self)
|
|
GetLineColour (self)
|
|
GetLinePen (self)
|
|
GetTextBrush (self)
|
|
GetTextColour (self)
|
|
GetTextPen (self)
|
|
SetBackgroundColour (self,
color)
|
|
SetFont (self,
font)
|
|
SetForegroundColour (self,
color)
|
|
SetLineColour (self,
color)
|
|
SetTextColour (self,
color)
|