java.awt.event
Class PaintEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--java.awt.event.ComponentEvent
                    |
                    +--java.awt.event.PaintEvent
All Implemented Interfaces:
Serializable
public class PaintEvent
extends ComponentEvent

The component-level paint event. This event is a special type which is used to ensure that paint/update method calls are serialized along with the other events delivered from the event queue. This event is not designed to be used with the Event Listener model; programs should continue to override paint/update methods in order render themselves properly.

Since:
1.1
See Also:
Serialized Form

 

Field Summary

static int PAINT
    The paint event type.
static int PAINT_FIRST
    Marks the first integer id for the range of paint event ids.
static int PAINT_LAST
    Marks the last integer id for the range of paint event ids.
static int UPDATE
    The update event type.
 
Fields inherited from class java.awt.event.ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED,