/** * Creates an animation control and establishes communication between the control and the model. * * @param model Animation * @return AnimationControl */ public static AnimationControl createApp(Animation model) { AnimationControl control = new AnimationControl(model); model.setControl(control); return control; }