org.fife.ui.modifiabletable
Class ModifiableTableChangeEvent
java.lang.Object
java.util.EventObject
org.fife.ui.modifiabletable.ModifiableTableChangeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ModifiableTableChangeEvent
- extends java.util.EventObject
An event representing the addition, removal or modification of a row in a
ModifiableTable
.
- Version:
- 1.0
- Author:
- Robert Futrell
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
ADDED
public static final int ADDED
- See Also:
- Constant Field Values
MODIFIED
public static final int MODIFIED
- See Also:
- Constant Field Values
REMOVED
public static final int REMOVED
- See Also:
- Constant Field Values
ModifiableTableChangeEvent
public ModifiableTableChangeEvent(ModifiableTable source,
int change,
int row)
- Constructor.
- Parameters:
source
- The table that changed.change
- One of ADDED
, MODIFIED
or
REMOVED
.row
- The row that was added, modified or removed.
getChange
public int getChange()
- Returns the change that occurred.
- Returns:
- One of
ADDED
, MODIFIED
or
REMOVED
.
getModifiableTable
public ModifiableTable getModifiableTable()
- Returns the modifiable table that has changed.
- Returns:
- The modifiable table.
getRow
public int getRow()
- Returns the row that was added, removed or modified.
- Returns:
- The row number.