This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-18 12:03:32 +02:00
|
|
|
package envoy.client.ui;
|
|
|
|
|
2020-04-18 16:04:47 +02:00
|
|
|
import javafx.scene.layout.VBox;
|
|
|
|
|
2020-04-18 12:03:32 +02:00
|
|
|
import envoy.client.data.Settings;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Project: <strong>envoy-client</strong><br>
|
|
|
|
* File: <strong>GeneralSettingsPane.java</strong><br>
|
|
|
|
* Created: <strong>18.04.2020</strong><br>
|
|
|
|
*
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
public class GeneralSettingsPane extends SettingsPane {
|
|
|
|
|
|
|
|
private static final Settings settings = Settings.getInstance();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
2020-04-18 16:04:47 +02:00
|
|
|
public GeneralSettingsPane() {
|
|
|
|
super("General");
|
|
|
|
var vbox = new VBox();
|
|
|
|
for (var name : new String[] { "onCloseMode", "enterToSend" })
|
|
|
|
vbox.getChildren().add(settings.getItems().get(name).getNode());
|
|
|
|
getChildren().add(vbox);
|
|
|
|
}
|
2020-04-18 12:03:32 +02:00
|
|
|
}
|