165 lines
3.8 KiB
HTML
165 lines
3.8 KiB
HTML
|
|
|
|
|
|
<!DOCTYPE html>
|
|
<html id="htmlId">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>Coverage Report > ClientLauncherGUI</title>
|
|
<style type="text/css">
|
|
@import "../../css/coverage.css";
|
|
@import "../../css/idea.min.css";
|
|
</style>
|
|
<script type="text/javascript" src="../../js/highlight.min.js"></script>
|
|
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="content">
|
|
<div class="breadCrumbs">
|
|
Current scope: <a href="../../index.html">all classes</a>
|
|
<span class="separator">|</span>
|
|
<a href="../index.html">it.polimi.ingsw.gc14</a>
|
|
</div>
|
|
|
|
<h1>Coverage Summary for Class: ClientLauncherGUI (it.polimi.ingsw.gc14)</h1>
|
|
|
|
<table class="coverageStats">
|
|
|
|
<tr>
|
|
<th class="name">Class</th>
|
|
<th class="coverageStat
|
|
">
|
|
Method, %
|
|
</th>
|
|
<th class="coverageStat
|
|
">
|
|
Line, %
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="name">ClientLauncherGUI</td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/2)
|
|
</span>
|
|
</td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/4)
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="name">ClientLauncherGUI$GUIApp</td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/2)
|
|
</span>
|
|
</td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/5)
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="name"><strong>Total</strong></td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/4)
|
|
</span>
|
|
</td>
|
|
<td class="coverageStat">
|
|
<span class="percent">
|
|
0%
|
|
</span>
|
|
<span class="absValue">
|
|
(0/9)
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br/>
|
|
<br/>
|
|
|
|
|
|
<pre>
|
|
<code class="sourceCode" id="sourceCode"> package it.polimi.ingsw.gc14;
|
|
|
|
import it.polimi.ingsw.gc14.Controller.ClientController;
|
|
import it.polimi.ingsw.gc14.View.GUI.GUI;
|
|
import javafx.application.Application;
|
|
import javafx.stage.Stage;
|
|
|
|
/** Entry point for launching the game client with the JavaFX GUI. */
|
|
<b class="nc"> public class ClientLauncherGUI {</b>
|
|
|
|
/**
|
|
* Launches the GUI application.
|
|
*
|
|
* @param args command-line arguments passed to the JavaFX runtime.
|
|
*/
|
|
static void main(String[] args) {
|
|
<b class="nc"> System.setProperty("glass.gtk.uiScale", "1.0");</b>
|
|
<b class="nc"> System.setProperty("glass.win.uiScale", "1.0");</b>
|
|
<b class="nc"> Application.launch(GUIApp.class, args);</b>
|
|
}
|
|
/**
|
|
* Inner {@link Application} subclass that wires the GUI to the client controller
|
|
* and hands off control to {@link GUI#start(Stage)}.
|
|
*/
|
|
<b class="nc"> public static class GUIApp extends Application {</b>
|
|
@Override
|
|
public void start(Stage stage) throws Exception {
|
|
<b class="nc"> GUI view = new GUI();</b>
|
|
<b class="nc"> ClientController controller = new ClientController(view);</b>
|
|
<b class="nc"> view.setController(controller);</b>
|
|
<b class="nc"> view.start(stage);</b>
|
|
}
|
|
}
|
|
}
|
|
</code>
|
|
</pre>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function() {
|
|
var msie = false, msie9 = false;
|
|
/*@cc_on
|
|
msie = true;
|
|
@if (@_jscript_version >= 9)
|
|
msie9 = true;
|
|
@end
|
|
@*/
|
|
|
|
if (!msie || msie && msie9) {
|
|
hljs.highlightAll()
|
|
hljs.initLineNumbersOnLoad();
|
|
}
|
|
})();
|
|
</script>
|
|
|
|
<div class="footer">
|
|
|
|
<div style="float:right;">generated on 2026-06-19 22:53</div>
|
|
</div>
|
|
</body>
|
|
</html>
|