java.lang.Object | |
↳ | sun.awt.PaintEventDispatcher |
PaintEventDispatcher is responsible for dispatching PaintEvents. There can be only one PaintEventDispatcher active at a particular time.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates and returns the
PaintEvent that should be
dispatched for the specified component. | |||||||||||
Returns the currently active
PaintEventDispatcher . | |||||||||||
This method is invoked from the toolkit thread when the surface
data of the component needs to be replaced.
| |||||||||||
Sets the current
PaintEventDispatcher . | |||||||||||
Returns true if a native background erase should be done for
the specified Component.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
Returns the currently active PaintEventDispatcher
. This
will never return null.
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.)
Sets the current PaintEventDispatcher
.
dispatcher | PaintEventDispatcher |
---|
Returns true if a native background erase should be done for the specified Component.