public class DataStructureEvent
extends java.util.EventObject
Modifier and Type | Class and Description |
---|---|
static class |
DataStructureEvent.DataChangeType
Enumeration of the types of changes in data this event might indicate.
|
Constructor and Description |
---|
DataStructureEvent(DataAccessor<?,?> dataAccessor,
java.lang.String name,
DataStructureEvent.DataChangeType changeType)
Create a new DataStructureEvent
|
Modifier and Type | Method and Description |
---|---|
DataStructureEvent.DataChangeType |
getChangeType()
Get whether the change indicates that new data has been added
|
java.lang.String |
getStructureName()
Get the name of the structure which has changed
|
public DataStructureEvent(DataAccessor<?,?> dataAccessor, java.lang.String name, DataStructureEvent.DataChangeType changeType)
dataAccessor
- the accessor which identified the change in dataname
- the name of the structure which changedchangeType
- the type of changepublic DataStructureEvent.DataChangeType getChangeType()
public java.lang.String getStructureName()