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

Method setControl

src/debugging/physicsapps/IsingApp.java:72–80  ·  view source on GitHub ↗

Sets the Control for this model. @param control

(Control control)

Source from the content-addressed store, hash-verified

70 * @param control
71 */
72 @Override
73public void setControl(Control control) {
74 stopAnimation();
75 this.control = control;
76 if(control==null) {
77 return;
78 }
79 initMyControl();
80 }
81
82 /**
83 * Initializes this model and its control.

Callers 1

mainMethod · 0.95

Calls 2

initMyControlMethod · 0.95
stopAnimationMethod · 0.65

Tested by

no test coverage detected