Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8449931fa9
Fetching contributors…

Cannot retrieve contributors at this time

file 408 lines (363 sloc) 19.488 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Three20 API: TTStyledFrame Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="page-wrapper">
<div id="page">
<div id="pageheader">
  <div class="fixedwidth">
    <div class="title"><a href="http://three20.info/">three20<span class="subtitle">.info</span></a></div>
    <ul>
      <li><a href="/">API</a></li>
      <li><a href="http://three20.info/blog">News</a></li>
      <li><a href="http://three20.info/issues">Issues</a></li>
      <li><a href="http://three20.info/contribute">Contribute</a></li>
    </ul>
  </div>
</div>
<div id="pageheadershadow"></div>

<div class="largefixedwidth">
<div id="content">
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</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>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)"
             onblur="searchBox.OnSearchFieldFocus(false)"
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>TTStyledFrame Class Reference</h1><!-- doxytag: class="TTStyledFrame" --><!-- doxytag: inherits="NSObject" -->
<p><code>#import &lt;<a class="el" href="_t_t_styled_frame_8h_source.html">TTStyledFrame.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TTStyledFrame:</div>
<div class="dynsection">
 <div class="center">
  <img src="interface_t_t_styled_frame.gif" usemap="#TTStyledFrame_map" alt=""/>
  <map id="TTStyledFrame_map" name="TTStyledFrame_map">
<area href="class_n_s_object.html" alt="NSObject" shape="rect" coords="140,0,270,24"/>
<area href="interface_t_t_styled_box_frame.html" alt="TTStyledBoxFrame" shape="rect" coords="0,112,130,136"/>
<area href="interface_t_t_styled_image_frame.html" alt="TTStyledImageFrame" shape="rect" coords="140,112,270,136"/>
<area href="interface_t_t_styled_text_frame.html" alt="TTStyledTextFrame" shape="rect" coords="280,112,410,136"/>
<area href="interface_t_t_styled_inline_frame.html" alt="TTStyledInlineFrame" shape="rect" coords="0,168,130,192"/>
</map>
 </div>
</div>

<p><a href="class_t_t_styled_frame-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_u_i_font.html">UIFont</a> *)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_t_t_styled_frame.html#a93c91ef15228fa6ae4b7693f5e093979">font</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(id)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_t_t_styled_frame.html#abdd58f43dbce357ebf32748429e3196a">initWithElement:</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_t_t_styled_frame.html#a303beb9208d9cc6368f0c6e0ff8db821">drawInRect:</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the frame. <a href="#a303beb9208d9cc6368f0c6e0ff8db821"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_t_t_styled_box_frame.html">TTStyledBoxFrame</a> *)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_t_t_styled_frame.html#a6fff50b9be6a44d492ef1437dbbe43a2">hitTest:</a></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_t_t_styled_element.html">TTStyledElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#ad03f8db51cb723fc5e39421e6bb57aa5">_element</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_t_t_styled_frame.html">TTStyledFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a5ae54400ddeca3d416f1fd3b9e3ddfb1">_nextFrame</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a24cf68c1443114c196c041743b8ee39e">_bounds</a></td></tr>
<tr><td colspan="2"><h2>Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_t_t_styled_element.html">TTStyledElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a67cc15e5eeaca5b7ad03e29bed795168">element</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The element that contains the frame. <a href="#a67cc15e5eeaca5b7ad03e29bed795168"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_t_t_styled_frame.html">TTStyledFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#ac766ee3e369aade645baa3f93cec4867">nextFrame</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The next in the linked list of frames. <a href="#ac766ee3e369aade645baa3f93cec4867"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#ab0bd9f22c306b1983ffe3889a3057971">bounds</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The bounds of the content that is displayed by this frame. <a href="#ab0bd9f22c306b1983ffe3889a3057971"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGFloat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a2e4e82fffc643c459e0527325dcb6cda">x</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGFloat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a6dfa6d3f5a80762f9b0dda76a61ba9ac">y</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGFloat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#ac52f801db1357e38f7cfc785264e55ea">width</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGFloat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_t_t_styled_frame.html#a01628cb8596f1b94b801484be6bb321c">height</a></td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a303beb9208d9cc6368f0c6e0ff8db821"></a><!-- doxytag: member="TTStyledFrame::drawInRect:" ref="a303beb9208d9cc6368f0c6e0ff8db821" args="(CGRect rect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) drawInRect: </td>
          <td></td>
          <td class="paramtype">(CGRect)&nbsp;</td>
          <td class="paramname"> <em>rect</em></td>
          <td>&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the frame. </p>

