MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / resetAnimation

Method resetAnimation

src/debugging/physicsapps/IsingApp.java:99–107  ·  view source on GitHub ↗

Resets the calculation.

()

Source from the content-addressed store, hash-verified

97 * Resets the calculation.
98 */
99 @Override
100public void resetAnimation() {
101 stopAnimation();
102 control.clearMessages();
103 drawingPanel.invalidateImage();
104 drawingPanel.repaint();
105 enPanel.repaint();
106 magPanel.repaint();
107 }
108
109 /**
110 * Method randomize

Callers 1

initMyControlMethod · 0.95

Calls 4

stopAnimationMethod · 0.65
clearMessagesMethod · 0.65
repaintMethod · 0.65
invalidateImageMethod · 0.45

Tested by

no test coverage detected