ElegantJ Data Tables Java API Specification v1.1

com.elegantj.awt.table
Class TableCellEditEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.elegantj.awt.table.TableCellEditEvent
All Implemented Interfaces:
java.io.Serializable

public class TableCellEditEvent
extends java.util.EventObject

TableCellEditEvent is used to notify interested parties that state has changed in the event source

See Also:
Serialized Form

Field Summary
static int AFTER_CELL_EDIT
          The event id represents the event for the after cell edit
static int BEFORE_CELL_EDIT
          The event id represents the event for the before cell edit
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TableCellEditEvent(java.lang.Object source, int eventID, int rowIndex, int columnIndex, java.lang.Object value)
          Constructs a TableCellEditEvent object.
 
Method Summary
 int getColumnIndex()
          This method returns the index of the column of the editing cell
 int getEventID()
          Returns the event id for the event The possible values are BEFORE_CELL_EDIT and AFTER_CELL_EDIT
 int getRowIndex()
          This method returns the index of the row of the editing cell
 java.lang.Object getValue()
          This method returns the value of the editing cell
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE_CELL_EDIT

public static int BEFORE_CELL_EDIT
The event id represents the event for the before cell edit


AFTER_CELL_EDIT

public static int AFTER_CELL_EDIT
The event id represents the event for the after cell edit

Constructor Detail

TableCellEditEvent

public TableCellEditEvent(java.lang.Object source,
                          int eventID,
                          int rowIndex,
                          int columnIndex,
                          java.lang.Object value)
Constructs a TableCellEditEvent object.

Parameters:
eventID - The eventID The possible values are BEFORE_CELL_EDIT and AFTER_CELL_EDIT
source - the Object that is the source of the event
rowIndex - The row index at which cell is editing
value - The value of the cell editor
Method Detail

getRowIndex

public int getRowIndex()
This method returns the index of the row of the editing cell

Returns:
The index of the row of the editing cell

getColumnIndex

public int getColumnIndex()
This method returns the index of the column of the editing cell

Returns:
the index of the column of the editing cell

getValue

public java.lang.Object getValue()
This method returns the value of the editing cell

Returns:
The value of the editing cell

getEventID

public int getEventID()
Returns the event id for the event The possible values are BEFORE_CELL_EDIT and AFTER_CELL_EDIT


ElegantJ Data Tables Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.