Modifier and Type | Method and Description |
---|---|
boolean |
paintControl(Control c,
Graphics g,
Rect area,
boolean beforeNormalPaint)
This method is called before doPaint() is called on a Control and normally after doPaint() is called on a Control,
depending on what it returns when beforeNormalPaint is called.
|
boolean paintControl(Control c, Graphics g, Rect area, boolean beforeNormalPaint)
c
- the Control to be painted.g
- the Graphics to paint on.area
- the area within the Control being repainted.beforeNormalPaint
- if this is true then the method is being called before the normal doPaint() method is called on the Control.
if it is false it is being called after the normal doPaint() method is called.