All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.table.JCDisplayComponentEvent

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

public class JCDisplayComponentEvent
extends TableAWTEvent
The event posted before drawing a component in a cell or label (when the table is initially displayed and when the cell is scrolled into view).

See Also:
setComponent, JCDisplayComponentListener

Variable Index

 o DISPLAY_COMPONENT
The id for this event.

Constructor Index

 o JCDisplayComponentEvent(Table, int, int, Component)

Method Index

 o getColumn()
Gets the column of the cell or label which will display the component.
 o getComponent()
Sets the component to be displayed in the cell
 o getRow()
Gets the row of the cell or label which will display the component.

Variables

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

Constructors

 o JCDisplayComponentEvent
 public JCDisplayComponentEvent(Table table,
                                int r,
                                int c,
                                Component component)

Methods

 o getRow
 public int getRow()
Gets the row of the cell or label which will display the component.

 o getColumn
 public int getColumn()
Gets the column of the cell or label which will display the component.

 o getComponent
 public Component getComponent()
Sets the component to be displayed in the cell


All Packages  Class Hierarchy  This Package  Previous  Next  Index