All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.table.JCCreateComponentEvent

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

public class JCCreateComponentEvent
extends TableAWTEvent
The event posted when a single component has been specified for multiple cells, or a component is specified in the componentList value in an HTML file. If no listener is registered, a clone is created using the class' default constructor.

See Also:
setComponent, addCreateComponentListener, JCCreateComponentListener

Variable Index

 o CREATE_COMPONENT
The id for this event.

Constructor Index

 o JCCreateComponentEvent(Table, int, int, Component)

Method Index

 o getColumn()
Gets the column of the cell or label which will contain the component.
 o getRow()
Gets the row of the cell or label which will contain the component.
 o getSourceComponent()
Gets the component being cloned.
 o setComponent(Component)
Sets the component to be placed in the cell (default: created using the class' default constructor).

Variables

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

Constructors

 o JCCreateComponentEvent
 public JCCreateComponentEvent(Table table,
                               int r,
                               int c,
                               Component source)

Methods

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

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

 o getSourceComponent
 public Component getSourceComponent()
Gets the component being cloned.

 o setComponent
 public void setComponent(Component c)
Sets the component to be placed in the cell (default: created using the class' default constructor).


All Packages  Class Hierarchy  This Package  Previous  Next  Index