Control.redraw

Causes the rectangular area of the receiver specified by the arguments to be marked as needing to be redrawn. The next time a paint request is processed, that area of the receiver will be painted, including the background. If the <code>all</code> flag is <code>true</code>, any children of the receiver which intersect with the specified area will also paint their intersecting areas. If the <code>all</code> flag is <code>false</code>, the children will not be painted.

@param x the x coordinate of the area to draw @param y the y coordinate of the area to draw @param width the width of the area to draw @param height the height of the area to draw @param all <code>true</code> if children should redraw, and <code>false</code> otherwise

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see #update() @see PaintListener @see SWT#Paint @see SWT#NO_BACKGROUND @see SWT#NO_REDRAW_RESIZE @see SWT#NO_MERGE_PAINTS @see SWT#DOUBLE_BUFFERED

  1. void redraw()
  2. void redraw(int x, int y, int width, int height, bool all)
    class Control
    void
    redraw
    (
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    ,
    bool all
    )

Meta