| java.lang.Object sun.awt.PaintEventDispatcher
PaintEventDispatcher | public class PaintEventDispatcher (Code) | | PaintEventDispatcher is responsible for dispatching PaintEvents. There
can be only one PaintEventDispatcher active at a particular time.
version: 1.9, 05/05/07 |
createPaintEvent | public PaintEvent createPaintEvent(Component target, int x, int y, int w, int h)(Code) | | Creates and returns the PaintEvent that should be
dispatched for the specified component. If this returns null
no PaintEvent is dispatched.
WARNING: This is invoked from the native thread, be careful
what methods you end up invoking here.
|
getPaintEventDispatcher | public static PaintEventDispatcher getPaintEventDispatcher()(Code) | | Returns the currently active PaintEventDispatcher . This
will never return null.
PaintEventDispatcher |
queueSurfaceDataReplacing | public boolean queueSurfaceDataReplacing(Component c, Runnable r)(Code) | | This method is invoked from the toolkit thread when the surface
data of the component needs to be replaced. The method run() of
the Runnable argument performs surface data replacing, run()
should be invoked on the EDT of this component's AppContext.
Returns true if the Runnable has been enqueued to be invoked
on the EDT.
(Fix 6255371.)
|
setPaintEventDispatcher | public static void setPaintEventDispatcher(PaintEventDispatcher dispatcher)(Code) | | Sets the current PaintEventDispatcher .
Parameters: dispatcher - PaintEventDispatcher |
shouldDoNativeBackgroundErase | public boolean shouldDoNativeBackgroundErase(Component c)(Code) | | Returns true if a native background erase should be done for
the specified Component.
|
|
|