193 lines
5.2 KiB
HTML
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"> package it.polimi.ingsw.gc14.View.TUI;
|
|
|
|
/**
|
|
* Defines the available border styles used to render {@link AsciiTable}
|
|
* instances in the text-based user interface.
|
|
*
|
|
* <p>Each style stores the characters needed to draw table corners,
|
|
* horizontal and vertical lines, and junctions.
|
|
*/
|
|
<b class="fc"> @SuppressWarnings("ALL")</b>
|
|
public enum BorderStyle {
|
|
|
|
/**
|
|
* Rounded Unicode border style.
|
|
*/
|
|
<b class="fc"> ROUNDED("╭","╮","╰","╯","─","│","├","┤","┬","┴","┼","├","┤","┼");</b>
|
|
/** Corner (tl/tr/bl/br), line (h/v), outer junction (ml/mr/mt/mb/x), and separator junction (sl/sr/sx) characters. */
|
|
private final String tl,tr,bl,br,h,v,ml,mr,mt,mb,x,sl,sr,sx;
|
|
|
|
BorderStyle(String tl,String tr,String bl,String br,
|
|
String h, String v, String ml,String mr,
|
|
String mt,String mb,String x,
|
|
<b class="fc"> String sl,String sr,String sx) {</b>
|
|
<b class="fc"> this.tl = tl; this.tr = tr;</b>
|
|
<b class="fc"> this.bl = bl; this.br = br;</b>
|
|
<b class="fc"> this.h = h; this.v = v;</b>
|
|
<b class="fc"> this.ml = ml; this.mr = mr;</b>
|
|
<b class="fc"> this.mt = mt; this.mb = mb;</b>
|
|
<b class="fc"> this.x = x;</b>
|
|
<b class="fc"> this.sl = sl; this.sr = sr;</b>
|
|
<b class="fc"> this.sx = sx;</b>
|
|
}
|
|
|
|
/**
|
|
* @return the top-left corner character.
|
|
*/
|
|
<b class="fc"> public String tl() { return tl; }</b>
|
|
|
|
/**
|
|
* @return the top-right corner character.
|
|
*/
|
|
<b class="fc"> public String tr() { return tr; }</b>
|
|
|
|
/**
|
|
* @return the bottom-left corner character.
|
|
*/
|
|
<b class="fc"> public String bl() { return bl; }</b>
|
|
|
|
/**
|
|
* @return the bottom-right corner character.
|
|
*/
|
|
<b class="fc"> public String br() { return br; }</b>
|
|
|
|
/**
|
|
* @return the horizontal line character.
|
|
*/
|
|
<b class="fc"> public String h() { return h; }</b>
|
|
|
|
/**
|
|
* @return the vertical line character.
|
|
*/
|
|
<b class="fc"> public String v() { return v; }</b>
|
|
|
|
/**
|
|
* @return the top-middle junction character.
|
|
*/
|
|
<b class="fc"> public String mt() { return mt; }</b>
|
|
|
|
/**
|
|
* @return the bottom-middle junction character.
|
|
*/
|
|
<b class="fc"> public String mb() { return mb; }</b>
|
|
|
|
/**
|
|
* @return the separator-left junction character.
|
|
*/
|
|
<b class="fc"> public String sl() { return sl; }</b>
|
|
|
|
/**
|
|
* @return the separator-right junction character.
|
|
*/
|
|
<b class="fc"> public String sr() { return sr; }</b>
|
|
|
|
/**
|
|
* @return the separator center junction character.
|
|
*/
|
|
<b class="fc"> public String sx() { return sx; }</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>
|