libs-gui/Documentation/gsdoc/NSDocumentController.html
Adam Fedor d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00

250 lines
6.6 KiB
HTML

<html>
<head>
<title>NSDocumentController</title>
</head>
<body>
<h1>NSDocumentController</h1>
<h3>Authors</h3>
<dl>
<dt>Carl Lindberg(<a href="mailto:Carl.Lindberg@hbo.com"><code>
Carl.Lindberg@hbo.com
</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
The document controller class </blockquote>
<p>Copyright: (C) 1999 Free Software Foundation, Inc.</p>
<h1>
Software documentation for the NSDocumentController
class
</h1>
<h2><a name="class$NSDocumentController">NSDocumentController</a> : NSObject</h2>
Declared: AppKit/NSDocumentController.h<br />
<p>
</p>
<h3>sharedDocumentController</a></h3>
+ (id) <b>sharedDocumentController</b>;<br />
<p>
</p>
<hr />
<h3>URLsFromRunningOpenPanel</a></h3>
- (NSArray*) <b>URLsFromRunningOpenPanel</b>;<br />
<p>
</p>
<hr />
<h3>addDocument:</a></h3>
- (void) <b>addDocument:</b> (<a href="NSDocument.html#class$NSDocument">NSDocument</a>*)document;<br />
<p>
</p>
<hr />
<h3>clearRecentDocuments:</a></h3>
- (IBAction) <b>clearRecentDocuments:</b> (id)sender;<br />
<p>
</p>
<hr />
<h3>closeAllDocuments</a></h3>
- (BOOL) <b>closeAllDocuments</b>;<br />
<p>
</p>
<hr />
<h3>closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:</a></h3>
- (void) <b>closeAllDocumentsWithDelegate:</b> (id)delegate<b> didCloseAllSelector:</b> (SEL)didAllCloseSelector<b> contextInfo:</b> (void*)contextInfo;<br />
<p>
</p>
<hr />
<h3>currentDirectory</a></h3>
- (NSString*) <b>currentDirectory</b>;<br />
<p>
</p>
<hr />
<h3>currentDocument</a></h3>
- (id) <b>currentDocument</b>;<br />
<p>
</p>
<hr />
<h3>displayNameForType:</a></h3>
- (NSString*) <b>displayNameForType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>documentClassForType:</a></h3>
- (Class) <b>documentClassForType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>documentForFileName:</a></h3>
- (id) <b>documentForFileName:</b> (NSString*)fileName;<br />
<p>
</p>
<hr />
<h3>documentForWindow:</a></h3>
- (id) <b>documentForWindow:</b> (<a href="NSWindow.html#class$NSWindow">NSWindow</a>*)window;<br />
<p>
</p>
<hr />
<h3>documents</a></h3>
- (NSArray*) <b>documents</b>;<br />
<p>
</p>
<hr />
<h3>fileExtensionsFromType:</a></h3>
- (NSArray*) <b>fileExtensionsFromType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>fileNamesFromRunningOpenPanel</a></h3>
- (NSArray*) <b>fileNamesFromRunningOpenPanel</b>;<br />
<p>
</p>
<hr />
<h3>hasEditedDocuments</a></h3>
- (BOOL) <b>hasEditedDocuments</b>;<br />
<p>
</p>
<hr />
<h3>makeDocumentWithContentsOfFile:ofType:</a></h3>
- (id) <b>makeDocumentWithContentsOfFile:</b> (NSString*)fileName<b> ofType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>makeDocumentWithContentsOfURL:ofType:</a></h3>
- (id) <b>makeDocumentWithContentsOfURL:</b> (NSURL*)url<b> ofType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>makeUntitledDocumentOfType:</a></h3>
- (id) <b>makeUntitledDocumentOfType:</b> (NSString*)type;<br />
<p>
</p>
<hr />
<h3>newDocument:</a></h3>
- (IBAction) <b>newDocument:</b> (id)sender;<br />
<p>
</p>
<hr />
<h3>noteNewRecentDocument:</a></h3>
- (void) <b>noteNewRecentDocument:</b> (<a href="NSDocument.html#class$NSDocument">NSDocument</a>*)aDocument;<br />
<p>
</p>
<hr />
<h3>noteNewRecentDocumentURL:</a></h3>
- (void) <b>noteNewRecentDocumentURL:</b> (NSURL*)anURL;<br />
<p>
</p>
<hr />
<h3>openDocument:</a></h3>
- (IBAction) <b>openDocument:</b> (id)sender;<br />
<p>
</p>
<hr />
<h3>openDocumentWithContentsOfFile:display:</a></h3>
- (id) <b>openDocumentWithContentsOfFile:</b> (NSString*)fileName<b> display:</b> (BOOL)display;<br />
<p>
</p>
<hr />
<h3>openDocumentWithContentsOfURL:display:</a></h3>
- (id) <b>openDocumentWithContentsOfURL:</b> (NSURL*)url<b> display:</b> (BOOL)display;<br />
<p>
</p>
<hr />
<h3>openUntitledDocumentOfType:display:</a></h3>
- (id) <b>openUntitledDocumentOfType:</b> (NSString*)type<b> display:</b> (BOOL)display;<br />
<p>
</p>
<hr />
<h3>recentDocumentURLs</a></h3>
- (NSArray*) <b>recentDocumentURLs</b>;<br />
<p>
</p>
<hr />
<h3>removeDocument:</a></h3>
- (void) <b>removeDocument:</b> (<a href="NSDocument.html#class$NSDocument">NSDocument</a>*)document;<br />
<p>
</p>
<hr />
<h3>reviewUnsavedDocumentsWithAlertTitle:cancellable:</a></h3>
- (BOOL) <b>reviewUnsavedDocumentsWithAlertTitle:</b> (NSString*)title<b> cancellable:</b> (BOOL)cancellable;<br />
<p>
</p>
<hr />
<h3>reviewUnsavedDocumentsWithAlertTitle:cancellable:delegate:didReviewAllSelector:contextInfo:</a></h3>
- (void) <b>reviewUnsavedDocumentsWithAlertTitle:</b> (NSString*)title<b> cancellable:</b> (BOOL)cancellable<b> delegate:</b> (id)delegate<b> didReviewAllSelector:</b> (SEL)didReviewAllSelector<b> contextInfo:</b> (void*)contextInfo;<br />
<p>
</p>
<hr />
<h3>runModalOpenPanel:forTypes:</a></h3>
- (int) <b>runModalOpenPanel:</b> (<a href="NSOpenPanel.html#class$NSOpenPanel">NSOpenPanel</a>*)openPanel<b> forTypes:</b> (NSArray*)openableFileExtensions;<br />
<p>
</p>
<hr />
<h3>saveAllDocuments:</a></h3>
- (IBAction) <b>saveAllDocuments:</b> (id)sender;<br />
<p>
</p>
<hr />
<h3>setShouldCreateUI:</a></h3>
- (void) <b>setShouldCreateUI:</b> (BOOL)flag;<br />
<p>
</p>
<hr />
<h3>shouldCreateUI</a></h3>
- (BOOL) <b>shouldCreateUI</b>;<br />
<p>
</p>
<hr />
<h3>typeFromFileExtension:</a></h3>
- (NSString*) <b>typeFromFileExtension:</b> (NSString*)fileExtension;<br />
<p>
</p>
<hr />
<h3>validateMenuItem:</a></h3>
- (BOOL) <b>validateMenuItem:</b> (NSMenuItem*)anItem;<br />
<p>
</p>
<hr />
<h3>validateUserInterfaceItem:</a></h3>
- (BOOL) <b>validateUserInterfaceItem:</b> (id)anItem;<br />
<p>
</p>
<hr />
</body>
</html>