public class DatabaseChangeEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Snapshot |
newSnapshot |
Snapshot |
oldSnapshot |
Constructor and Description |
---|
DatabaseChangeEvent(Snapshot oldSnapshot,
Snapshot newSnapshot) |
Modifier and Type | Method and Description |
---|---|
boolean |
cellTreeChanged()
Returns true if cell explorer tree was changed
in the new database state.
|
boolean |
objectChanged(ElectricObject eObj)
Returns true if ElectricObject eObj was created, killed or modified
in the new database state.
|
public final Snapshot oldSnapshot
public final Snapshot newSnapshot
public boolean objectChanged(ElectricObject eObj)
eObj
- ElectricObject to test.public boolean cellTreeChanged()