|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParticleBoxListener
Listener for particle events.
| Method Summary | |
|---|---|
void |
particleAdded(Object id,
double x,
double y,
double z)
A new particle appeared at (x,y,z). |
void |
particleAttributeChanged(Object id,
String attribute,
Object newValue,
boolean removed)
One of the particle attributes changed value. |
void |
particleMoved(Object id,
double x,
double y,
double z)
A particle moved. |
void |
particleRemoved(Object id)
A particle disappeared. |
void |
stepFinished(int time)
All particles moved and a new step is about to begin. |
| Method Detail |
|---|
void particleAdded(Object id,
double x,
double y,
double z)
id - The particle unique identifier.x - The particle abscissa.y - The particle ordinate.z - The particle depth.
void particleMoved(Object id,
double x,
double y,
double z)
id - The particle unique identifier.x - The new abscissa.y - The new ordinate.z - The new depth.
void particleAttributeChanged(Object id,
String attribute,
Object newValue,
boolean removed)
id - The particle identifier.attribute - The attribute name.newValue - The attribute new value (null if removed).removed - If true the attribute is being removed.void particleRemoved(Object id)
id - The particle unique identifier.void stepFinished(int time)
time - The finished step time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||