2020-04-19 19:57:40 +02:00
|
|
|
package envoy.client.ui.settings;
|
2020-04-18 11:03:06 +02:00
|
|
|
|
2020-08-01 09:43:15 +02:00
|
|
|
import javafx.scene.layout.VBox;
|
2020-04-18 11:03:06 +02:00
|
|
|
|
2020-10-07 23:43:30 +02:00
|
|
|
import envoy.client.data.*;
|
2020-07-27 22:52:43 +02:00
|
|
|
|
2020-04-18 11:03:06 +02:00
|
|
|
/**
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
2020-08-02 20:26:22 +02:00
|
|
|
public abstract class SettingsPane extends VBox {
|
2020-04-18 11:03:06 +02:00
|
|
|
|
|
|
|
protected String title;
|
|
|
|
|
2020-10-07 23:43:30 +02:00
|
|
|
protected static final Settings settings = Settings.getInstance();
|
|
|
|
protected static final Context context = Context.getInstance();
|
2020-07-27 22:52:43 +02:00
|
|
|
|
2020-10-19 18:17:51 +02:00
|
|
|
protected SettingsPane(String title) {
|
|
|
|
this.title = title;
|
|
|
|
}
|
2020-04-18 12:03:32 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return the title of this settings pane
|
|
|
|
* @since Envoy Client v0.1-beta
|
|
|
|
*/
|
|
|
|
public String getTitle() { return title; }
|
2020-04-18 11:03:06 +02:00
|
|
|
}
|