AtomLeafAgentManager
, BoxEventListenerAdapter
, IntegratorDroplet
, IntegratorFixedWall
, IntegratorGear4
, IntegratorHard
, IntegratorHardMDMC
, IntegratorHardPiston
, IntegratorHarmonic
, IntegratorImageHarmonicMD
, IntegratorImageMultistepMD
, IntegratorMD
, IntegratorMDHarmonicMC
, IntegratorPolymer
, IntegratorRigidIterative
, IntegratorRigidMatrixIterative
, IntegratorVelocityVerlet
, IntegratorVelocityVerletQuaternion
, IntegratorVelocityVerletRattle
, IntegratorVelocityVerletSAM
, IntegratorVelocityVerletShake
, IntegratorVerlet
, MoleculeAgentManager
public interface BoxEventListener
Modifier and Type | Method | Description |
---|---|---|
default void |
boxAtomLeafIndexChanged(BoxAtomIndexEvent e) |
Called when an atom's global (leaf) index has changed.
|
default void |
boxGlobalAtomLeafIndexChanged(BoxIndexEvent e) |
Called when the maximum leaf index in the box has changed.
|
default void |
boxMoleculeAdded(BoxMoleculeEvent e) |
Called when a molecule is added to the box.
|
default void |
boxMoleculeIndexChanged(BoxMoleculeIndexEvent e) |
Called when an molecule's index has changed.
|
default void |
boxMoleculeRemoved(BoxMoleculeEvent e) |
Called when a molecule is removed from the box.
|
default void |
boxNumberMolecules(BoxMoleculeCountEvent e) |
Called when the number of molecules of a particular species has changed
in the box.
|
default void boxMoleculeAdded(BoxMoleculeEvent e)
e
- the event, which contains the added molecule and the box to
which it was added.default void boxMoleculeRemoved(BoxMoleculeEvent e)
e
- the event, which contains the removed molecule and the box from
which it was removed.default void boxGlobalAtomLeafIndexChanged(BoxIndexEvent e)
e
- the event, which contains the box and the new maximum global
indexdefault void boxAtomLeafIndexChanged(BoxAtomIndexEvent e)
e
- 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.default void boxMoleculeIndexChanged(BoxMoleculeIndexEvent e)
e
- 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.default void boxNumberMolecules(BoxMoleculeCountEvent e)
e
- the event, which contains the box, the species and the new
number of molecules of that species.