Source

cappuccino-docs / cappuccino docs / cappuccino.org / learn / documentation / class_c_p_collection_view_item.html

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Mirrored from cappuccino.org/learn/documentation/class_c_p_collection_view_item.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:17:00 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Cappuccino API: CPCollectionViewItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CPCollectionViewItem Class Reference</h1><!-- doxytag: class="CPCollectionViewItem" -->
<p><a href="class_c_p_collection_view_item-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="class_c_p_collection_view.html">CPCollectionView</a>)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_collection_view_item.html#aab8419009b605e1324d78d68cd1c9a54">collectionView</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(BOOL)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_collection_view_item.html#a48e1436f47c6b9880472a31e2a7364bc">isSelected</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_collection_view_item.html#a5e531b308426584e710eaabda58a758f">setRepresentedObject:</a><code> [implementation]</code></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="class_c_p_collection_view_item.html#a18305548f8a965b42fc7e5556ae10a08">setSelected:</a><code> [implementation]</code></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Represents an object inside a <a class="el" href="class_c_p_collection_view.html">CPCollectionView</a>. </p>

<p>Definition at line <a class="el" href="_c_p_collection_view_item_8j_source.html#l00028">28</a> of file <a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aab8419009b605e1324d78d68cd1c9a54"></a><!-- doxytag: member="CPCollectionViewItem::collectionView" ref="aab8419009b605e1324d78d68cd1c9a54" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="class_c_p_collection_view.html">CPCollectionView</a>) collectionView </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the collection view of which this item is a part. </p>

<p>Definition at line <a class="el" href="_c_p_collection_view_item_8j_source.html#l00080">80</a> of file <a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a>.</p>

</div>
</div>
<a class="anchor" id="a48e1436f47c6b9880472a31e2a7364bc"></a><!-- doxytag: member="CPCollectionViewItem::isSelected" ref="a48e1436f47c6b9880472a31e2a7364bc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isSelected </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns <code>YES</code> if the item is currently selected. <code>NO</code> if the item is not selected. </p>

<p>Definition at line <a class="el" href="_c_p_collection_view_item_8j_source.html#l00071">71</a> of file <a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a>.</p>

</div>
</div>
<a class="anchor" id="a5e531b308426584e710eaabda58a758f"></a><!-- doxytag: member="CPCollectionViewItem::setRepresentedObject:" ref="a5e531b308426584e710eaabda58a758f" args="(id anObject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setRepresentedObject: </td>
          <td></td>
          <td class="paramtype">(id)&nbsp;</td>
          <td class="paramname"> <em>anObject</em></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the object to be represented by this item. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>anObject</em>&nbsp;</td><td>the object to be represented </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_p_collection_view_item_8j_source.html#l00038">38</a> of file <a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a>.</p>

</div>
</div>
<a class="anchor" id="a18305548f8a965b42fc7e5556ae10a08"></a><!-- doxytag: member="CPCollectionViewItem::setSelected:" ref="a18305548f8a965b42fc7e5556ae10a08" args="(BOOL shouldBeSelected)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setSelected: </td>
          <td></td>
          <td class="paramtype">(BOOL)&nbsp;</td>
          <td class="paramname"> <em>shouldBeSelected</em></td>
          <td>&nbsp;</td>
          <td><code> [implementation]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets whether this view item should be selected. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>shouldBeSelected</em>&nbsp;</td><td><code>YES</code> makes the item selected. <code>NO</code> deselects it. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_c_p_collection_view_item_8j_source.html#l00053">53</a> of file <a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>AppKit/<a class="el" href="_c_p_collection_view_item_8j_source.html">CPCollectionViewItem.j</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Apr 6 10:33:05 2010 for Cappuccino API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>

<!-- Mirrored from cappuccino.org/learn/documentation/class_c_p_collection_view_item.html by HTTrack Website Copier/3.x [XR&CO'2006], Mon, 20 Sep 2010 02:17:01 GMT -->
</html>