</div>
</div>
<a class="anchor" id="a93c91ef15228fa6ae4b7693f5e093979"></a><!-- doxytag: member="TTStyledFrame::font" ref="a93c91ef15228fa6ae4b7693f5e093979" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="class_u_i_font.html">UIFont</a> *) font </td>
          <td></td>
          <td class="paramname"></td>
          <td>&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6fff50b9be6a44d492ef1437dbbe43a2"></a><!-- doxytag: member="TTStyledFrame::hitTest:" ref="a6fff50b9be6a44d492ef1437dbbe43a2" args="(CGPoint point)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_t_t_styled_box_frame.html">TTStyledBoxFrame</a> *) hitTest: </td>
          <td></td>
          <td class="paramtype">(CGPoint)&nbsp;</td>
          <td class="paramname"> <em>point</em></td>
          <td>&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abdd58f43dbce357ebf32748429e3196a"></a><!-- doxytag: member="TTStyledFrame::initWithElement:" ref="abdd58f43dbce357ebf32748429e3196a" args="(TTStyledElement *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithElement: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_t_t_styled_element.html">TTStyledElement</a>*)&nbsp;</td>
          <td class="paramname"> <em>element</em></td>
          <td>&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a24cf68c1443114c196c041743b8ee39e"></a><!-- doxytag: member="TTStyledFrame::_bounds" ref="a24cf68c1443114c196c041743b8ee39e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGRect) <a class="el" href="interface_t_t_styled_frame.html#a24cf68c1443114c196c041743b8ee39e">_bounds</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad03f8db51cb723fc5e39421e6bb57aa5"></a><!-- doxytag: member="TTStyledFrame::_element" ref="ad03f8db51cb723fc5e39421e6bb57aa5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_t_t_styled_element.html">TTStyledElement</a>*) <a class="el" href="interface_t_t_styled_frame.html#ad03f8db51cb723fc5e39421e6bb57aa5">_element</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5ae54400ddeca3d416f1fd3b9e3ddfb1"></a><!-- doxytag: member="TTStyledFrame::_nextFrame" ref="a5ae54400ddeca3d416f1fd3b9e3ddfb1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_t_t_styled_frame.html">TTStyledFrame</a>*) <a class="el" href="interface_t_t_styled_frame.html#a5ae54400ddeca3d416f1fd3b9e3ddfb1">_nextFrame</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="ab0bd9f22c306b1983ffe3889a3057971"></a><!-- doxytag: member="TTStyledFrame::bounds" ref="ab0bd9f22c306b1983ffe3889a3057971" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGRect) bounds<code> [read, write, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The bounds of the content that is displayed by this frame. </p>

</div>
</div>
<a class="anchor" id="a67cc15e5eeaca5b7ad03e29bed795168"></a><!-- doxytag: member="TTStyledFrame::element" ref="a67cc15e5eeaca5b7ad03e29bed795168" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_t_t_styled_element.html">TTStyledElement</a>*) element<code> [read, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The element that contains the frame. </p>

</div>
</div>
<a class="anchor" id="a01628cb8596f1b94b801484be6bb321c"></a><!-- doxytag: member="TTStyledFrame::height" ref="a01628cb8596f1b94b801484be6bb321c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGFloat) height<code> [read, write, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac766ee3e369aade645baa3f93cec4867"></a><!-- doxytag: member="TTStyledFrame::nextFrame" ref="ac766ee3e369aade645baa3f93cec4867" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_t_t_styled_frame.html">TTStyledFrame</a>*) nextFrame<code> [read, write, retain]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The next in the linked list of frames. </p>

</div>
</div>
<a class="anchor" id="ac52f801db1357e38f7cfc785264e55ea"></a><!-- doxytag: member="TTStyledFrame::width" ref="ac52f801db1357e38f7cfc785264e55ea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGFloat) width<code> [read, write, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e4e82fffc643c459e0527325dcb6cda"></a><!-- doxytag: member="TTStyledFrame::x" ref="a2e4e82fffc643c459e0527325dcb6cda" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGFloat) x<code> [read, write, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6dfa6d3f5a80762f9b0dda76a61ba9ac"></a><!-- doxytag: member="TTStyledFrame::y" ref="a6dfa6d3f5a80762f9b0dda76a61ba9ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (CGFloat) y<code> [read, write, assign]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Three20/<a class="el" href="_t_t_styled_frame_8h_source.html">TTStyledFrame.h</a></li>
<li><a class="el" href="_t_t_styled_frame_8m.html">TTStyledFrame.m</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>

<div class="clearfix"></div>

</div> <!-- fixedwidth -->

<div class="clearfix"></div>
<div id="page-footer"></div>
</div> <!-- page -->

</div> <!-- pagewrapper -->

<div id="footer">
  <div class="copyright">Copyright 2009 All content licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a> unless otherwise noted.</div>

  <div class="attribution">
    <a href="http://github.com/jverkoey/three20.info">Source hosted on github</a> -
    Made with the <a href="http://github.com/jverkoey/Keystone">Keystone</a> framework.
    </div>
</div>

<noscript><p><img alt="Clicky" width="1" height="1" src="http://static.getclicky.com/155532ns.gif" /></p></noscript>
<script type="text/javascript">//<![CDATA[

  var is_ssl = ("https:" == document.location.protocol);
  var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
  document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));

//]]>

</script>

<script type="text/javascript">//<![CDATA[

  var feedback_widget_options = {};

  feedback_widget_options.display = "overlay";
  feedback_widget_options.company = "three20";
  feedback_widget_options.placement = "left";
  feedback_widget_options.color = "#FC9";
  feedback_widget_options.style = "idea";

  var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);

//]]>
</script>

<script type="text/javascript">//<![CDATA[

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

//]]>
</script>

<script type="text/javascript" src="http://static.getclicky.com/js"></script>

<script type="text/javascript">//<![CDATA[
clicky.init(155532);
//]]>
</script>

<script type="text/javascript">//<![CDATA[

try {
var pageTracker = _gat._getTracker("UA-11762059-1");
pageTracker._trackPageview();
} catch(err) {}
//]]>
</script>

</body>
</html>
Something went wrong with that request. Please try again.