All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.table.JCPaintEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----jclass.table.TableAWTEvent
                           |
                           +----jclass.table.JCPaintEvent

public class JCPaintEvent
extends TableAWTEvent
The event posted before and after a paint a portion of the table is painted (whenever the table redraws or modifies an onscreen area).

See Also:
addPaintListener, JCPaintAdapter, JCPaintListener

Variable Index

 o PAINT
The id for this event.

Constructor Index

 o JCPaintEvent(Table, Rectangle, int, int, int, int)

Method Index

 o getEndColumn()
Gets the column of the last cell in the range (top-left corner).
 o getEndRow()
Gets the row of the last cell in the range (top-left corner).
 o getRect()
Gets the expose rectangle (the gc's clipRect).
 o getStartColumn()
Gets the column of the first cell in the range (top-left corner).
 o getStartRow()
Gets the row of the first cell in the range (top-left corner).

Variables

 o PAINT
 public static final int PAINT
The id for this event.

Constructors

 o JCPaintEvent
 public JCPaintEvent(Table table,
                     Rectangle expose,
                     int start_row,
                     int start_col,
                     int end_row,
                     int end_col)

Methods

 o getRect
 public Rectangle getRect()
Gets the expose rectangle (the gc's clipRect).

 o getStartRow
 public int getStartRow()
Gets the row of the first cell in the range (top-left corner).

 o getStartColumn
 public int getStartColumn()
Gets the column of the first cell in the range (top-left corner).

 o getEndRow
 public int getEndRow()
Gets the row of the last cell in the range (top-left corner).

 o getEndColumn
 public int getEndColumn()
Gets the column of the last cell in the range (top-left corner).


All Packages  Class Hierarchy  This Package  Previous  Next  Index