All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.table.JCValueEvent

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

public class JCValueEvent
extends TableAWTEvent
The event posted whenever the table displays an empty cell or label (one which has with no value as described by the internal vector of the table). This event will be posted during the initial table display, scrolling and table repaint.

See Also:
addCellValueListener, addLabelValueListener, JCCellValueListener, JCLabelValueAdapter, JCLabelValueListener

Variable Index

 o VALUE
The id for this event.

Constructor Index

 o JCValueEvent(Table, int, int)

Method Index

 o getColumn()
Gets the column of the cell or label.
 o getRow()
Gets the row of the cell or label.
 o getStore()
Gets the Store value.
 o getValue()
Gets the value to be displayed (default: null).
 o setStore(boolean)
Determines whether the value is to be stored in the table (default: false).
 o setValue(Object)
Sets the value to be displayed.

Variables

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

Constructors

 o JCValueEvent
 public JCValueEvent(Table table,
                     int r,
                     int c)

Methods

 o getRow
 public int getRow()
Gets the row of the cell or label.

 o getColumn
 public int getColumn()
Gets the column of the cell or label.

 o getValue
 public Object getValue()
Gets the value to be displayed (default: null).

 o setValue
 public void setValue(Object v)
Sets the value to be displayed. It can be an instance of a String, JCString, Integer, Long, Float, Image, Component or an Object. If it is an Object, the instance of the toString() method is called to get a text representation for display.

 o getStore
 public boolean getStore()
Gets the Store value.

See Also:
setStore
 o setStore
 public void setStore(boolean v)
Determines whether the value is to be stored in the table (default: false). If true, the event is not posted again for the cell/label.


All Packages  Class Hierarchy  This Package  Previous  Next  Index