Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.awt.event.PaintEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----java.awt.event.ComponentEvent
                           |
                           +----java.awt.event.PaintEvent

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.


Variable Index

 o PAINT
The paint event type.
 o PAINT_FIRST
Marks the first integer id for the range of paint event ids.
 o PAINT_LAST
Marks the last integer id for the range of paint event ids.
 o UPDATE
The update event type.

Constructor Index

 o PaintEvent(Component, int, Rectangle)
Constructs a PaintEvent object with the specified source component and type.

Method Index

 o getUpdateRect()
Returns the rectangle representing the area which needs to be repainted in response to this event.
 o paramString()
 o setUpdateRect(Rectangle)
Sets the rectangle representing the area which needs to be repainted in response to this event.

Variables

 o PAINT_FIRST
 public static final int PAINT_FIRST
Marks the first integer id for the range of paint event ids.

 o PAINT_LAST
 public static final int PAINT_LAST
Marks the last integer id for the range of paint event ids.

 o PAINT
 public static final int PAINT
The paint event type.

 o UPDATE
 public static final int UPDATE
The update event type.

Constructors

 o PaintEvent
 public PaintEvent(Component source,
                   int id,
                   Rectangle updateRect)
Constructs a PaintEvent object with the specified source component and type.

Parameters:
source - the object where the event originated

Methods

 o getUpdateRect
 public Rectangle getUpdateRect()
Returns the rectangle representing the area which needs to be repainted in response to this event.

 o setUpdateRect
 public void setUpdateRect(Rectangle updateRect)
Sets the rectangle representing the area which needs to be repainted in response to this event.

Parameters:
updateRect - the rectangle area which needs to be repainted
 o paramString
 public String paramString()
Overrides:
paramString in class ComponentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature


With any suggestions or questions please feel free to contact us