public class RowKeyChangeEvent extends EventObject
| Modifier and Type | Class and Description |
|---|---|
static class |
RowKeyChangeEvent.Cause
The operation that triggers row key to change
|
source| Constructor and Description |
|---|
RowKeyChangeEvent(CollectionModel source,
Object oldRowKey,
Object newRowKey,
RowKeyChangeEvent.Cause cause)
Creates a new RowKeyChangeEvent
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
RowKeyChangeEvent.Cause |
getCause() |
Object |
getNewRowKey()
retrieve the new row key from the event
|
Object |
getOldRowKey()
retrieve the old RowKey from the event
|
int |
hashCode() |
String |
toString() |
getSourcepublic RowKeyChangeEvent(CollectionModel source, Object oldRowKey, Object newRowKey, RowKeyChangeEvent.Cause cause)
source - the source of the eventoldRowKey - the old RowKey.newRowKey - the new RowKey.cause - the operation that triggers this eventpublic Object getOldRowKey()
public Object getNewRowKey()
public RowKeyChangeEvent.Cause getCause()
public String toString()
toString in class EventObjectCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.