| Modifier and Type | Field and Description |
|---|---|
| private static PaintEventDispatcher | dispatcher
Singleton dispatcher. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PaintEvent | createPaintEvent(Component target, int x, int y, int w, int h)
Creates and returns the |
| public static PaintEventDispatcher | Returns: PaintEventDispatcherReturns the currently active |
| public boolean | queueSurfaceDataReplacing(Component c, Runnable r)
This method is invoked from the toolkit thread when the surface data of the component needs to be replaced. |
| public static void | setPaintEventDispatcher(PaintEventDispatcher
PaintEventDispatcher dispatcher)Sets the current |
| public boolean | shouldDoNativeBackgroundErase(Component c)
Returns true if a native background erase should be done for the specified Component. |
| dispatcher | back to summary |
|---|---|
| private static PaintEventDispatcher dispatcher Singleton dispatcher. | |
| PaintEventDispatcher | back to summary |
|---|---|
| public PaintEventDispatcher() | |
| createPaintEvent | back to summary |
|---|---|
| public PaintEvent createPaintEvent(Component target, int x, int y, int w, int h) Creates and returns the Warning This is invoked from the native thread, be careful what methods you end up invoking here. | |
| getPaintEventDispatcher | back to summary |
|---|---|
| public static PaintEventDispatcher getPaintEventDispatcher() Returns the currently active
| |
| queueSurfaceDataReplacing | back to summary |
|---|---|
| public boolean queueSurfaceDataReplacing(Component c, Runnable r) 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. Returns true if the Runnable has been enqueued to be invoked on the EDT. (Fix 6255371.) | |
| setPaintEventDispatcher | back to summary |
|---|---|
| public static void setPaintEventDispatcher(PaintEventDispatcher dispatcher) Sets the current
| |
| shouldDoNativeBackgroundErase | back to summary |
|---|---|
| public boolean shouldDoNativeBackgroundErase(Component c) Returns true if a native background erase should be done for the specified Component. | |