Package generators.behaviors

Source Code of generators.behaviors.OutputHeatBehavior

package generators.behaviors;

import swimraceorganizer.SwimRaceOrganizerApp;
import work.Operations;
import displays.AllHeats;

public class OutputHeatBehavior implements GenerateHeatBehavior {

  private AllHeats allHeats;
  private Operations operations = new Operations();
 
  @Override
  public void generateHeats(String eventName, String poolType,
      String competitionTitle, String heatGender) {
    allHeats = new AllHeats(operations.returnEvent(eventName), poolType,
        competitionTitle, heatGender);
    SwimRaceOrganizerApp.getApplication().show(allHeats);
    allHeats.setSize(1200, 300);
  }
}
TOP

Related Classes of generators.behaviors.OutputHeatBehavior

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.