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
-
VALUE
- The id for this event.
-
JCValueEvent(Table, int, int)
-
-
getColumn()
- Gets the column of the cell or label.
-
getRow()
- Gets the row of the cell or label.
-
getStore()
- Gets the Store value.
-
getValue()
- Gets the value to be displayed (default: null).
-
setStore(boolean)
- Determines whether the value is to be stored in the table (default: false).
-
setValue(Object)
- Sets the value to be displayed.
VALUE
public static final int VALUE
- The id for this event.
JCValueEvent
public JCValueEvent(Table table,
int r,
int c)
getRow
public int getRow()
- Gets the row of the cell or label.
getColumn
public int getColumn()
- Gets the column of the cell or label.
getValue
public Object getValue()
- Gets the value to be displayed (default: null).
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.
getStore
public boolean getStore()
- Gets the Store value.
- See Also:
- setStore
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