├── nbproject ├── private │ ├── config.properties │ ├── private.properties │ └── private.xml ├── genfiles.properties ├── project.xml └── project.properties ├── dist ├── javadoc │ ├── package-list │ ├── script.js │ ├── allclasses-noframe.html │ ├── gymsystem │ │ ├── package-frame.html │ │ ├── class-use │ │ │ ├── Employee.html │ │ │ ├── Equipment.html │ │ │ ├── GameClass.html │ │ │ ├── GymScreen.html │ │ │ ├── MemberTest.html │ │ │ ├── PersonTest.html │ │ │ ├── MemberClass.html │ │ │ ├── CompareNames.html │ │ │ ├── EmployeeTest.html │ │ │ ├── EquipmentTest.html │ │ │ ├── gymLoadTester.html │ │ │ ├── gymSaveTester.html │ │ │ ├── FitnessClasses.html │ │ │ ├── FitnessClassesTest.html │ │ │ ├── MyAdjustmentListener.html │ │ │ ├── Person.html │ │ │ └── Member.html │ │ ├── package-use.html │ │ └── package-tree.html │ ├── allclasses-frame.html │ ├── index.html │ ├── deprecated-list.html │ ├── constant-values.html │ ├── index-files │ │ ├── index-7.html │ │ ├── index-10.html │ │ ├── index-3.html │ │ ├── index-1.html │ │ ├── index-9.html │ │ ├── index-5.html │ │ ├── index-2.html │ │ ├── index-12.html │ │ └── index-4.html │ └── overview-tree.html ├── GYMSystem.jar └── README.TXT ├── README.md ├── classes.dat ├── gymSystem.data ├── images ├── GYM.png ├── exit.png ├── list.png ├── open.png ├── plus.png ├── save.png ├── Thumbs.db ├── change.png └── minus.png ├── manifest.mf └── src └── gymsystem1 ├── MyAdjustmentListener.java ├── CompareNames.java ├── GameClass.java ├── gymLoadTester.java ├── gymSaveTester.java ├── PersonTest.java ├── Person.java ├── EquipmentTest.java ├── Equipment.java ├── MemberClass.java ├── Employee.java ├── Class.java ├── EmployeeTest.java ├── FitnessClassesTest.java ├── FitnessClasses.java └── Member.java /nbproject/private/config.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/javadoc/package-list: -------------------------------------------------------------------------------- 1 | gymsystem 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GYM-Management-System 2 | GYM Management System using Java 3 | -------------------------------------------------------------------------------- /classes.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/classes.dat -------------------------------------------------------------------------------- /gymSystem.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/gymSystem.data -------------------------------------------------------------------------------- /images/GYM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/GYM.png -------------------------------------------------------------------------------- /images/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/exit.png -------------------------------------------------------------------------------- /images/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/list.png -------------------------------------------------------------------------------- /images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/open.png -------------------------------------------------------------------------------- /images/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/plus.png -------------------------------------------------------------------------------- /images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/save.png -------------------------------------------------------------------------------- /dist/GYMSystem.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/dist/GYMSystem.jar -------------------------------------------------------------------------------- /images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/Thumbs.db -------------------------------------------------------------------------------- /images/change.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/change.png -------------------------------------------------------------------------------- /images/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davidoc16/GYM-Management-System/HEAD/images/minus.png -------------------------------------------------------------------------------- /manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=false 2 | do.depend=false 3 | do.jar=true 4 | javac.debug=true 5 | javadoc.preview=true 6 | user.properties.file=C:\\Users\\David\\AppData\\Roaming\\NetBeans\\8.0.1\\build.properties 7 | -------------------------------------------------------------------------------- /src/gymsystem1/MyAdjustmentListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | 7 | package gymsystem; 8 | 9 | /** 10 | * 11 | * @author t00130990 12 | */ 13 | public class MyAdjustmentListener { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=af4e9c83 2 | build.xml.script.CRC32=dc655f4f 3 | build.xml.stylesheet.CRC32=8064a381@1.74.2.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=af4e9c83 7 | nbproject/build-impl.xml.script.CRC32=52278b93 8 | nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48 9 | -------------------------------------------------------------------------------- /src/gymsystem1/CompareNames.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | import java.util.*; 8 | /** 9 | * 10 | * @author David 11 | */ 12 | public class CompareNames implements Comparator{ 13 | public int compare(Person p1, Person p2){ 14 | return p1.getName().compareToIgnoreCase(p2.getName()); 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/G:/college/Semester2/Project%20for%20Java%20-%20David%20O'%20Connor%20-%20t00130990/GYMSystem/src/gymsystem1/GymScreen.java 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | GYMSystem 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/gymsystem1/GameClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * 12 | * @author David 13 | */ 14 | public class GameClass extends Class implements Serializable{ 15 | private int age; 16 | 17 | public int getAge() { 18 | return age; 19 | } 20 | 21 | public void setAge(int age){ 22 | this.age = age; 23 | } 24 | 25 | // keep this just in case it's needed 26 | public GameClass() { 27 | } 28 | // need this for compatibility with the way Classes are constructed in the application 29 | public GameClass(String title) { 30 | super(title); 31 | } 32 | 33 | public String toString() { 34 | return super.toString() + " Age: " + getAge(); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /dist/javadoc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/gymsystem1/gymLoadTester.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.FileInputStream; 9 | import java.io.ObjectInputStream; 10 | import java.util.ArrayList; 11 | import javax.swing.JOptionPane; 12 | 13 | /** 14 | * 15 | * @author David 16 | */ 17 | public class gymLoadTester { 18 | public static void main(String[] args) throws Exception { 19 | // get my stream object 20 | ObjectInputStream in = new ObjectInputStream(new FileInputStream("classes.dat")); 21 | 22 | ArrayList classes; 23 | // read the list from the stream object 24 | classes = (ArrayList) in.readObject(); 25 | // close the stream 26 | in.close(); 27 | 28 | // loop to display the classes nicely 29 | JOptionPane.showMessageDialog(null,classes); 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/gymsystem1/gymSaveTester.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.FileOutputStream; 9 | import java.io.ObjectOutputStream; 10 | import java.util.ArrayList; 11 | 12 | /** 13 | * 14 | * @author David 15 | */ 16 | public class gymSaveTester { 17 | public static void main(String[] args) throws Exception { 18 | // construct a fitness class 19 | FitnessClasses one = new FitnessClasses("Circuits", "running", 5, 7.5, 60, 5); 20 | FitnessClasses two = new FitnessClasses("Running", "beginners running", 6, 5.0, 30, 5); 21 | ArrayList classes = new ArrayList(); 22 | classes.add(one); 23 | classes.add(two); 24 | 25 | ObjectOutputStream os = new ObjectOutputStream(new FileOutputStream("classes.dat")); 26 | os.writeObject(classes); 27 | os.close(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/gymsystem1/PersonTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | /** 9 | * 10 | * @author David 11 | */ 12 | public class PersonTest { 13 | public static void main(String[] args) { 14 | Person p1 = new Person(); 15 | Person p2 = new Person("Mary O' Connor", 25, 'f'); 16 | 17 | //test null constructor 18 | System.out.println(p1); 19 | //test the full argument constructor 20 | System.out.println(p2); 21 | 22 | //Test the set method(Firstname) 23 | p1.setName("John"); 24 | System.out.println(p1.toString()); 25 | 26 | //Test the set method(Age) 27 | p1.setAge(21); 28 | System.out.println(p1.toString()); 29 | 30 | //Test the set method(Gender) 31 | p1.setGender('m'); 32 | System.out.println(p1.toString()); 33 | 34 | //test the get method (name) 35 | System.out.println(p1.getName()); 36 | 37 | //test the get method (Age) 38 | System.out.println(p1.getAge()); 39 | 40 | //test the get method (Gender) 41 | System.out.println(p1.getGender()); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /src/gymsystem1/Person.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | 7 | package gymsystem; 8 | 9 | import java.io.Serializable; 10 | 11 | /** 12 | * 13 | * @author t00130990 14 | */ 15 | public class Person implements Serializable{ 16 | private String name; 17 | private int age; 18 | private char gender; 19 | 20 | public Person() { 21 | setName("unknown"); 22 | setAge(0); 23 | setGender('U'); 24 | } 25 | public Person (String nm, int a, char g) { 26 | setName(nm); 27 | setAge(a); 28 | setGender(g); 29 | } 30 | 31 | public Person (String nm) { 32 | setName(nm); 33 | } 34 | 35 | public void setName(String nm){ 36 | name=nm; 37 | } 38 | 39 | public String getName(){ 40 | return name; 41 | } 42 | 43 | public void setAge(int a){ 44 | age=a; 45 | } 46 | public int getAge(){ 47 | return age; 48 | } 49 | 50 | public void setGender(char g){ 51 | gender= g; 52 | } 53 | 54 | public char getGender(){ 55 | return gender; 56 | } 57 | 58 | public String toString(){ 59 | return "First Name:"+ getName()+"\nAge:"+getAge()+"\nGender:"+getGender(); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /dist/README.TXT: -------------------------------------------------------------------------------- 1 | ======================== 2 | BUILD OUTPUT DESCRIPTION 3 | ======================== 4 | 5 | When you build an Java application project that has a main class, the IDE 6 | automatically copies all of the JAR 7 | files on the projects classpath to your projects dist/lib folder. The IDE 8 | also adds each of the JAR files to the Class-Path element in the application 9 | JAR files manifest file (MANIFEST.MF). 10 | 11 | To run the project from the command line, go to the dist folder and 12 | type the following: 13 | 14 | java -jar "GYMSystem.jar" 15 | 16 | To distribute this project, zip up the dist folder (including the lib folder) 17 | and distribute the ZIP file. 18 | 19 | Notes: 20 | 21 | * If two JAR files on the project classpath have the same name, only the first 22 | JAR file is copied to the lib folder. 23 | * Only JAR files are copied to the lib folder. 24 | If the classpath contains other types of files or folders, these files (folders) 25 | are not copied. 26 | * If a library on the projects classpath also has a Class-Path element 27 | specified in the manifest,the content of the Class-Path element has to be on 28 | the projects runtime path. 29 | * To set a main class in a standard Java project, right-click the project node 30 | in the Projects window and choose Properties. Then click Run and enter the 31 | class name in the Main Class field. Alternatively, you can manually type the 32 | class name in the manifest Main-Class element. 33 | -------------------------------------------------------------------------------- /src/gymsystem1/EquipmentTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | /** 9 | * 10 | * @author David 11 | */ 12 | public class EquipmentTest { 13 | public static void main(String[] args) { 14 | Equipment e1 = new Equipment(); 15 | Equipment e2 = new Equipment("Treadmill", "used for running", 0.0); 16 | 17 | //Test the Null Constructor 18 | System.out.println(e1); 19 | 20 | //Test the Full argument Constructor 21 | System.out.println(e2); 22 | 23 | //Test the set method(EquipmentName) 24 | e1.setEquipmentName("Treadmil"); 25 | System.out.println(e1.toString()); 26 | 27 | //Test the set method(EquipmentDescription) 28 | e1.setEquipmentDescription("Cardio machine"); 29 | System.out.println(e1.toString()); 30 | 31 | //Test the set method(EquipmentSize) 32 | e1.setEquipmentSize(123); 33 | System.out.println(e1.toString()); 34 | 35 | //test the get method (EquipmentName) 36 | System.out.println(e1.getEquipmentName()); 37 | 38 | //test the get method (EquipmentDescription) 39 | System.out.println(e1.getEquipmentDescription()); 40 | 41 | //test the get method (EquipmentSize) 42 | System.out.println(e1.getEquipmentSize()); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/gymsystem1/Equipment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * 12 | * @author David 13 | */ 14 | public class Equipment implements Serializable{ 15 | private String equipmentName; 16 | private String equipmentDescription; 17 | private double equipmentSize; 18 | 19 | public Equipment(){ 20 | setEquipmentName("unknown"); 21 | setEquipmentDescription("unknown"); 22 | setEquipmentSize(0.0); 23 | } 24 | 25 | public Equipment(String en, String ed, double es){ 26 | setEquipmentName(en); 27 | setEquipmentDescription(ed); 28 | setEquipmentSize(es); 29 | } 30 | 31 | public Equipment(String en){ 32 | setEquipmentName(en); 33 | } 34 | 35 | public void setEquipmentName(String en){ 36 | equipmentName = en; 37 | } 38 | 39 | public String getEquipmentName(){ 40 | return equipmentName; 41 | } 42 | 43 | public void setEquipmentDescription(String ed){ 44 | equipmentDescription = ed; 45 | } 46 | 47 | public String getEquipmentDescription(){ 48 | return equipmentDescription; 49 | } 50 | 51 | public void setEquipmentSize(double es){ 52 | equipmentSize = es; 53 | } 54 | 55 | public double getEquipmentSize(){ 56 | return equipmentSize; 57 | } 58 | 59 | public String toString(){ 60 | return "\nName of equipment: " + getEquipmentName() + "\nEquipment Description: " + getEquipmentDescription() + 61 | "\nSize of equipment: " + getEquipmentSize(); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /src/gymsystem1/MemberClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * 12 | * @author David 13 | */ 14 | public class MemberClass implements Serializable { 15 | Member memberName; 16 | Class className; 17 | String date; 18 | double rate; 19 | 20 | public MemberClass() { 21 | memberName = new Member(); 22 | className = new Class(); 23 | date = "no date"; 24 | rate = (0.0); 25 | } 26 | 27 | public MemberClass(Member member, Class mClass){ 28 | setMember(member); 29 | setClass(mClass); 30 | date = "no date"; 31 | } 32 | 33 | public MemberClass(Member member, Class mClass, String date, double rate){ 34 | setMember(member); 35 | setClass(mClass); 36 | setDate(date); 37 | setRate(rate); 38 | } 39 | 40 | public void setMember(Member member){ 41 | this.memberName = member; 42 | } 43 | 44 | public void setClass(Class mClass){ 45 | this.className = mClass; 46 | } 47 | 48 | public void setDate(String date){ 49 | this.date = date; 50 | } 51 | 52 | public void setRate(double rate){ 53 | this.rate = rate; 54 | } 55 | 56 | 57 | public String toString() { 58 | return "\n\nMember: " + memberName + "\nClass: " + className + 59 | "\nClass Date: " + getDate(); 60 | } 61 | 62 | public String getDate() { return date;} 63 | public Member getMember() { return memberName;} 64 | public Class getMClass() { return className;} 65 | public double getRate(){ return rate;} 66 | 67 | } 68 | -------------------------------------------------------------------------------- /src/gymsystem1/Employee.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * 12 | * @author David 13 | */ 14 | public class Employee extends Person implements Serializable { 15 | private int employeeID; 16 | private String employeeAddress; 17 | private int employeePhoneNo; 18 | private static int nextEmpID = 1; 19 | 20 | public Employee(){ 21 | super(); 22 | setEmployeeID (0); 23 | setEmployeeAddress("Unassigned"); 24 | setEmployeePhoneNo(0); 25 | } 26 | 27 | public Employee(String nm, int a, char g, String eeAddr, int pNo){ 28 | super(nm, a, g); 29 | setEmployeeID(nextEmpID); 30 | nextEmpID++; 31 | setEmployeeAddress(eeAddr); 32 | setEmployeePhoneNo(pNo); 33 | } 34 | 35 | public Employee(String nm, int eeID){ 36 | super(nm); 37 | setEmployeeID(eeID); 38 | } 39 | 40 | public void setEmployeeID(int eeID){ 41 | employeeID = eeID; 42 | } 43 | 44 | public int getEmployeeID(){ 45 | return employeeID; 46 | } 47 | 48 | public void setEmployeeAddress(String eeAddr){ 49 | employeeAddress = eeAddr; 50 | } 51 | 52 | public String getEmployeeAddress(){ 53 | return employeeAddress; 54 | } 55 | 56 | public void setEmployeePhoneNo(int pNo){ 57 | employeePhoneNo = pNo; 58 | } 59 | 60 | public int getEmployeePhoneNo(){ 61 | return employeePhoneNo; 62 | } 63 | 64 | public String toString(){ 65 | return "\n" + super.toString()+ "\nEmployee ID: " + getEmployeeID() + "\nEmployee Address: " + getEmployeeAddress()+ 66 | "\nEmployee Phone No: " + getEmployeePhoneNo(); 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /src/gymsystem1/Class.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package gymsystem; 7 | 8 | import java.io.Serializable; 9 | 10 | /** 11 | * 12 | * @author David 13 | */ 14 | public class Class implements Serializable{ 15 | private String className; 16 | private int classCapacity; 17 | private int placesTaken; 18 | 19 | public void cancelClass(){ 20 | if (placesTaken>0) 21 | placesTaken--; 22 | } 23 | 24 | public boolean takeClass(){ 25 | if (placesTaken 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 | 13 |

All Classes

14 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | gymsystem 8 | 9 | 10 | 11 | 12 | 13 |

gymsystem

14 |
15 |

Classes

16 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /dist/javadoc/allclasses-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | All Classes 8 | 9 | 10 | 11 | 12 | 13 |

All Classes

14 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processors.list= 4 | annotation.processing.run.all.processors=true 5 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 6 | application.title=GYMSystem 7 | application.vendor=t00130990 8 | build.classes.dir=${build.dir}/classes 9 | build.classes.excludes=**/*.java,**/*.form 10 | # This directory is removed when the project is cleaned: 11 | build.dir=build 12 | build.generated.dir=${build.dir}/generated 13 | build.generated.sources.dir=${build.dir}/generated-sources 14 | # Only compile against the classpath explicitly listed here: 15 | build.sysclasspath=ignore 16 | build.test.classes.dir=${build.dir}/test/classes 17 | build.test.results.dir=${build.dir}/test/results 18 | # Uncomment to specify the preferred debugger connection transport: 19 | #debug.transport=dt_socket 20 | debug.classpath=\ 21 | ${run.classpath} 22 | debug.test.classpath=\ 23 | ${run.test.classpath} 24 | # Files in build.classes.dir which should be excluded from distribution jar 25 | dist.archive.excludes= 26 | # This directory is removed when the project is cleaned: 27 | dist.dir=dist 28 | dist.jar=${dist.dir}/GYMSystem.jar 29 | dist.javadoc.dir=${dist.dir}/javadoc 30 | endorsed.classpath= 31 | excludes= 32 | includes=** 33 | jar.compress=false 34 | javac.classpath= 35 | # Space-separated list of extra javac options 36 | javac.compilerargs= 37 | javac.deprecation=false 38 | javac.processorpath=\ 39 | ${javac.classpath} 40 | javac.source=1.8 41 | javac.target=1.8 42 | javac.test.classpath=\ 43 | ${javac.classpath}:\ 44 | ${build.classes.dir} 45 | javac.test.processorpath=\ 46 | ${javac.test.classpath} 47 | javadoc.additionalparam= 48 | javadoc.author=false 49 | javadoc.encoding=${source.encoding} 50 | javadoc.noindex=false 51 | javadoc.nonavbar=false 52 | javadoc.notree=false 53 | javadoc.private=false 54 | javadoc.splitindex=true 55 | javadoc.use=true 56 | javadoc.version=false 57 | javadoc.windowtitle= 58 | main.class=gymsystem.GYMSystem 59 | manifest.file=manifest.mf 60 | meta.inf.dir=${src.dir}/META-INF 61 | mkdist.disabled=false 62 | platform.active=default_platform 63 | run.classpath=\ 64 | ${javac.classpath}:\ 65 | ${build.classes.dir} 66 | # Space-separated list of JVM arguments used when running the project. 67 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 68 | # To set system properties for unit tests define test-sys-prop.name=value: 69 | run.jvmargs= 70 | run.test.classpath=\ 71 | ${javac.test.classpath}:\ 72 | ${build.test.classes.dir} 73 | source.encoding=UTF-8 74 | src.dir=src 75 | test.src.dir=test 76 | -------------------------------------------------------------------------------- /dist/javadoc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Generated Documentation (Untitled) 8 | 60 | 61 | 62 | 63 | 64 | 65 | <noscript> 66 | <div>JavaScript is disabled on your browser.</div> 67 | </noscript> 68 | <h2>Frame Alert</h2> 69 | <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="gymsystem/package-summary.html">Non-frame version</a>.</p> 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/gymsystem1/FitnessClasses.java: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * To change this license header, choose License Headers in Project Properties. 4 | * To change this template file, choose Tools | Templates 5 | * and open the template in the editor. 6 | */ 7 | package gymsystem; 8 | 9 | import java.io.*; 10 | 11 | /** 12 | * 13 | * @author David 14 | */ 15 | public class FitnessClasses extends Class implements Serializable{ 16 | private int classID; 17 | private String activity; 18 | private double price; 19 | private double duration; 20 | private int numberOfClasses; 21 | private static int nextClassID = 1; 22 | 23 | public FitnessClasses(){ 24 | setClassName("unknown"); 25 | setClassID(0); 26 | setActivity("unknown"); 27 | setClassCapacity(0); 28 | setPrice(0.0); 29 | setDuration(0.0); 30 | setNumberOfClasses(0); 31 | //setPlacesTaken(0); 32 | } 33 | 34 | public FitnessClasses(String cn, String act, int cc, double pr, double durn, int NoCls){ 35 | setClassName(cn); 36 | setClassID(nextClassID); 37 | nextClassID++; 38 | setActivity(act); 39 | setClassCapacity(cc); 40 | setPrice(pr); 41 | setDuration(durn); 42 | setNumberOfClasses(NoCls); 43 | } 44 | 45 | public FitnessClasses(String cn, int classID){ 46 | setClassName(cn); 47 | setClassID(classID); 48 | nextClassID++; 49 | } 50 | 51 | public void setClassID(int classID){ 52 | classID = classID; 53 | } 54 | 55 | public int getClassID(){ 56 | return classID; 57 | } 58 | 59 | public void setActivity(String act){ 60 | activity = act; 61 | } 62 | 63 | public String getActivity(){ 64 | return activity; 65 | } 66 | 67 | public void setPrice(double pr){ 68 | price = pr; 69 | } 70 | 71 | public double getPrice(){ 72 | return price; 73 | } 74 | 75 | public void setDuration(double durn){ 76 | duration = durn; 77 | } 78 | 79 | public double getDuration(){ 80 | return duration; 81 | } 82 | 83 | public void setNumberOfClasses(int NoCls){ 84 | numberOfClasses = NoCls; 85 | } 86 | 87 | public int getNumberOfClasses(){ 88 | return numberOfClasses; 89 | } 90 | 91 | /*public void setPlacesTaken(int PlTaken){ 92 | placesTaken = PlTaken; 93 | } 94 | 95 | public int getPlacesTaken(){ 96 | return placesTaken; 97 | }*/ 98 | 99 | public String toString(){ 100 | return "\n" + super.toString()+ "\nActivity: " + getActivity() + 101 | "\nClass Price: " + getPrice() + "\nClass Duration: " + getDuration() + 102 | "\nNumber of Classes available: " + getNumberOfClasses(); 103 | } 104 | 105 | public static int getNextClassID() { 106 | return nextClassID; 107 | } 108 | 109 | public static void setNextMemID(int nextClassID){ 110 | FitnessClasses.nextClassID = nextClassID; 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /src/gymsystem1/Member.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | 7 | package gymsystem; 8 | 9 | import java.io.Serializable; 10 | 11 | /** 12 | * 13 | * @author t00130990 14 | */ 15 | public class Member extends Person implements Serializable{ 16 | private int memberID; 17 | private String memberAddress; 18 | private int memberPhoneNo; 19 | private String memberEmail; 20 | private String memberType; 21 | private double membershipPrice; 22 | private String startDate; 23 | private String finishDate; 24 | private static int nextMemID = 1; 25 | 26 | public Member(){ 27 | super(); 28 | setMemberID (0); 29 | setMemberAddress("Unassigned"); 30 | setMemberPhoneNo(0); 31 | setMemberEmail("Unassigned"); 32 | setMemberType("Unknown"); 33 | setMembershipPrice(0.0); 34 | setStartDate("Unassigned"); 35 | setFinishDate("Unassigned"); 36 | } 37 | 38 | public Member(String nm, int a, char g, String addr, int pNo, String eml, String memTyp, double memPrice, 39 | String sDate, String fDate){ 40 | super(nm, a, g); 41 | setMemberID(nextMemID); 42 | nextMemID++; 43 | setMemberAddress(addr); 44 | setMemberPhoneNo(pNo); 45 | setMemberEmail(eml); 46 | setMemberType(memTyp); 47 | setMembershipPrice(memPrice); 48 | setStartDate(sDate); 49 | setFinishDate(fDate); 50 | } 51 | 52 | public Member(String nm, int memID){ 53 | super(nm); 54 | setMemberID(memID); 55 | nextMemID++; 56 | } 57 | 58 | public void setMemberID(int memID){ 59 | memberID = memID; 60 | } 61 | 62 | public int getMemberID(){ 63 | return memberID; 64 | } 65 | 66 | public void setMemberAddress(String addr){ 67 | memberAddress = addr; 68 | } 69 | 70 | public String getMemberAddress(){ 71 | return memberAddress; 72 | } 73 | 74 | public void setMemberPhoneNo(int pNo){ 75 | memberPhoneNo = pNo; 76 | } 77 | 78 | public int getMemberPhoneNo(){ 79 | return memberPhoneNo; 80 | } 81 | 82 | public void setMemberEmail(String eml){ 83 | memberEmail = eml; 84 | } 85 | 86 | public String getMemberEmail(){ 87 | return memberEmail; 88 | } 89 | 90 | public void setMemberType(String memTyp){ 91 | memberType = memTyp; 92 | } 93 | 94 | public String getMemberType(){ 95 | return memberType; 96 | } 97 | 98 | public void setMembershipPrice(double memPrice){ 99 | membershipPrice = memPrice; 100 | } 101 | 102 | public double getMembershipPrice(){ 103 | return membershipPrice; 104 | } 105 | 106 | public void setStartDate(String sDate){ 107 | startDate = sDate; 108 | } 109 | 110 | public String getStartDate(){ 111 | return startDate; 112 | } 113 | 114 | public void setFinishDate(String fDate){ 115 | finishDate = fDate; 116 | } 117 | 118 | public String getFinishDate(){ 119 | return finishDate; 120 | } 121 | public String toString(){ 122 | return "\n" + super.toString()+ "\nMember ID: " + getMemberID() + "\nMember AddressL1: " + getMemberAddress()+ 123 | "\nMember Phone No: " + getMemberPhoneNo() + "\nMember Email: " + getMemberEmail() + 124 | "\nMembership Type: " + getMemberType() + "\nMembership Price: " + getMembershipPrice() + 125 | "\nMembership Start Date: " + getStartDate() + "\nMembership Finish Date: " + getFinishDate() 126 | ; 127 | } 128 | 129 | public static int getNextMemID() { 130 | return nextMemID; 131 | } 132 | 133 | public static void setNextMemID(int nextMemID){ 134 | Member.nextMemID = nextMemID; 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /dist/javadoc/deprecated-list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Deprecated List 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Deprecated API

74 |

Contents

75 |
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/constant-values.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Constant Field Values 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Constant Field Values

74 |

Contents

75 |
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/Employee.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.Employee 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.Employee

74 |
75 |
No usage of gymsystem.Employee
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/Equipment.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.Equipment 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.Equipment

74 |
75 |
No usage of gymsystem.Equipment
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/GameClass.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.GameClass 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.GameClass

74 |
75 |
No usage of gymsystem.GameClass
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/GymScreen.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.GymScreen 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.GymScreen

74 |
75 |
No usage of gymsystem.GymScreen
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/MemberTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.MemberTest 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.MemberTest

74 |
75 |
No usage of gymsystem.MemberTest
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/PersonTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.PersonTest 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.PersonTest

74 |
75 |
No usage of gymsystem.PersonTest
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/MemberClass.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.MemberClass 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.MemberClass

74 |
75 |
No usage of gymsystem.MemberClass
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/CompareNames.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.CompareNames 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.CompareNames

74 |
75 |
No usage of gymsystem.CompareNames
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/EmployeeTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.EmployeeTest 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.EmployeeTest

74 |
75 |
No usage of gymsystem.EmployeeTest
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/EquipmentTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.EquipmentTest 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.EquipmentTest

74 |
75 |
No usage of gymsystem.EquipmentTest
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/gymLoadTester.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.gymLoadTester 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.gymLoadTester

74 |
75 |
No usage of gymsystem.gymLoadTester
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/gymSaveTester.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.gymSaveTester 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.gymSaveTester

74 |
75 |
No usage of gymsystem.gymSaveTester
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/FitnessClasses.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.FitnessClasses 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.FitnessClasses

74 |
75 |
No usage of gymsystem.FitnessClasses
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/FitnessClassesTest.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.FitnessClassesTest 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.FitnessClassesTest

74 |
75 |
No usage of gymsystem.FitnessClassesTest
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/MyAdjustmentListener.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.MyAdjustmentListener 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.MyAdjustmentListener

74 |
75 |
No usage of gymsystem.MyAdjustmentListener
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 93 |
94 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Package gymsystem 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Package
gymsystem

74 |
75 |
76 | 99 |
100 | 101 |
102 | 103 | 104 | 105 | 106 | 107 | 108 | 117 |
118 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | L-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

L

76 |
77 |
loadAllData() - Method in class gymsystem.GymScreen
78 |
 
79 |
80 | A C D E F G L M P R S T 
81 | 82 |
83 | 84 | 85 | 86 | 87 | 88 | 89 | 98 |
99 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | R-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

R

76 |
77 |
removeEmployee() - Method in class gymsystem.GymScreen
78 |
 
79 |
80 | A C D E F G L M P R S T 
81 | 82 |
83 | 84 | 85 | 86 | 87 | 88 | 89 | 98 |
99 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | D-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

D

76 |
77 |
displayClass() - Method in class gymsystem.GymScreen
78 |
 
79 |
displayClassMembers() - Method in class gymsystem.GymScreen
80 |
 
81 |
displayEmployee() - Method in class gymsystem.GymScreen
82 |
 
83 |
displayEquipment() - Method in class gymsystem.GymScreen
84 |
 
85 |
displayMember() - Method in class gymsystem.GymScreen
86 |
 
87 |
88 | A C D E F G L M P R S T 
89 | 90 |
91 | 92 | 93 | 94 | 95 | 96 | 97 | 106 |
107 | 134 | 135 | 136 | 137 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | A-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

A

76 |
77 |
actionPerformed(ActionEvent) - Method in class gymsystem.GymScreen
78 |
 
79 |
addClass() - Method in class gymsystem.GymScreen
80 |
 
81 |
addEmployee() - Method in class gymsystem.GymScreen
82 |
 
83 |
addEquipment() - Method in class gymsystem.GymScreen
84 |
 
85 |
addMember() - Method in class gymsystem.GymScreen
86 |
 
87 |
available() - Method in class gymsystem.Class
88 |
 
89 |
90 | A C D E F G L M P R S T 
91 | 92 |
93 | 94 | 95 | 96 | 97 | 98 | 99 | 108 |
109 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | P-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

P

76 |
77 |
Person - Class in gymsystem
78 |
 
79 |
Person() - Constructor for class gymsystem.Person
80 |
 
81 |
Person(String, int, char) - Constructor for class gymsystem.Person
82 |
 
83 |
Person(String) - Constructor for class gymsystem.Person
84 |
 
85 |
PersonTest - Class in gymsystem
86 |
 
87 |
PersonTest() - Constructor for class gymsystem.PersonTest
88 |
 
89 |
placesLeft() - Method in class gymsystem.Class
90 |
 
91 |
92 | A C D E F G L M P R S T 
93 | 94 |
95 | 96 | 97 | 98 | 99 | 100 | 101 | 110 |
111 | 138 | 139 | 140 | 141 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | F-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

F

76 |
77 |
FitnessClasses - Class in gymsystem
78 |
 
79 |
FitnessClasses() - Constructor for class gymsystem.FitnessClasses
80 |
 
81 |
FitnessClasses(String, String, int, double, double, int) - Constructor for class gymsystem.FitnessClasses
82 |
 
83 |
FitnessClasses(String, int) - Constructor for class gymsystem.FitnessClasses
84 |
 
85 |
FitnessClassesTest - Class in gymsystem
86 |
 
87 |
FitnessClassesTest() - Constructor for class gymsystem.FitnessClassesTest
88 |
 
89 |
90 | A C D E F G L M P R S T 
91 | 92 |
93 | 94 | 95 | 96 | 97 | 98 | 99 | 108 |
109 | 136 | 137 | 138 | 139 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/Person.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.Person 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.Person

74 |
75 |
76 |
    77 |
  • 78 |
      79 |
    • 80 | 81 | 82 |

      Uses of Person in gymsystem

      83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 |
      Subclasses of Person in gymsystem 
      Modifier and TypeClass and Description
      class Employee 
      class Member 
      100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 111 | 112 | 113 |
      Methods in gymsystem with parameters of type Person 
      Modifier and TypeMethod and Description
      intCompareNames.compare(Person p1, 110 | Person p2) 
      114 |
    • 115 |
    116 |
  • 117 |
118 |
119 | 120 |
121 | 122 | 123 | 124 | 125 | 126 | 127 | 136 |
137 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | C-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

C

76 |
77 |
cancelClass() - Method in class gymsystem.Class
78 |
 
79 |
Class - Class in gymsystem
80 |
 
81 |
Class(String, int) - Constructor for class gymsystem.Class
82 |
 
83 |
Class(String) - Constructor for class gymsystem.Class
84 |
 
85 |
Class() - Constructor for class gymsystem.Class
86 |
 
87 |
compare(Person, Person) - Method in class gymsystem.CompareNames
88 |
 
89 |
CompareNames - Class in gymsystem
90 |
 
91 |
CompareNames() - Constructor for class gymsystem.CompareNames
92 |
 
93 |
94 | A C D E F G L M P R S T 
95 | 96 |
97 | 98 | 99 | 100 | 101 | 102 | 103 | 112 |
113 | 140 | 141 | 142 | 143 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | T-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

T

76 |
77 |
takeClass() - Method in class gymsystem.Class
78 |
 
79 |
toString() - Method in class gymsystem.Class
80 |
 
81 |
toString() - Method in class gymsystem.Employee
82 |
 
83 |
toString() - Method in class gymsystem.Equipment
84 |
 
85 |
toString() - Method in class gymsystem.FitnessClasses
86 |
 
87 |
toString() - Method in class gymsystem.GameClass
88 |
 
89 |
toString() - Method in class gymsystem.Member
90 |
 
91 |
toString() - Method in class gymsystem.MemberClass
92 |
 
93 |
toString() - Method in class gymsystem.Person
94 |
 
95 |
96 | A C D E F G L M P R S T 
97 | 98 |
99 | 100 | 101 | 102 | 103 | 104 | 105 | 114 |
115 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | E-Index 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
A C D E F G L M P R S T  73 | 74 | 75 |

E

76 |
77 |
Employee - Class in gymsystem
78 |
 
79 |
Employee() - Constructor for class gymsystem.Employee
80 |
 
81 |
Employee(String, int, char, String, int) - Constructor for class gymsystem.Employee
82 |
 
83 |
Employee(String, int) - Constructor for class gymsystem.Employee
84 |
 
85 |
EmployeeTest - Class in gymsystem
86 |
 
87 |
EmployeeTest() - Constructor for class gymsystem.EmployeeTest
88 |
 
89 |
Equipment - Class in gymsystem
90 |
 
91 |
Equipment() - Constructor for class gymsystem.Equipment
92 |
 
93 |
Equipment(String, String, double) - Constructor for class gymsystem.Equipment
94 |
 
95 |
Equipment(String) - Constructor for class gymsystem.Equipment
96 |
 
97 |
EquipmentTest - Class in gymsystem
98 |
 
99 |
EquipmentTest() - Constructor for class gymsystem.EquipmentTest
100 |
 
101 |
102 | A C D E F G L M P R S T 
103 | 104 |
105 | 106 | 107 | 108 | 109 | 110 | 111 | 120 |
121 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | gymsystem Class Hierarchy 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Hierarchy For Package gymsystem

74 |
75 |
76 |

Class Hierarchy

77 |
    78 |
  • java.lang.Object 79 |
      80 |
    • gymsystem.Class (implements java.io.Serializable) 81 |
        82 |
      • gymsystem.FitnessClasses (implements java.io.Serializable)
      • 83 |
      • gymsystem.GameClass (implements java.io.Serializable)
      • 84 |
      85 |
    • 86 |
    • gymsystem.CompareNames (implements java.util.Comparator<T>)
    • 87 |
    • java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) 88 |
        89 |
      • java.awt.Container 90 |
          91 |
        • java.awt.Window (implements javax.accessibility.Accessible) 92 |
            93 |
          • java.awt.Frame (implements java.awt.MenuContainer) 94 |
              95 |
            • javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants) 96 |
                97 |
              • gymsystem.GymScreen (implements java.awt.event.ActionListener)
              • 98 |
              99 |
            • 100 |
            101 |
          • 102 |
          103 |
        • 104 |
        105 |
      • 106 |
      107 |
    • 108 |
    • gymsystem.EmployeeTest
    • 109 |
    • gymsystem.Equipment (implements java.io.Serializable)
    • 110 |
    • gymsystem.EquipmentTest
    • 111 |
    • gymsystem.FitnessClassesTest
    • 112 |
    • gymsystem.gymLoadTester
    • 113 |
    • gymsystem.gymSaveTester
    • 114 |
    • gymsystem.MemberClass (implements java.io.Serializable)
    • 115 |
    • gymsystem.MemberTest
    • 116 |
    • gymsystem.MyAdjustmentListener
    • 117 |
    • gymsystem.Person (implements java.io.Serializable) 118 |
        119 |
      • gymsystem.Employee (implements java.io.Serializable)
      • 120 |
      • gymsystem.Member (implements java.io.Serializable)
      • 121 |
      122 |
    • 123 |
    • gymsystem.PersonTest
    • 124 |
    125 |
  • 126 |
127 |
128 | 129 |
130 | 131 | 132 | 133 | 134 | 135 | 136 | 145 |
146 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /dist/javadoc/gymsystem/class-use/Member.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Uses of Class gymsystem.Member 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Uses of Class
gymsystem.Member

74 |
75 |
76 |
    77 |
  • 78 |
      79 |
    • 80 | 81 | 82 |

      Uses of Member in gymsystem

      83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
      Methods in gymsystem that return Member 
      Modifier and TypeMethod and Description
      MemberMemberClass.getMember() 
      96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 |
      Methods in gymsystem with parameters of type Member 
      Modifier and TypeMethod and Description
      voidMemberClass.setMember(Member member) 
      109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 118 | 119 | 120 | 124 | 125 | 126 |
      Constructors in gymsystem with parameters of type Member 
      Constructor and Description
      MemberClass(Member member, 117 | Class mClass) 
      MemberClass(Member member, 121 | Class mClass, 122 | java.lang.String date, 123 | double rate) 
      127 |
    • 128 |
    129 |
  • 130 |
131 |
132 | 133 |
134 | 135 | 136 | 137 | 138 | 139 | 140 | 149 |
150 | 177 | 178 | 179 | 180 | -------------------------------------------------------------------------------- /dist/javadoc/overview-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Class Hierarchy 8 | 9 | 10 | 11 | 12 | 13 | 23 | 26 | 27 |
28 | 29 | 30 | 31 | 32 | 33 | 34 | 43 |
44 | 71 | 72 |
73 |

Hierarchy For All Packages

74 | Package Hierarchies: 75 | 78 |
79 |
80 |

Class Hierarchy

81 |
    82 |
  • java.lang.Object 83 |
      84 |
    • gymsystem.Class (implements java.io.Serializable) 85 |
        86 |
      • gymsystem.FitnessClasses (implements java.io.Serializable)
      • 87 |
      • gymsystem.GameClass (implements java.io.Serializable)
      • 88 |
      89 |
    • 90 |
    • gymsystem.CompareNames (implements java.util.Comparator<T>)
    • 91 |
    • java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) 92 |
        93 |
      • java.awt.Container 94 |
          95 |
        • java.awt.Window (implements javax.accessibility.Accessible) 96 |
            97 |
          • java.awt.Frame (implements java.awt.MenuContainer) 98 |
              99 |
            • javax.swing.JFrame (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants) 100 |
                101 |
              • gymsystem.GymScreen (implements java.awt.event.ActionListener)
              • 102 |
              103 |
            • 104 |
            105 |
          • 106 |
          107 |
        • 108 |
        109 |
      • 110 |
      111 |
    • 112 |
    • gymsystem.EmployeeTest
    • 113 |
    • gymsystem.Equipment (implements java.io.Serializable)
    • 114 |
    • gymsystem.EquipmentTest
    • 115 |
    • gymsystem.FitnessClassesTest
    • 116 |
    • gymsystem.gymLoadTester
    • 117 |
    • gymsystem.gymSaveTester
    • 118 |
    • gymsystem.MemberClass (implements java.io.Serializable)
    • 119 |
    • gymsystem.MemberTest
    • 120 |
    • gymsystem.MyAdjustmentListener
    • 121 |
    • gymsystem.Person (implements java.io.Serializable) 122 |
        123 |
      • gymsystem.Employee (implements java.io.Serializable)
      • 124 |
      • gymsystem.Member (implements java.io.Serializable)
      • 125 |
      126 |
    • 127 |
    • gymsystem.PersonTest
    • 128 |
    129 |
  • 130 |
131 |
132 | 133 |
134 | 135 | 136 | 137 | 138 | 139 | 140 | 149 |
150 | 177 | 178 | 179 | 180 | --------------------------------------------------------------------------------