You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
1.7 KiB
92 lines
1.7 KiB
6 years ago
|
package xyz.wbsite.dbtool.javafx.ctrl;
|
||
|
|
||
|
import javafx.fxml.FXML;
|
||
|
import javafx.scene.control.Button;
|
||
|
import javafx.scene.control.ChoiceBox;
|
||
|
import javafx.scene.control.TextField;
|
||
|
|
||
|
public class ConnectInfoController {
|
||
|
|
||
|
@FXML
|
||
|
private ChoiceBox databaseType;
|
||
|
@FXML
|
||
|
private TextField driver;
|
||
|
@FXML
|
||
|
private TextField url;
|
||
|
@FXML
|
||
|
private TextField userName;
|
||
|
@FXML
|
||
|
private TextField password;
|
||
|
|
||
|
@FXML
|
||
|
private Button test;
|
||
|
@FXML
|
||
|
private Button load;
|
||
|
@FXML
|
||
|
private Button cancel;
|
||
|
|
||
|
public ChoiceBox getDatabaseType() {
|
||
|
return databaseType;
|
||
|
}
|
||
|
|
||
|
public void setDatabaseType(ChoiceBox databaseType) {
|
||
|
this.databaseType = databaseType;
|
||
|
}
|
||
|
|
||
|
public TextField getUrl() {
|
||
|
return url;
|
||
|
}
|
||
|
|
||
|
public void setUrl(TextField url) {
|
||
|
this.url = url;
|
||
|
}
|
||
|
|
||
|
public TextField getUserName() {
|
||
|
return userName;
|
||
|
}
|
||
|
|
||
|
public TextField getDriver() {
|
||
|
return driver;
|
||
|
}
|
||
|
|
||
|
public void setDriver(TextField driver) {
|
||
|
this.driver = driver;
|
||
|
}
|
||
|
|
||
|
public void setUserName(TextField userName) {
|
||
|
this.userName = userName;
|
||
|
}
|
||
|
|
||
|
public TextField getPassword() {
|
||
|
return password;
|
||
|
}
|
||
|
|
||
|
public void setPassword(TextField password) {
|
||
|
this.password = password;
|
||
|
}
|
||
|
|
||
|
public Button getTest() {
|
||
|
return test;
|
||
|
}
|
||
|
|
||
|
public void setTest(Button test) {
|
||
|
this.test = test;
|
||
|
}
|
||
|
|
||
|
public Button getLoad() {
|
||
|
return load;
|
||
|
}
|
||
|
|
||
|
public void setLoad(Button load) {
|
||
|
this.load = load;
|
||
|
}
|
||
|
|
||
|
public Button getCancel() {
|
||
|
return cancel;
|
||
|
}
|
||
|
|
||
|
public void setCancel(Button cancel) {
|
||
|
this.cancel = cancel;
|
||
|
}
|
||
|
}
|