| 1 |
20 |
jhriggs |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
|
| 2 |
|
|
|
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ascii">
|
| 6 |
|
|
<meta name="generator" content="HeaderDoc">
|
| 7 |
|
|
<meta name="xcode-display" content="render">
|
| 8 |
|
|
|
| 9 |
|
|
#tocMenu {
|
| 10 |
|
|
display: block;
|
| 11 |
|
|
position:fixed;
|
| 12 |
|
|
top:0px;
|
| 13 |
|
|
left:0px;
|
| 14 |
|
|
width:210px;
|
| 15 |
|
|
height:100%;
|
| 16 |
|
|
background:transparent;
|
| 17 |
|
|
}
|
| 18 |
|
|
#bodyText {
|
| 19 |
|
|
margin-left: 210px;
|
| 20 |
|
|
}
|
| 21 |
|
|
|
| 22 |
|
|
<script language="JavaScript" type="text/javascript"><!--
|
| 23 |
|
|
function hidetoc() {
|
| 24 |
|
|
var origURL = parent.document.URL;
|
| 25 |
|
|
var contentURL = origURL.substring(origURL.indexOf('?')+1, origURL.length);
|
| 26 |
|
|
if (contentURL.length == origURL.length) {
|
| 27 |
|
|
jumpPos = origURL.substring(origURL.indexOf('#')+1, origURL.length);
|
| 28 |
|
|
}
|
| 29 |
|
|
if (contentURL == "hidetoc") {
|
| 30 |
|
|
var toc = document.getElementById('tocMenu');
|
| 31 |
|
|
var body = document.getElementById('bodyText');
|
| 32 |
|
|
if (toc && body) {
|
| 33 |
|
|
toc.style.display = 'none';
|
| 34 |
|
|
body.style.marginLeft = '0px';
|
| 35 |
|
|
}
|
| 36 |
|
|
}
|
| 37 |
|
|
}
|
| 38 |
|
|
--></script><style type="text/css"><!--.keyword {background:#ffffff; color:#761550;}.template {background:#ffffff; color:#761550;}.number {background: #ffffff; color:#0000ff;}.function {background:#ffffff; color:#000000;}.string {background: #ffffff; color:#891315;}.preprocessor {background:#ffffff; color:#236e25}.comment {background:#ffffff; color:#236e25}.char {background: #ffffff; color:#0000ff;}.var {background:#ffffff; color:#000000;}.type {background:#ffffff; color:#761550;}.param {background:#ffffff; color:#000000;}a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}.list_indent { margin-left: 40px; }.declaration_indent { margin-left: 40px; }.param_indent { margin-left: 40px; }.group_indent { margin-left: 40px; }.group_desc_indent { margin-left: 20px; }.warning_indent { margin-left: 40px; }.important_indent { margin-left: 40px; }.hd_tocAccess { font-style: italic; font-size: 10px; font-weight: normal; color: #303030; }--></style>
|
| 39 |
|
|
|
| 40 |
|
|
<body bgcolor="#ffffff" onload="hidetoc();">
|
| 41 |
|
|
|
| 42 |
|
|
<!-- headerDoc=cl; uid=//apple_ref/occ/cl/TruePreviewPreferencesModule; name=TruePreviewPreferencesModule-->
|
| 43 |
|
|
<a name="//apple_ref/occ/cl/TruePreviewPreferencesModule"></a><div id="tocMenu">
|
| 44 |
|
|
<iframe id="toc_content" name="toc_content" src="toc.html" width="210" height="100%" align="left" frameborder="0">This document set is best viewed in a browser that supports iFrames. </iframe>
|
| 45 |
|
|
|
| 46 |
|
|
|
| 47 |
|
|
|
| 48 |
|
|
|
| 49 |
|
|
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
|
| 50 |
|
|
<h1><a name="TruePreviewPreferencesModule">TruePreviewPreferencesModule </a></h1>
|
| 51 |
|
|
|
| 52 |
|
|
|
| 53 |
|
|
<p><b>Version: </b> @(#) $Id: TruePreviewPreferencesModule.h 17 2009-10-09 12:21:07Z jhriggs $ <br><b>Superclass: </b> <!-- a logicalPath="//apple_ref/occ/cl/NSPreferencesModule" -->NSPreferencesModule <!-- /a --><br><b>Declared In: </b> <a href="../../index.html" target="_top">TruePreviewPreferencesModule.h </a><br></p>
|
| 54 |
|
|
<div class="declaration_indent">
|
| 55 |
|
|
|
| 56 |
|
|
|
| 57 |
|
|
<font face="Lucida Grande,Helvetica,Arial">Discussion </font>
|
| 58 |
|
|
|
| 59 |
|
|
<!-- begin discussion --><p>The <code>TruePreviewPreferencesModule </code> class is the subclass of
|
| 60 |
|
|
<code>NSPreferencesModule </code> that displays and manages preferences
|
| 61 |
|
|
specific to the TruePreview plugin.
|
| 62 |
|
|
<!-- end discussion -->
|
| 63 |
|
|
|
| 64 |
|
|
|
| 65 |
|
|
|
| 66 |
|
|
<br><a name="HeaderDoc_groups"><h2>Groups </h2></a>
|
| 67 |
|
|
|
| 68 |
|
|
<h3>NSPreferencesModule instance methods </h3>
|
| 69 |
|
|
<div class="group_desc_indent">
|
| 70 |
|
|
|
| 71 |
|
|
|
| 72 |
|
|
|
| 73 |
|
|
|
| 74 |
|
|
<div class="group_indent">
|
| 75 |
|
|
|
| 76 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/preferencesNibName" logicalPath="//apple_ref/occ/instm/TruePreviewPreferencesModule/preferencesNibName" target="_top">-preferencesNibName </a></tt></dt>
|
| 77 |
|
|
|
| 78 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/willBeDisplayed" logicalPath="//apple_ref/occ/instm/TruePreviewPreferencesModule/willBeDisplayed" target="_top">-willBeDisplayed </a></tt></dt>
|
| 79 |
|
|
|
| 80 |
|
|
|
| 81 |
|
|
|
| 82 |
|
|
|
| 83 |
|
|
|
| 84 |
|
|
<div class="group_desc_indent">
|
| 85 |
|
|
|
| 86 |
|
|
|
| 87 |
|
|
|
| 88 |
|
|
|
| 89 |
|
|
<div class="group_indent">
|
| 90 |
|
|
|
| 91 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/data/TruePreviewPreferencesModule/fldAccountArrayController" logicalPath="//apple_ref/occ/data/TruePreviewPreferencesModule/fldAccountArrayController" target="_top">fldAccountArrayController </a></tt></dt>
|
| 92 |
|
|
|
| 93 |
|
|
|
| 94 |
|
|
|
| 95 |
|
|
|
| 96 |
|
|
<h3>NSKeyValueObserving instance methods </h3>
|
| 97 |
|
|
<div class="group_desc_indent">
|
| 98 |
|
|
|
| 99 |
|
|
|
| 100 |
|
|
|
| 101 |
|
|
|
| 102 |
|
|
<div class="group_indent">
|
| 103 |
|
|
|
| 104 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/observeValueForKeyPath:ofObject:change:context:" logicalPath="//apple_ref/occ/instm/TruePreviewPreferencesModule/observeValueForKeyPath:ofObject:change:context:" target="_top">-observeValueForKeyPath:ofObject:change:context: </a></tt></dt>
|
| 105 |
|
|
|
| 106 |
|
|
|
| 107 |
|
|
|
| 108 |
|
|
|
| 109 |
|
|
<a name="HeaderDoc_methods"></a>
|
| 110 |
|
|
|
| 111 |
|
|
|
| 112 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/preferencesNibName" target="_top">-preferencesNibName </a></tt></dt>
|
| 113 |
|
|
|
| 114 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/willBeDisplayed" target="_top">-willBeDisplayed </a></tt></dt>
|
| 115 |
|
|
|
| 116 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/instm/TruePreviewPreferencesModule/observeValueForKeyPath:ofObject:change:context:" target="_top">-observeValueForKeyPath:ofObject:change:context: </a></tt></dt>
|
| 117 |
|
|
|
| 118 |
|
|
|
| 119 |
|
|
|
| 120 |
|
|
<!-- headerDoc=instm; uid=//apple_ref/occ/instm/TruePreviewPreferencesModule/preferencesNibName; name=TruePreviewPreferencesModule::preferencesNibName --><a name="//apple_ref/occ/instm/TruePreviewPreferencesModule/preferencesNibName"></a>
|
| 121 |
|
|
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
|
| 122 |
|
|
<h3><a name="preferencesNibName">preferencesNibName </a></h3>
|
| 123 |
|
|
|
| 124 |
|
|
|
| 125 |
|
|
|
| 126 |
|
|
<div class="declaration_indent">
|
| 127 |
|
|
<pre>- ( <!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString //apple_ref/occ/intf/NSString" --><span class="type">NSString </span><!-- /a --><span class="type">* </span>) <!-- a logicalPath="//apple_ref/occ/econst/preferencesNibName //apple_ref/occ/data/preferencesNibName" --><span class="var">preferencesNibName </span><!-- /a -->; </pre>
|
| 128 |
|
|
|
| 129 |
|
|
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Return Value </font></h5>
|
| 130 |
|
|
<p><!-- begin return value --><code>TruePreviewPreferencesPanel </code>.
|
| 131 |
|
|
|
| 132 |
|
|
<!-- end return value --></p>
|
| 133 |
|
|
|
| 134 |
|
|
<font face="Lucida Grande,Helvetica,Arial">Discussion </font>
|
| 135 |
|
|
|
| 136 |
|
|
<!-- begin discussion --><p>Returns the name of the nib file containing the TruePreview preferences
|
| 137 |
|
|
panel.
|
| 138 |
|
|
<!-- end discussion -->
|
| 139 |
|
|
|
| 140 |
|
|
|
| 141 |
|
|
|
| 142 |
|
|
<!-- headerDoc=instm; uid=//apple_ref/occ/instm/TruePreviewPreferencesModule/willBeDisplayed; name=TruePreviewPreferencesModule::willBeDisplayed --><a name="//apple_ref/occ/instm/TruePreviewPreferencesModule/willBeDisplayed"></a>
|
| 143 |
|
|
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
|
| 144 |
|
|
<h3><a name="willBeDisplayed">willBeDisplayed </a></h3>
|
| 145 |
|
|
|
| 146 |
|
|
|
| 147 |
|
|
|
| 148 |
|
|
<div class="declaration_indent">
|
| 149 |
|
|
<pre>- ( <!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void </span><!-- /a -->) <!-- a logicalPath="//apple_ref/occ/econst/willBeDisplayed //apple_ref/occ/data/willBeDisplayed" --><span class="var">willBeDisplayed </span><!-- /a -->; </pre>
|
| 150 |
|
|
|
| 151 |
|
|
|
| 152 |
|
|
<font face="Lucida Grande,Helvetica,Arial">Discussion </font>
|
| 153 |
|
|
|
| 154 |
|
|
<!-- begin discussion --><p>Loads the account information for the TruePreview preferences panel.
|
| 155 |
|
|
<!-- end discussion -->
|
| 156 |
|
|
|
| 157 |
|
|
|
| 158 |
|
|
|
| 159 |
|
|
<!-- headerDoc=instm; uid=//apple_ref/occ/instm/TruePreviewPreferencesModule/observeValueForKeyPath:ofObject:change:context:; name=TruePreviewPreferencesModule::observeValueForKeyPath:ofObject:change:context: --><a name="//apple_ref/occ/instm/TruePreviewPreferencesModule/observeValueForKeyPath:ofObject:change:context:"></a>
|
| 160 |
|
|
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
|
| 161 |
|
|
<h3><a name="observeValueForKeyPath:ofObject:change:context:">observeValueForKeyPath:ofObject:change:context: </a></h3>
|
| 162 |
|
|
|
| 163 |
|
|
|
| 164 |
|
|
|
| 165 |
|
|
<div class="declaration_indent">
|
| 166 |
|
|
<pre>- ( <!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void </span><!-- /a -->) <!-- a logicalPath="//apple_ref/occ/instm/observeValueForKeyPath //apple_ref/occ/clm/observeValueForKeyPath //apple_ref/occ/intfcm/observeValueForKeyPath //apple_ref/occ/intfm/observeValueForKeyPath //apple_ref/occ/func/observeValueForKeyPath //apple_ref/occ/ftmplt/observeValueForKeyPath //apple_ref/occ/defn/observeValueForKeyPath //apple_ref/occ/macro/observeValueForKeyPath" --><span class="function">observeValueForKeyPath </span><!-- /a -->:( <!-- a logicalPath="//apple_ref/occ/cl/NSString //apple_ref/occ/tdef/NSString //apple_ref/occ/tag/NSString //apple_ref/occ/econst/NSString //apple_ref/occ/struct/NSString //apple_ref/occ/clconst/NSString //apple_ref/occ/intf/NSString" --><span class="type">NSString </span><!-- /a --><span class="type">* </span>) <span class="param">inPath </span> <!-- a logicalPath="//apple_ref/occ/instm/ofObject //apple_ref/occ/clm/ofObject //apple_ref/occ/intfcm/ofObject //apple_ref/occ/intfm/ofObject //apple_ref/occ/func/ofObject //apple_ref/occ/ftmplt/ofObject //apple_ref/occ/defn/ofObject //apple_ref/occ/macro/ofObject" --><span class="function">ofObject </span><!-- /a -->:( <!-- a logicalPath="//apple_ref/occ/cl/id //apple_ref/occ/tdef/id //apple_ref/occ/tag/id //apple_ref/occ/econst/id //apple_ref/occ/struct/id //apple_ref/occ/clconst/id //apple_ref/occ/intf/id" --><span class="type">id </span><!-- /a -->) <span class="param">inObject </span> <!-- a logicalPath="//apple_ref/occ/instm/change //apple_ref/occ/clm/change //apple_ref/occ/intfcm/change //apple_ref/occ/intfm/change //apple_ref/occ/func/change //apple_ref/occ/ftmplt/change //apple_ref/occ/defn/change //apple_ref/occ/macro/change" --><span class="function">change </span><!-- /a -->:( <!-- a logicalPath="//apple_ref/occ/cl/NSDictionary //apple_ref/occ/tdef/NSDictionary //apple_ref/occ/tag/NSDictionary //apple_ref/occ/econst/NSDictionary //apple_ref/occ/struct/NSDictionary //apple_ref/occ/clconst/NSDictionary //apple_ref/occ/intf/NSDictionary" --><span class="type">NSDictionary </span><!-- /a --><span class="type">* </span>) <span class="param">inChange </span> <!-- a logicalPath="//apple_ref/occ/instm/context //apple_ref/occ/clm/context //apple_ref/occ/intfcm/context //apple_ref/occ/intfm/context //apple_ref/occ/func/context //apple_ref/occ/ftmplt/context //apple_ref/occ/defn/context //apple_ref/occ/macro/context" --><span class="function">context </span><!-- /a -->:( <!-- a logicalPath="//apple_ref/occ/cl/void //apple_ref/occ/tdef/void //apple_ref/occ/tag/void //apple_ref/occ/econst/void //apple_ref/occ/struct/void //apple_ref/occ/clconst/void //apple_ref/occ/intf/void" --><span class="type">void </span><!-- /a --><span class="type">* </span>) <!-- a logicalPath="//apple_ref/occ/econst/inContext //apple_ref/occ/data/inContext" --><span class="var">inContext </span><!-- /a -->; </pre>
|
| 167 |
|
|
|
| 168 |
|
|
<h5 class="tight"><font face="Lucida Grande,Helvetica,Arial">Parameters </font></h5>
|
| 169 |
|
|
<div class="param_indent">
|
| 170 |
|
|
|
| 171 |
|
|
|
| 172 |
|
|
|
| 173 |
|
|
|
| 174 |
|
|
|
| 175 |
|
|
|
| 176 |
|
|
|
| 177 |
|
|
|
| 178 |
|
|
<dd><p>The <code>NSArray </code> containing the account settings from the
|
| 179 |
|
|
TruePreview preferences panel. </p></dd>
|
| 180 |
|
|
|
| 181 |
|
|
|
| 182 |
|
|
|
| 183 |
|
|
<font face="Lucida Grande,Helvetica,Arial">Discussion </font>
|
| 184 |
|
|
|
| 185 |
|
|
<!-- begin discussion --><p>Converts the account settings from the TruePreview preferences panel to a
|
| 186 |
|
|
dictionary and saves the dictionary into the user defaults.
|
| 187 |
|
|
<!-- end discussion -->
|
| 188 |
|
|
|
| 189 |
|
|
|
| 190 |
|
|
<a name="HeaderDoc_vars"></a>
|
| 191 |
|
|
|
| 192 |
|
|
|
| 193 |
|
|
<dt><tt><a href="index.html#//apple_ref/occ/data/TruePreviewPreferencesModule/fldAccountArrayController" target="_top">fldAccountArrayController </a></tt></dt>
|
| 194 |
|
|
|
| 195 |
|
|
|
| 196 |
|
|
|
| 197 |
|
|
<!-- headerDoc=data; uid=//apple_ref/occ/data/TruePreviewPreferencesModule/fldAccountArrayController; name=TruePreviewPreferencesModule::fldAccountArrayController --><a name="//apple_ref/occ/data/TruePreviewPreferencesModule/fldAccountArrayController"></a>
|
| 198 |
|
|
<table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
|
| 199 |
|
|
<h3><a name="fldAccountArrayController">fldAccountArrayController </a></h3>
|
| 200 |
|
|
|
| 201 |
|
|
|
| 202 |
|
|
|
| 203 |
|
|
<div class="declaration_indent">
|
| 204 |
|
|
<pre><!-- a logicalPath="//apple_ref/occ/cl/IBOutlet //apple_ref/occ/tdef/IBOutlet //apple_ref/occ/tag/IBOutlet //apple_ref/occ/econst/IBOutlet //apple_ref/occ/struct/IBOutlet //apple_ref/occ/clconst/IBOutlet //apple_ref/occ/intf/IBOutlet" --><span class="type">IBOutlet </span><!-- /a --> <!-- a logicalPath="//apple_ref/occ/cl/NSArrayController //apple_ref/occ/tdef/NSArrayController //apple_ref/occ/tag/NSArrayController //apple_ref/occ/econst/NSArrayController //apple_ref/occ/struct/NSArrayController //apple_ref/occ/clconst/NSArrayController //apple_ref/occ/intf/NSArrayController" --><span class="type">NSArrayController </span><!-- /a --><span class="type">* </span> <!-- a logicalPath="//apple_ref/occ/econst/fldAccountArrayController //apple_ref/occ/data/fldAccountArrayController" --><span class="var">fldAccountArrayController </span><!-- /a -->; </pre>
|
| 205 |
|
|
|
| 206 |
|
|
|
| 207 |
|
|
<font face="Lucida Grande,Helvetica,Arial">Discussion </font>
|
| 208 |
|
|
|
| 209 |
|
|
<!-- begin discussion --><p>The <code>NSArrayController </code> containing the account information
|
| 210 |
|
|
displayed in the TruePreview preferences panel.
|
| 211 |
|
|
<!-- end discussion -->
|
| 212 |
|
|
|
| 213 |
|
|
|
| 214 |
|
|
<p>Last Updated: Friday, October 09, 2009
|
| 215 |
|
|
|
| 216 |
|
|
|
| 217 |
|
|
|
| 218 |
|
|
|