Comments all Files with Creator name

This commit is contained in:
Alex Aleksej Rechtin 2022-01-25 11:14:16 +01:00
parent b963a53d85
commit 898054bb63
27 changed files with 49 additions and 1 deletions

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package customUI;
public class Button extends javafx.scene.control.Button {

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package customUI;
public class Converter {

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package customUI;
public class Label extends javafx.scene.control.Label {

View File

@ -1,3 +1,4 @@
//Marco Kühn//
package customUI;
public class Tooltip extends javafx.scene.control.Tooltip {

View File

@ -1,3 +1,4 @@
//Marco Kühn//
package helper;
import javafx.geometry.Bounds;

View File

@ -42,6 +42,7 @@ public class CreateEventController {
public CreateEventController() {
}
//Marco Kühn//
@FXML
public void initialize() {
@ -53,7 +54,7 @@ public class CreateEventController {
timeEnd.setConverter(defaultConverter);
}
//Marc Beyer//
@FXML
protected void createBtnClick(ActionEvent actionEvent) {
try {
@ -85,11 +86,13 @@ public class CreateEventController {
}
}
//Marc Beyer//
protected void sendHttpRequest(Event event) throws HttpRequestException {
DataController dataController = new DataController();
dataController.createEvent(event);
}
//Marc Beyer//
@FXML
protected void abortBtnClick(ActionEvent event) {
Stage stage = (Stage) ((Node) event.getSource()).getScene().getWindow();

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package main;
import customUI.Converter;

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package main;
import config.Config;
@ -12,6 +13,7 @@ import res.HttpRequest;
import java.io.IOException;
import java.util.Objects;
public class MainApplication extends Application {
@Override
public void start(Stage stage) throws IOException {

View File

@ -58,6 +58,7 @@ public class MainController {
}
@FXML
//Marco Kühn,Marc Beyer//
public void initialize() {
createWeek();
setDates();
@ -66,6 +67,7 @@ public class MainController {
leftNav.setSpacing(40);
}
//Marc Beyer//
private void updateEvents() {
for (VBox vBox : dayVBoxes) {
vBox.getChildren().clear();
@ -83,6 +85,7 @@ public class MainController {
}
}
//Marc Beyer//
@FXML
protected void onBackClick() {
weekOffset--;
@ -90,6 +93,7 @@ public class MainController {
updateEvents();
}
//Marc Beyer//
@FXML
protected void onTodayClick() {
weekOffset = 0;
@ -97,6 +101,7 @@ public class MainController {
updateEvents();
}
//Marc Beyer//
@FXML
protected void onNextClick() {
weekOffset++;
@ -104,6 +109,8 @@ public class MainController {
updateEvents();
}
//Marco Kühn,Marc Beyer//
@FXML
protected void onAddBtnClick() {
try {
@ -125,10 +132,12 @@ public class MainController {
updateEvents();
}
//Marco Kühn//
protected void onSettingBtnClick(){
}
//Marc Beyer//
protected void onLogoutBtnClick(ActionEvent event){
ConfigLoader.save(new Config());
DataController.USER_ID = -1;
@ -137,6 +146,7 @@ public class MainController {
stage.close();
}
//Marc Beyer//
private void createWeek() {
for (int i = 0; i < 7; i++) {
Label label = new Label();
@ -164,6 +174,7 @@ public class MainController {
}
}
//Marco Kühn ,Marc Beyer//
private void addEvent(Event event) {
VBox vBox = new VBox();
vBox.getStyleClass().add("event");
@ -253,6 +264,7 @@ public class MainController {
}
}
//Marc Beyer//
private String formatTime(String time) {
String[] timeArr = time.split(":");
if (timeArr.length > 2) {
@ -261,6 +273,7 @@ public class MainController {
return time;
}
//Marc Beyer//
private void setDates() {
DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("LLLL yyyy");
DateTimeFormatter dayFormatter = DateTimeFormatter.ofPattern("E dd.MM");
@ -279,6 +292,7 @@ public class MainController {
}
//Marco Kühn//
private void createBtns(){
Group svgAdd = new Group(
SvgBtnCreator.createPath("M0 0h24v24H0z", "transparent", "transparent"),

View File

@ -1,3 +1,4 @@
//Alex Rechtin//
package users;
import javafx.event.ActionEvent;

View File

@ -1,3 +1,4 @@
//Alex Rechtin//
package users;
import com.jfoenix.controls.*;

View File

@ -1,3 +1,4 @@
/*Marco Kühn*/
GridPane{
-fx-background-color: #3E415F;
-fx-padding: 20px;

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Marco Kühn -->
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Marco Kühn -->
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>

View File

@ -1,3 +1,4 @@
/*Alex Rechtin, Marco Kühn*/
* {
-fx-base-background-color: #2B2D42;
-fx-base1-background-color: #525E74;

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Alex Rechtin, Marco Kühn -->
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>

View File

@ -1,3 +1,4 @@
/*Alex Rechtin*/
* {
-fx-base-background-color: #2B2D42;
-fx-base1-background-color: #525E74;

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Alex Rechtin -->
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?>

View File

@ -1,3 +1,4 @@
/* Marco Kühn*/
* {
-fx-base-background-color: #2B2D42;
-fx-base1-background-color: #525E74;

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Marco Kühn -->
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import com.jfoenix.controls.*?>

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package config;
public class Config {

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package config;
import com.fasterxml.jackson.databind.ObjectMapper;

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package helper;
public class HttpRequestException extends Exception{

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package helper;
public class Tuple<X, Y> {

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package res;
import com.fasterxml.jackson.core.JsonProcessingException;

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package res;
import com.sun.jdi.event.StepEvent;

View File

@ -1,3 +1,4 @@
//Marc Beyer//
package res;
import helper.Tuple;