IColorCenter.html 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>IColorCenter (squidlib-util 3.0.0-SNAPSHOT)</title>
  8. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="IColorCenter (squidlib-util 3.0.0-SNAPSHOT)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/IColorCenter.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../index-files/index-1.html">Index</a></li>
  47. <li><a href="../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../squidpony/GwtCompatibility.html" title="class in squidpony"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../squidpony/IColorCenter.Skeleton.html" title="class in squidpony"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../index.html?squidpony/IColorCenter.html" target="_top">Frames</a></li>
  57. <li><a href="IColorCenter.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  78. <li>Field&nbsp;|&nbsp;</li>
  79. <li>Constr&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li>Field&nbsp;|&nbsp;</li>
  85. <li>Constr&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">squidpony</div>
  96. <h2 title="Interface IColorCenter" class="title">Interface IColorCenter&lt;T&gt;</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <div class="description">
  100. <ul class="blockList">
  101. <li class="blockList">
  102. <dl>
  103. <dt><span class="paramLabel">Type Parameters:</span></dt>
  104. <dd><code>T</code> - The concrete type of colors</dd>
  105. </dl>
  106. <dl>
  107. <dt>All Known Implementing Classes:</dt>
  108. <dd><a href="../squidpony/IColorCenter.Skeleton.html" title="class in squidpony">IColorCenter.Skeleton</a></dd>
  109. </dl>
  110. <hr>
  111. <br>
  112. <pre>public interface <a href="../src-html/squidpony/IColorCenter.html#line.38">IColorCenter</a>&lt;T&gt;</pre>
  113. <div class="block">How to manage colors, making sure that a color is allocated at most once.
  114. <p>
  115. If you aren't using squidlib's gdx part, you should use this interface (and
  116. the <a href="../squidpony/IColorCenter.Skeleton.html" title="class in squidpony"><code>IColorCenter.Skeleton</code></a> implementation), because it caches instances.
  117. </p>
  118. <p>
  119. If you are using squidlib's gdx part, you should use this interface (and the
  120. <code>SquidColorCenter</code> implementation) if:
  121. <ul>
  122. <li>You don't want to use preallocated instances (if you do, check out
  123. <code>squidpony.squidgrid.gui.Colors</code>)</li>
  124. <li>You don't want to use named colors (if you do, check out
  125. <code>com.badlogic.gdx.graphics.Colors</code>)</li>
  126. <li>You don't like libgdx's Color representation (components as floats
  127. in-between 0 and 1) but prefer components within 0 (inclusive) and 256
  128. (exclusive); and don't mind the overhead of switching the representations. My
  129. personal opinion is that the overhead doesn't matter w.r.t other intensive
  130. operations that we have in roguelikes (path finding).</li>
  131. </ul></div>
  132. <dl>
  133. <dt><span class="simpleTagLabel">Author:</span></dt>
  134. <dd>smelC</dd>
  135. </dl>
  136. </li>
  137. </ul>
  138. </div>
  139. <div class="summary">
  140. <ul class="blockList">
  141. <li class="blockList">
  142. <!-- ======== NESTED CLASS SUMMARY ======== -->
  143. <ul class="blockList">
  144. <li class="blockList"><a name="nested.class.summary">
  145. <!-- -->
  146. </a>
  147. <h3>Nested Class Summary</h3>
  148. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
  149. <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
  150. <tr>
  151. <th class="colFirst" scope="col">Modifier and Type</th>
  152. <th class="colLast" scope="col">Interface and Description</th>
  153. </tr>
  154. <tr class="altColor">
  155. <td class="colFirst"><code>static class&nbsp;</code></td>
  156. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.Skeleton.html" title="class in squidpony">IColorCenter.Skeleton</a>&lt;<a href="../squidpony/IColorCenter.Skeleton.html" title="type parameter in IColorCenter.Skeleton">T</a>&gt;</span></code>
  157. <div class="block">A skeletal implementation of <a href="../squidpony/IColorCenter.html" title="interface in squidpony"><code>IColorCenter</code></a>.</div>
  158. </td>
  159. </tr>
  160. </table>
  161. </li>
  162. </ul>
  163. <!-- ========== METHOD SUMMARY =========== -->
  164. <ul class="blockList">
  165. <li class="blockList"><a name="method.summary">
  166. <!-- -->
  167. </a>
  168. <h3>Method Summary</h3>
  169. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  170. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  171. <tr>
  172. <th class="colFirst" scope="col">Modifier and Type</th>
  173. <th class="colLast" scope="col">Method and Description</th>
  174. </tr>
  175. <tr id="i0" class="altColor">
  176. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#desaturate-T-float-">desaturate</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color,
  178. float&nbsp;degree)</code>
  179. <div class="block">Brings a color closer to grayscale by the specified degree and returns the new color (desaturated somewhat).</div>
  180. </td>
  181. </tr>
  182. <tr id="i1" class="rowColor">
  183. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#desaturated-T-">desaturated</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color)</code>
  185. <div class="block">Gets a fully-desaturated version of the given color (keeping its brightness, but making it grayscale).</div>
  186. </td>
  187. </tr>
  188. <tr id="i2" class="altColor">
  189. <td class="colFirst"><code><a href="../squidpony/panel/IColoredString.html" title="interface in squidpony.panel">IColoredString</a>&lt;<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&gt;</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#filter-squidpony.panel.IColoredString-">filter</a></span>(<a href="../squidpony/panel/IColoredString.html" title="interface in squidpony.panel">IColoredString</a>&lt;<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&gt;&nbsp;ics)</code>&nbsp;</td>
  191. </tr>
  192. <tr id="i3" class="rowColor">
  193. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#filter-T-">filter</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  195. </tr>
  196. <tr id="i4" class="altColor">
  197. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#get-int-int-int-">get</a></span>(int&nbsp;red,
  199. int&nbsp;green,
  200. int&nbsp;blue)</code>&nbsp;</td>
  201. </tr>
  202. <tr id="i5" class="rowColor">
  203. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  204. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#get-int-int-int-int-">get</a></span>(int&nbsp;red,
  205. int&nbsp;green,
  206. int&nbsp;blue,
  207. int&nbsp;opacity)</code>&nbsp;</td>
  208. </tr>
  209. <tr id="i6" class="altColor">
  210. <td class="colFirst"><code>int</code></td>
  211. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getAlpha-T-">getAlpha</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  212. </tr>
  213. <tr id="i7" class="rowColor">
  214. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  215. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getBlack--">getBlack</a></span>()</code>&nbsp;</td>
  216. </tr>
  217. <tr id="i8" class="altColor">
  218. <td class="colFirst"><code>int</code></td>
  219. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getBlue-T-">getBlue</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  220. </tr>
  221. <tr id="i9" class="rowColor">
  222. <td class="colFirst"><code>int</code></td>
  223. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getGreen-T-">getGreen</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  224. </tr>
  225. <tr id="i10" class="altColor">
  226. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  227. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getHSV-float-float-float-">getHSV</a></span>(float&nbsp;hue,
  228. float&nbsp;saturation,
  229. float&nbsp;value)</code>&nbsp;</td>
  230. </tr>
  231. <tr id="i11" class="rowColor">
  232. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  233. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getHSV-float-float-float-float-">getHSV</a></span>(float&nbsp;hue,
  234. float&nbsp;saturation,
  235. float&nbsp;value,
  236. float&nbsp;opacity)</code>&nbsp;</td>
  237. </tr>
  238. <tr id="i12" class="altColor">
  239. <td class="colFirst"><code>float</code></td>
  240. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getHue-T-">getHue</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  241. </tr>
  242. <tr id="i13" class="rowColor">
  243. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  244. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getRandom-squidpony.squidmath.RNG-int-">getRandom</a></span>(<a href="../squidpony/squidmath/RNG.html" title="class in squidpony.squidmath">RNG</a>&nbsp;rng,
  245. int&nbsp;opacity)</code>&nbsp;</td>
  246. </tr>
  247. <tr id="i14" class="altColor">
  248. <td class="colFirst"><code>int</code></td>
  249. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getRed-T-">getRed</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  250. </tr>
  251. <tr id="i15" class="rowColor">
  252. <td class="colFirst"><code>float</code></td>
  253. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getSaturation-T-">getSaturation</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  254. </tr>
  255. <tr id="i16" class="altColor">
  256. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  257. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getTransparent--">getTransparent</a></span>()</code>&nbsp;</td>
  258. </tr>
  259. <tr id="i17" class="rowColor">
  260. <td class="colFirst"><code>float</code></td>
  261. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getValue-T-">getValue</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</code>&nbsp;</td>
  262. </tr>
  263. <tr id="i18" class="altColor">
  264. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  265. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#getWhite--">getWhite</a></span>()</code>&nbsp;</td>
  266. </tr>
  267. <tr id="i19" class="rowColor">
  268. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  269. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#greify-T-boolean-">greify</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;t,
  270. boolean&nbsp;doAlpha)</code>
  271. <div class="block">Gets a copy of t and modifies it to make a shade of gray with the same brightness.</div>
  272. </td>
  273. </tr>
  274. <tr id="i20" class="altColor">
  275. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  276. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#lerp-T-T-float-">lerp</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;start,
  277. <a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;end,
  278. float&nbsp;change)</code>
  279. <div class="block">Gets the linear interpolation from Color start to Color end, changing by the fraction given by change.</div>
  280. </td>
  281. </tr>
  282. <tr id="i21" class="rowColor">
  283. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  284. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#saturate-T-float-">saturate</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color,
  285. float&nbsp;degree)</code>
  286. <div class="block">Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and
  287. returns the new color (saturated somewhat).</div>
  288. </td>
  289. </tr>
  290. <tr id="i22" class="altColor">
  291. <td class="colFirst"><code><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a></code></td>
  292. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/IColorCenter.html#saturated-T-">saturated</a></span>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color)</code>
  293. <div class="block">Fully saturates color (makes it a vivid color like red or green and less gray) and returns the modified copy.</div>
  294. </td>
  295. </tr>
  296. </table>
  297. </li>
  298. </ul>
  299. </li>
  300. </ul>
  301. </div>
  302. <div class="details">
  303. <ul class="blockList">
  304. <li class="blockList">
  305. <!-- ============ METHOD DETAIL ========== -->
  306. <ul class="blockList">
  307. <li class="blockList"><a name="method.detail">
  308. <!-- -->
  309. </a>
  310. <h3>Method Detail</h3>
  311. <a name="get-int-int-int-int-">
  312. <!-- -->
  313. </a>
  314. <ul class="blockList">
  315. <li class="blockList">
  316. <h4>get</h4>
  317. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.55">get</a>(int&nbsp;red,
  318. int&nbsp;green,
  319. int&nbsp;blue,
  320. int&nbsp;opacity)</pre>
  321. <dl>
  322. <dt><span class="paramLabel">Parameters:</span></dt>
  323. <dd><code>red</code> - The red component. For screen colors, in-between 0 (inclusive)
  324. and 256 (exclusive).</dd>
  325. <dd><code>green</code> - The green component. For screen colors, in-between 0 (inclusive)
  326. and 256 (exclusive).</dd>
  327. <dd><code>blue</code> - The blue component. For screen colors, in-between 0 (inclusive)
  328. and 256 (exclusive).</dd>
  329. <dd><code>opacity</code> - The alpha component. In-between 0 (inclusive) and 256
  330. (exclusive). Larger values mean more opacity; 0 is clear.</dd>
  331. <dt><span class="returnLabel">Returns:</span></dt>
  332. <dd>A possibly transparent color.</dd>
  333. </dl>
  334. </li>
  335. </ul>
  336. <a name="get-int-int-int-">
  337. <!-- -->
  338. </a>
  339. <ul class="blockList">
  340. <li class="blockList">
  341. <h4>get</h4>
  342. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.69">get</a>(int&nbsp;red,
  343. int&nbsp;green,
  344. int&nbsp;blue)</pre>
  345. <dl>
  346. <dt><span class="paramLabel">Parameters:</span></dt>
  347. <dd><code>red</code> - The red component. For screen colors, in-between 0 (inclusive)
  348. and 256 (exclusive).</dd>
  349. <dd><code>green</code> - The green component. For screen colors, in-between 0 (inclusive)
  350. and 256 (exclusive).</dd>
  351. <dd><code>blue</code> - The blue component. For screen colors, in-between 0 (inclusive)
  352. and 256 (exclusive).</dd>
  353. <dt><span class="returnLabel">Returns:</span></dt>
  354. <dd>An opaque color.</dd>
  355. </dl>
  356. </li>
  357. </ul>
  358. <a name="getHSV-float-float-float-float-">
  359. <!-- -->
  360. </a>
  361. <ul class="blockList">
  362. <li class="blockList">
  363. <h4>getHSV</h4>
  364. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.84">getHSV</a>(float&nbsp;hue,
  365. float&nbsp;saturation,
  366. float&nbsp;value,
  367. float&nbsp;opacity)</pre>
  368. <dl>
  369. <dt><span class="paramLabel">Parameters:</span></dt>
  370. <dd><code>hue</code> - The hue of the desired color from 0.0 (red, inclusive) towards orange, then
  371. yellow, and eventually to purple before looping back to almost the same red
  372. (1.0, exclusive)</dd>
  373. <dd><code>saturation</code> - the saturation of the color from 0.0 (a grayscale color; inclusive)
  374. to 1.0 (a bright color, exclusive)</dd>
  375. <dd><code>value</code> - the value (essentially lightness) of the color from 0.0 (black,
  376. inclusive) to 1.0 (inclusive) for screen colors or arbitrarily high
  377. for HDR colors.</dd>
  378. <dd><code>opacity</code> - the alpha component as a float; 0.0f is clear, 1.0f is opaque.</dd>
  379. <dt><span class="returnLabel">Returns:</span></dt>
  380. <dd>a possibly transparent color</dd>
  381. </dl>
  382. </li>
  383. </ul>
  384. <a name="getHSV-float-float-float-">
  385. <!-- -->
  386. </a>
  387. <ul class="blockList">
  388. <li class="blockList">
  389. <h4>getHSV</h4>
  390. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.98">getHSV</a>(float&nbsp;hue,
  391. float&nbsp;saturation,
  392. float&nbsp;value)</pre>
  393. <dl>
  394. <dt><span class="paramLabel">Parameters:</span></dt>
  395. <dd><code>hue</code> - The hue of the desired color from 0.0 (red, inclusive) towards orange, then
  396. yellow, and eventually to purple before looping back to almost the same red
  397. (1.0, exclusive)</dd>
  398. <dd><code>saturation</code> - the saturation of the color from 0.0 (a grayscale color; inclusive)
  399. to 1.0 (a bright color, exclusive)</dd>
  400. <dd><code>value</code> - the value (essentially lightness) of the color from 0.0 (black,
  401. inclusive) to 1.0 (inclusive) for screen colors or arbitrarily high
  402. for HDR colors.</dd>
  403. <dt><span class="returnLabel">Returns:</span></dt>
  404. <dd>an opaque color</dd>
  405. </dl>
  406. </li>
  407. </ul>
  408. <a name="getWhite--">
  409. <!-- -->
  410. </a>
  411. <ul class="blockList">
  412. <li class="blockList">
  413. <h4>getWhite</h4>
  414. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.103">getWhite</a>()</pre>
  415. <dl>
  416. <dt><span class="returnLabel">Returns:</span></dt>
  417. <dd>Opaque white.</dd>
  418. </dl>
  419. </li>
  420. </ul>
  421. <a name="getBlack--">
  422. <!-- -->
  423. </a>
  424. <ul class="blockList">
  425. <li class="blockList">
  426. <h4>getBlack</h4>
  427. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.108">getBlack</a>()</pre>
  428. <dl>
  429. <dt><span class="returnLabel">Returns:</span></dt>
  430. <dd>Opaque black.</dd>
  431. </dl>
  432. </li>
  433. </ul>
  434. <a name="getTransparent--">
  435. <!-- -->
  436. </a>
  437. <ul class="blockList">
  438. <li class="blockList">
  439. <h4>getTransparent</h4>
  440. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.113">getTransparent</a>()</pre>
  441. <dl>
  442. <dt><span class="returnLabel">Returns:</span></dt>
  443. <dd>The fully transparent color.</dd>
  444. </dl>
  445. </li>
  446. </ul>
  447. <a name="getRandom-squidpony.squidmath.RNG-int-">
  448. <!-- -->
  449. </a>
  450. <ul class="blockList">
  451. <li class="blockList">
  452. <h4>getRandom</h4>
  453. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.122">getRandom</a>(<a href="../squidpony/squidmath/RNG.html" title="class in squidpony.squidmath">RNG</a>&nbsp;rng,
  454. int&nbsp;opacity)</pre>
  455. <dl>
  456. <dt><span class="paramLabel">Parameters:</span></dt>
  457. <dd><code>rng</code> - an RNG from SquidLib.</dd>
  458. <dd><code>opacity</code> - The alpha component. In-between 0 (inclusive) and 256
  459. (exclusive). Larger values mean more opacity; 0 is clear.</dd>
  460. <dt><span class="returnLabel">Returns:</span></dt>
  461. <dd>A random color, except for the alpha component.</dd>
  462. </dl>
  463. </li>
  464. </ul>
  465. <a name="getRed-java.lang.Object-">
  466. <!-- -->
  467. </a><a name="getRed-T-">
  468. <!-- -->
  469. </a>
  470. <ul class="blockList">
  471. <li class="blockList">
  472. <h4>getRed</h4>
  473. <pre>int&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.128">getRed</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  474. <dl>
  475. <dt><span class="paramLabel">Parameters:</span></dt>
  476. <dd><code>c</code> - a concrete color</dd>
  477. <dt><span class="returnLabel">Returns:</span></dt>
  478. <dd>The red component. For screen colors, in-between 0 (inclusive) and 256 (exclusive).</dd>
  479. </dl>
  480. </li>
  481. </ul>
  482. <a name="getGreen-java.lang.Object-">
  483. <!-- -->
  484. </a><a name="getGreen-T-">
  485. <!-- -->
  486. </a>
  487. <ul class="blockList">
  488. <li class="blockList">
  489. <h4>getGreen</h4>
  490. <pre>int&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.135">getGreen</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  491. <dl>
  492. <dt><span class="paramLabel">Parameters:</span></dt>
  493. <dd><code>c</code> - a concrete color</dd>
  494. <dt><span class="returnLabel">Returns:</span></dt>
  495. <dd>The green component. For screen colors, in-between 0 (inclusive) and 256
  496. (exclusive).</dd>
  497. </dl>
  498. </li>
  499. </ul>
  500. <a name="getBlue-java.lang.Object-">
  501. <!-- -->
  502. </a><a name="getBlue-T-">
  503. <!-- -->
  504. </a>
  505. <ul class="blockList">
  506. <li class="blockList">
  507. <h4>getBlue</h4>
  508. <pre>int&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.141">getBlue</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  509. <dl>
  510. <dt><span class="paramLabel">Parameters:</span></dt>
  511. <dd><code>c</code> - a concrete color</dd>
  512. <dt><span class="returnLabel">Returns:</span></dt>
  513. <dd>The blue component. For screen colors, in-between 0 (inclusive) and 256 (exclusive).</dd>
  514. </dl>
  515. </li>
  516. </ul>
  517. <a name="getAlpha-java.lang.Object-">
  518. <!-- -->
  519. </a><a name="getAlpha-T-">
  520. <!-- -->
  521. </a>
  522. <ul class="blockList">
  523. <li class="blockList">
  524. <h4>getAlpha</h4>
  525. <pre>int&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.148">getAlpha</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  526. <dl>
  527. <dt><span class="paramLabel">Parameters:</span></dt>
  528. <dd><code>c</code> - a concrete color</dd>
  529. <dt><span class="returnLabel">Returns:</span></dt>
  530. <dd>The alpha component. In-between 0 (inclusive) and 256
  531. (exclusive).</dd>
  532. </dl>
  533. </li>
  534. </ul>
  535. <a name="getHue-java.lang.Object-">
  536. <!-- -->
  537. </a><a name="getHue-T-">
  538. <!-- -->
  539. </a>
  540. <ul class="blockList">
  541. <li class="blockList">
  542. <h4>getHue</h4>
  543. <pre>float&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.156">getHue</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  544. <dl>
  545. <dt><span class="paramLabel">Parameters:</span></dt>
  546. <dd><code>c</code> - a concrete color</dd>
  547. <dt><span class="returnLabel">Returns:</span></dt>
  548. <dd>The hue of the color from 0.0 (red, inclusive) towards orange, then yellow, and
  549. eventually to purple before looping back to almost the same red (1.0, exclusive)</dd>
  550. </dl>
  551. </li>
  552. </ul>
  553. <a name="getSaturation-java.lang.Object-">
  554. <!-- -->
  555. </a><a name="getSaturation-T-">
  556. <!-- -->
  557. </a>
  558. <ul class="blockList">
  559. <li class="blockList">
  560. <h4>getSaturation</h4>
  561. <pre>float&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.164">getSaturation</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  562. <dl>
  563. <dt><span class="paramLabel">Parameters:</span></dt>
  564. <dd><code>c</code> - a concrete color</dd>
  565. <dt><span class="returnLabel">Returns:</span></dt>
  566. <dd>the saturation of the color from 0.0 (a grayscale color; inclusive) to 1.0 (a
  567. bright color, exclusive)</dd>
  568. </dl>
  569. </li>
  570. </ul>
  571. <a name="getValue-java.lang.Object-">
  572. <!-- -->
  573. </a><a name="getValue-T-">
  574. <!-- -->
  575. </a>
  576. <ul class="blockList">
  577. <li class="blockList">
  578. <h4>getValue</h4>
  579. <pre>float&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.172">getValue</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  580. <dl>
  581. <dt><span class="paramLabel">Parameters:</span></dt>
  582. <dd><code>c</code> - a concrete color</dd>
  583. <dt><span class="returnLabel">Returns:</span></dt>
  584. <dd>the value (essentially lightness) of the color from 0.0 (black, inclusive) to
  585. 1.0 (inclusive) for screen colors or arbitrarily high for HDR colors.</dd>
  586. </dl>
  587. </li>
  588. </ul>
  589. <a name="filter-java.lang.Object-">
  590. <!-- -->
  591. </a><a name="filter-T-">
  592. <!-- -->
  593. </a>
  594. <ul class="blockList">
  595. <li class="blockList">
  596. <h4>filter</h4>
  597. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.178">filter</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;c)</pre>
  598. <dl>
  599. <dt><span class="paramLabel">Parameters:</span></dt>
  600. <dd><code>c</code> - </dd>
  601. <dt><span class="returnLabel">Returns:</span></dt>
  602. <dd>The color that <code>this</code> shows when <code>c</code> is requested. May be <code>c</code> itself.</dd>
  603. </dl>
  604. </li>
  605. </ul>
  606. <a name="filter-squidpony.panel.IColoredString-">
  607. <!-- -->
  608. </a>
  609. <ul class="blockList">
  610. <li class="blockList">
  611. <h4>filter</h4>
  612. <pre><a href="../squidpony/panel/IColoredString.html" title="interface in squidpony.panel">IColoredString</a>&lt;<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&gt;&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.185">filter</a>(<a href="../squidpony/panel/IColoredString.html" title="interface in squidpony.panel">IColoredString</a>&lt;<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&gt;&nbsp;ics)</pre>
  613. <dl>
  614. <dt><span class="paramLabel">Parameters:</span></dt>
  615. <dd><code>ics</code> - </dd>
  616. <dt><span class="returnLabel">Returns:</span></dt>
  617. <dd><code>ics</code> filtered according to <a href="../squidpony/IColorCenter.html#filter-T-"><code>filter(Object)</code></a>. May be
  618. <code>ics</code> itself if unchanged.</dd>
  619. </dl>
  620. </li>
  621. </ul>
  622. <a name="greify-java.lang.Object-boolean-">
  623. <!-- -->
  624. </a><a name="greify-T-boolean-">
  625. <!-- -->
  626. </a>
  627. <ul class="blockList">
  628. <li class="blockList">
  629. <h4>greify</h4>
  630. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.197">greify</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;t,
  631. boolean&nbsp;doAlpha)</pre>
  632. <div class="block">Gets a copy of t and modifies it to make a shade of gray with the same brightness.
  633. The doAlpha parameter causes the alpha to be considered in the calculation of brightness and also changes the
  634. returned alpha of the color.
  635. Not related to reified types or any usage of "reify."</div>
  636. <dl>
  637. <dt><span class="paramLabel">Parameters:</span></dt>
  638. <dd><code>t</code> - a T to copy; only the copy will be modified</dd>
  639. <dd><code>doAlpha</code> - Whether to include (and hereby change) the alpha component.</dd>
  640. <dt><span class="returnLabel">Returns:</span></dt>
  641. <dd>A monochromatic variation of <code>t</code>.</dd>
  642. </dl>
  643. </li>
  644. </ul>
  645. <a name="lerp-java.lang.Object-java.lang.Object-float-">
  646. <!-- -->
  647. </a><a name="lerp-T-T-float-">
  648. <!-- -->
  649. </a>
  650. <ul class="blockList">
  651. <li class="blockList">
  652. <h4>lerp</h4>
  653. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.206">lerp</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;start,
  654. <a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;end,
  655. float&nbsp;change)</pre>
  656. <div class="block">Gets the linear interpolation from Color start to Color end, changing by the fraction given by change.</div>
  657. <dl>
  658. <dt><span class="paramLabel">Parameters:</span></dt>
  659. <dd><code>start</code> - the initial color T</dd>
  660. <dd><code>end</code> - the "target" color T</dd>
  661. <dd><code>change</code> - the degree to change closer to end; a change of 0.0f produces start, 1.0f produces end</dd>
  662. <dt><span class="returnLabel">Returns:</span></dt>
  663. <dd>a new T between start and end</dd>
  664. </dl>
  665. </li>
  666. </ul>
  667. <a name="desaturated-java.lang.Object-">
  668. <!-- -->
  669. </a><a name="desaturated-T-">
  670. <!-- -->
  671. </a>
  672. <ul class="blockList">
  673. <li class="blockList">
  674. <h4>desaturated</h4>
  675. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.214">desaturated</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color)</pre>
  676. <div class="block">Gets a fully-desaturated version of the given color (keeping its brightness, but making it grayscale).
  677. Keeps alpha the same; if you want alpha to be considered (and brightness to be calculated differently), then
  678. you can use greify() in this class instead.</div>
  679. <dl>
  680. <dt><span class="paramLabel">Parameters:</span></dt>
  681. <dd><code>color</code> - the color T to desaturate (will not be modified)</dd>
  682. <dt><span class="returnLabel">Returns:</span></dt>
  683. <dd>the grayscale version of color</dd>
  684. </dl>
  685. </li>
  686. </ul>
  687. <a name="desaturate-java.lang.Object-float-">
  688. <!-- -->
  689. </a><a name="desaturate-T-float-">
  690. <!-- -->
  691. </a>
  692. <ul class="blockList">
  693. <li class="blockList">
  694. <h4>desaturate</h4>
  695. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.223">desaturate</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color,
  696. float&nbsp;degree)</pre>
  697. <div class="block">Brings a color closer to grayscale by the specified degree and returns the new color (desaturated somewhat).
  698. Alpha is left unchanged.</div>
  699. <dl>
  700. <dt><span class="paramLabel">Parameters:</span></dt>
  701. <dd><code>color</code> - the color T to desaturate</dd>
  702. <dd><code>degree</code> - a float between 0.0f and 1.0f; more makes it less colorful</dd>
  703. <dt><span class="returnLabel">Returns:</span></dt>
  704. <dd>the desaturated (and if a filter is used, also filtered) new color T</dd>
  705. </dl>
  706. </li>
  707. </ul>
  708. <a name="saturated-java.lang.Object-">
  709. <!-- -->
  710. </a><a name="saturated-T-">
  711. <!-- -->
  712. </a>
  713. <ul class="blockList">
  714. <li class="blockList">
  715. <h4>saturated</h4>
  716. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.231">saturated</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color)</pre>
  717. <div class="block">Fully saturates color (makes it a vivid color like red or green and less gray) and returns the modified copy.
  718. Leaves alpha unchanged.</div>
  719. <dl>
  720. <dt><span class="paramLabel">Parameters:</span></dt>
  721. <dd><code>color</code> - the color T to saturate (will not be modified)</dd>
  722. <dt><span class="returnLabel">Returns:</span></dt>
  723. <dd>the saturated version of color</dd>
  724. </dl>
  725. </li>
  726. </ul>
  727. <a name="saturate-java.lang.Object-float-">
  728. <!-- -->
  729. </a><a name="saturate-T-float-">
  730. <!-- -->
  731. </a>
  732. <ul class="blockListLast">
  733. <li class="blockList">
  734. <h4>saturate</h4>
  735. <pre><a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;<a href="../src-html/squidpony/IColorCenter.html#line.242">saturate</a>(<a href="../squidpony/IColorCenter.html" title="type parameter in IColorCenter">T</a>&nbsp;color,
  736. float&nbsp;degree)</pre>
  737. <div class="block">Saturates color (makes it closer to a vivid color like red or green and less gray) by the specified degree and
  738. returns the new color (saturated somewhat). If this is called on a color that is very close to gray, this does
  739. not necessarily return a specific color, but most implementations will treat a hue of 0 as red.</div>
  740. <dl>
  741. <dt><span class="paramLabel">Parameters:</span></dt>
  742. <dd><code>color</code> - the color T to saturate</dd>
  743. <dd><code>degree</code> - a float between 0.0f and 1.0f; more makes it more colorful</dd>
  744. <dt><span class="returnLabel">Returns:</span></dt>
  745. <dd>the saturated (and if a filter is used, also filtered) new color</dd>
  746. </dl>
  747. </li>
  748. </ul>
  749. </li>
  750. </ul>
  751. </li>
  752. </ul>
  753. </div>
  754. </div>
  755. <!-- ========= END OF CLASS DATA ========= -->
  756. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  757. <div class="bottomNav"><a name="navbar.bottom">
  758. <!-- -->
  759. </a>
  760. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  761. <a name="navbar.bottom.firstrow">
  762. <!-- -->
  763. </a>
  764. <ul class="navList" title="Navigation">
  765. <li><a href="../overview-summary.html">Overview</a></li>
  766. <li><a href="package-summary.html">Package</a></li>
  767. <li class="navBarCell1Rev">Class</li>
  768. <li><a href="class-use/IColorCenter.html">Use</a></li>
  769. <li><a href="package-tree.html">Tree</a></li>
  770. <li><a href="../deprecated-list.html">Deprecated</a></li>
  771. <li><a href="../index-files/index-1.html">Index</a></li>
  772. <li><a href="../help-doc.html">Help</a></li>
  773. </ul>
  774. </div>
  775. <div class="subNav">
  776. <ul class="navList">
  777. <li><a href="../squidpony/GwtCompatibility.html" title="class in squidpony"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  778. <li><a href="../squidpony/IColorCenter.Skeleton.html" title="class in squidpony"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  779. </ul>
  780. <ul class="navList">
  781. <li><a href="../index.html?squidpony/IColorCenter.html" target="_top">Frames</a></li>
  782. <li><a href="IColorCenter.html" target="_top">No&nbsp;Frames</a></li>
  783. </ul>
  784. <ul class="navList" id="allclasses_navbar_bottom">
  785. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  786. </ul>
  787. <div>
  788. <script type="text/javascript"><!--
  789. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  790. if(window==top) {
  791. allClassesLink.style.display = "block";
  792. }
  793. else {
  794. allClassesLink.style.display = "none";
  795. }
  796. //-->
  797. </script>
  798. </div>
  799. <div>
  800. <ul class="subNavList">
  801. <li>Summary:&nbsp;</li>
  802. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  803. <li>Field&nbsp;|&nbsp;</li>
  804. <li>Constr&nbsp;|&nbsp;</li>
  805. <li><a href="#method.summary">Method</a></li>
  806. </ul>
  807. <ul class="subNavList">
  808. <li>Detail:&nbsp;</li>
  809. <li>Field&nbsp;|&nbsp;</li>
  810. <li>Constr&nbsp;|&nbsp;</li>
  811. <li><a href="#method.detail">Method</a></li>
  812. </ul>
  813. </div>
  814. <a name="skip.navbar.bottom">
  815. <!-- -->
  816. </a></div>
  817. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  818. <p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2016. All rights reserved.</small></p>
  819. </body>
  820. </html>