Files
Progetto-ingegneria-del-sof…/deliverables/Coverage/htmReport/ns-13/sources/source-2.html
T
2026-06-19 22:57:43 +02:00

193 lines
5.2 KiB
HTML

<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > BorderStyle</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.View.TUI</a>
</div>
<h1>Coverage Summary for Class: BorderStyle (it.polimi.ingsw.gc14.View.TUI)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">BorderStyle</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(1/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(14/14)
</span>
</td>
<td class="coverageStat">
<span class="percent">
100%
</span>
<span class="absValue">
(22/22)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.View.TUI;
&nbsp;
&nbsp;/**
&nbsp; * Defines the available border styles used to render {@link AsciiTable}
&nbsp; * instances in the text-based user interface.
&nbsp; *
&nbsp; * &lt;p&gt;Each style stores the characters needed to draw table corners,
&nbsp; * horizontal and vertical lines, and junctions.
&nbsp; */
<b class="fc">&nbsp;@SuppressWarnings(&quot;ALL&quot;)</b>
&nbsp;public enum BorderStyle {
&nbsp;
&nbsp; /**
&nbsp; * Rounded Unicode border style.
&nbsp; */
<b class="fc">&nbsp; ROUNDED(&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;);</b>
&nbsp; /** Corner (tl/tr/bl/br), line (h/v), outer junction (ml/mr/mt/mb/x), and separator junction (sl/sr/sx) characters. */
&nbsp; private final String tl,tr,bl,br,h,v,ml,mr,mt,mb,x,sl,sr,sx;
&nbsp;
&nbsp; BorderStyle(String tl,String tr,String bl,String br,
&nbsp; String h, String v, String ml,String mr,
&nbsp; String mt,String mb,String x,
<b class="fc">&nbsp; String sl,String sr,String sx) {</b>
<b class="fc">&nbsp; this.tl = tl; this.tr = tr;</b>
<b class="fc">&nbsp; this.bl = bl; this.br = br;</b>
<b class="fc">&nbsp; this.h = h; this.v = v;</b>
<b class="fc">&nbsp; this.ml = ml; this.mr = mr;</b>
<b class="fc">&nbsp; this.mt = mt; this.mb = mb;</b>
<b class="fc">&nbsp; this.x = x;</b>
<b class="fc">&nbsp; this.sl = sl; this.sr = sr;</b>
<b class="fc">&nbsp; this.sx = sx;</b>
&nbsp; }
&nbsp;
&nbsp; /**
&nbsp; * @return the top-left corner character.
&nbsp; */
<b class="fc">&nbsp; public String tl() { return tl; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the top-right corner character.
&nbsp; */
<b class="fc">&nbsp; public String tr() { return tr; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the bottom-left corner character.
&nbsp; */
<b class="fc">&nbsp; public String bl() { return bl; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the bottom-right corner character.
&nbsp; */
<b class="fc">&nbsp; public String br() { return br; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the horizontal line character.
&nbsp; */
<b class="fc">&nbsp; public String h() { return h; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the vertical line character.
&nbsp; */
<b class="fc">&nbsp; public String v() { return v; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the top-middle junction character.
&nbsp; */
<b class="fc">&nbsp; public String mt() { return mt; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the bottom-middle junction character.
&nbsp; */
<b class="fc">&nbsp; public String mb() { return mb; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the separator-left junction character.
&nbsp; */
<b class="fc">&nbsp; public String sl() { return sl; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the separator-right junction character.
&nbsp; */
<b class="fc">&nbsp; public String sr() { return sr; }</b>
&nbsp;
&nbsp; /**
&nbsp; * @return the separator center junction character.
&nbsp; */
<b class="fc">&nbsp; public String sx() { return sx; }</b>
&nbsp;}
</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>