chore: use tab instead of spaces
This commit is contained in:
parent
ff0be945cd
commit
062880407b
18 changed files with 229 additions and 223 deletions
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||||
<component name="GradleSettings">
|
<component name="GradleSettings">
|
||||||
<option name="linkedExternalProjectsSettings">
|
<option name="linkedExternalProjectsSettings">
|
||||||
<GradleProjectSettings>
|
<GradleProjectSettings>
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class MainApp extends Application {
|
||||||
Scene scene = new Scene(root);
|
Scene scene = new Scene(root);
|
||||||
scene.getStylesheets().add(getClass().getResource("styles.css").toExternalForm());
|
scene.getStylesheets().add(getClass().getResource("styles.css").toExternalForm());
|
||||||
|
|
||||||
stage.setTitle("JavaFX and Gradle");
|
stage.setTitle("Clavardator");
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.show();
|
stage.show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,8 +30,10 @@ public class DatabaseController extends Thread {
|
||||||
|
|
||||||
private interface UsersCallback {
|
private interface UsersCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
private interface HistoryCallback {
|
private interface HistoryCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
private interface MessageCallback {
|
private interface MessageCallback {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public class NetworkConnection implements Runnable, Observable {
|
||||||
|
|
||||||
public interface MessageCallback {
|
public interface MessageCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface BroadcastCallback {
|
public interface BroadcastCallback {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@ public class User implements Observable {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addListener(InvalidationListener listener) {
|
public void addListener(InvalidationListener listener) {
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.control.*?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.layout.*?>
|
<?import javafx.scene.layout.BorderPane?>
|
||||||
|
<?import javafx.scene.layout.StackPane?>
|
||||||
<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.insa.clavardator.FXMLController">
|
<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0"
|
||||||
|
prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1"
|
||||||
|
fx:controller="fr.insa.clavardator.FXMLController">
|
||||||
<children>
|
<children>
|
||||||
<Label fx:id="label" text="Label" />
|
<Label fx:id="label" stylesheets="@styles.css" text="Label" textAlignment="CENTER"/>
|
||||||
<BorderPane prefHeight="200.0" prefWidth="200.0">
|
<BorderPane prefHeight="200.0" prefWidth="200.0">
|
||||||
<top>
|
<top>
|
||||||
<BorderPane prefHeight="11.0" prefWidth="368.0" BorderPane.alignment="CENTER" />
|
<BorderPane prefHeight="11.0" prefWidth="368.0" BorderPane.alignment="CENTER"/>
|
||||||
</top>
|
</top>
|
||||||
</BorderPane>
|
</BorderPane>
|
||||||
</children>
|
</children>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
.label {
|
.label {
|
||||||
-fx-text-fill: blue;
|
-fx-text-fill: #5c8d7b;
|
||||||
|
-fx-text-alignment: center;
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
package fr.insa.clavardator;
|
package fr.insa.clavardator;
|
||||||
|
|
||||||
import fr.insa.clavardator.TestClass;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
// See here: https://junit.org/junit5/docs/current/user-guide/#overview
|
// See here: https://junit.org/junit5/docs/current/user-guide/#overview
|
||||||
|
|
Loading…
Reference in a new issue