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
-
CREATE_COMPONENT
- The id for this event.
-
JCCreateComponentEvent(Table, int, int, Component)
-
-
getColumn()
- Gets the column of the cell or label which will contain the component.
-
getRow()
- Gets the row of the cell or label which will contain the component.
-
getSourceComponent()
- Gets the component being cloned.
-
setComponent(Component)
- Sets the component to be placed in the cell
(default: created using the class' default constructor).
CREATE_COMPONENT
public static final int CREATE_COMPONENT
- The id for this event.
JCCreateComponentEvent
public JCCreateComponentEvent(Table table,
int r,
int c,
Component source)
getRow
public int getRow()
- Gets the row of the cell or label which will contain the component.
getColumn
public int getColumn()
- Gets the column of the cell or label which will contain the component.
getSourceComponent
public Component getSourceComponent()
- Gets the component being cloned.
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