BoxEventListenerAtomLeafAgentManagerpublic class BoxEventListenerAdapter extends java.lang.Object implements BoxEventListener
| Constructor | Description |
|---|---|
BoxEventListenerAdapter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
boxAtomLeafIndexChanged(BoxAtomIndexEvent e) |
Called when an atom's global (leaf) index has changed.
|
void |
boxGlobalAtomLeafIndexChanged(BoxIndexEvent e) |
Called when the maximum leaf index in the box has changed.
|
void |
boxMoleculeAdded(BoxMoleculeEvent e) |
Called when a molecule is added to the box.
|
void |
boxMoleculeIndexChanged(BoxMoleculeIndexEvent e) |
Called when an molecule's index has changed.
|
void |
boxMoleculeRemoved(BoxMoleculeEvent e) |
Called when a molecule is removed from the box.
|
void |
boxNumberMolecules(BoxMoleculeCountEvent e) |
Called when the number of molecules of a particular species has changed
in the box.
|
public void boxMoleculeAdded(BoxMoleculeEvent e)
BoxEventListenerboxMoleculeAdded in interface BoxEventListenere - the event, which contains the added molecule and the box to
which it was added.public void boxMoleculeRemoved(BoxMoleculeEvent e)
BoxEventListenerboxMoleculeRemoved in interface BoxEventListenere - the event, which contains the removed molecule and the box from
which it was removed.public void boxGlobalAtomLeafIndexChanged(BoxIndexEvent e)
BoxEventListenerboxGlobalAtomLeafIndexChanged in interface BoxEventListenere - the event, which contains the box and the new maximum global
indexpublic void boxAtomLeafIndexChanged(BoxAtomIndexEvent e)
BoxEventListenerboxAtomLeafIndexChanged in interface BoxEventListenere - the event, which contains the box, the atom whose index changed
and the atom's old leaf index. The atom's new leaf index can
be obtained from the atom.public void boxMoleculeIndexChanged(BoxMoleculeIndexEvent e)
BoxEventListenerboxMoleculeIndexChanged in interface BoxEventListenere - the event, which contains the box, the molecule whose index
changed and the molecule's old index. The molecule's new index
can be obtained from the atom.public void boxNumberMolecules(BoxMoleculeCountEvent e)
BoxEventListenerboxNumberMolecules in interface BoxEventListenere - the event, which contains the box, the species and the new
number of molecules of that species.