buoy.event
Class CellValueChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by buoy.event.CellValueChangedEvent
All Implemented Interfaces:
WidgetEvent, java.io.Serializable

public class CellValueChangedEvent
extends java.util.EventObject
implements WidgetEvent

A CellValueChangedEvent is generated when the user edits the value in a cell of a BTable.

Author:
Peter Eastman
See Also:
Serialized Form

Constructor Summary
CellValueChangedEvent(Widget widget, int row, int col)
          Create a CellValueChangedEvent.
 
Method Summary
 int getColumn()
          Get the column containing the cell whose value was edited.
 int getRow()
          Get the row containing the cell whose value was edited.
 Widget getWidget()
          Get the Widget which generated this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellValueChangedEvent

public CellValueChangedEvent(Widget widget,
                             int row,
                             int col)
Create a CellValueChangedEvent.

Parameters:
widget - the Widget whose value has changed
row - the row containing the cell whose value was edited
col - the column containing the cell whose value was edited
Method Detail

getWidget

public Widget getWidget()
Get the Widget which generated this event.

Specified by:
getWidget in interface WidgetEvent

getRow

public int getRow()
Get the row containing the cell whose value was edited.


getColumn

public int getColumn()
Get the column containing the cell whose value was edited.



Written by Peter Eastman.