-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTableCells.java
43 lines (32 loc) · 1.02 KB
/
TableCells.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.databasePoject;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
public class TableCells {
private SimpleStringProperty university;
private SimpleIntegerProperty points;
public TableCells(String university) {
this.university = new SimpleStringProperty(university);
}
public TableCells(String university, int points) {
this.university = new SimpleStringProperty(university);
this.points = new SimpleIntegerProperty(points);
}
public SimpleStringProperty getUniversity() {
return university;
}
public SimpleStringProperty universityProperty() {
return university;
}
public void setUniversity(String university) {
this.university.set(university);
}
public Integer getPoints() {
return points.get();
}
public SimpleIntegerProperty pointsProperty() {
return points;
}
public void setPoints(int points) {
this.points.set(points);
}
}