73 lines
3.1 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.swing.tree
</div>
<h2 class="title" title="Interface RowMapper">Interface RowMapper</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
所有已知实现类:
</dt>
<dd>
<span><a href="../../../javax/swing/tree/AbstractLayoutCache.html" title="javax.swing.tree中的类">AbstractLayoutCache</a> <a href="../../../javax/swing/tree/FixedHeightLayoutCache.html" title="javax.swing.tree中的类">FixedHeightLayoutCache</a> <a href="../../../javax/swing/tree/VariableHeightLayoutCache.html" title="javax.swing.tree中的类">VariableHeightLayoutCache</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">RowMapper</span></pre>
<div class="block">
定义将树中的路径转换为显示行的对象的要求。
</div> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/swing/tree/RowMapper.html#getRowsForPaths-javax.swing.tree.TreePath:A-">getRowsForPaths</a></span>(<a href="../../../javax/swing/tree/TreePath.html" title="class in javax.swing.tree">TreePath</a>[] path)</code>
<div class="block">
返回中的TreePath实例的行
<code>path</code>正在以显示。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getRowsForPaths-javax.swing.tree.TreePath:A-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getRowsForPaths</h4> <pre>int[] getRowsForPaths(<a href="../../../javax/swing/tree/TreePath.html" title="class in javax.swing.tree">TreePath</a>[] path)</pre>
<div class="block">
<span>返回中的TreePath实例的行<code>path</code>正在以显示。</span>
<span>接收方应返回与传入的数据长度相同的数组如果path中的一个<code>path</code>无效,则数组中的条目应设置为-1。</span>
</div> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>