C# Class Smartmobili.Cocoa.NSDocument

Inheritance: NSObject
Mostra file Open project: smartmobili/CocoaBuilder

Public Properties

Property Type Description
Class Class

Protected Properties

Property Type Description
_autosave_change_count long
_autosaved_file_url NSURL
_change_count long
_document_index int
_file_name NSString
_file_type NSString
_file_url NSURL
_last_component_file_name NSString
_printOp_delegate id
_printOp_didRunSelector SEL
_save_panel_accessory NSView
_save_type NSString
_spa_button NSPopUpButton
_window NSWindow
_window_controllers NSMutableArray

Public Methods

Method Description
Alloc ( ) : NSDocument
GetFileType ( ) : NSString
GetFileURL ( ) : NSURL
Init ( ) : id
InitForURL ( NSURL forUrl, NSURL url, NSString type, NSError &error ) : id
InitForURL ( NSURL absoluteURL, NSURL absoluteDocumentContentsURL, NSString typeName, object dummyNullable ) : id
InitWithContentsOfURL ( NSURL url, NSString type, NSError &error ) : id
InitWithType ( NSString type, NSError &error ) : id
LoadDataRepresentation ( NSData data, NSString type ) : bool
LoadFileWrapperRepresentation ( NSFileWrapper wrapper, NSString type ) : bool
ReadFromData ( NSData data, NSString typeName, NSError &outError ) : bool
ReadFromFile ( NSString fileName, NSString type ) : bool
ReadFromFileWrapper ( NSFileWrapper fileWrapper, NSString typeName, NSError &outError ) : bool
ReadFromURL ( NSURL url, NSString typeName, NSError &outError ) : bool
ReadFromURL ( NSURL url, NSString typeName, object unused = null ) : bool
SetFileType ( NSString type ) : void
SetFileURL ( NSURL url ) : void
SetLastComponentOfFileName ( NSString str ) : void

Method Details

Alloc() public static method

public static Alloc ( ) : NSDocument
return NSDocument

GetFileType() public method

public GetFileType ( ) : NSString
return NSString

GetFileURL() public method

public GetFileURL ( ) : NSURL
return NSURL

Init() public method

public Init ( ) : id
return id

InitForURL() public method

public InitForURL ( NSURL forUrl, NSURL url, NSString type, NSError &error ) : id
forUrl NSURL
url NSURL
type NSString
error NSError
return id

InitForURL() public method

public InitForURL ( NSURL absoluteURL, NSURL absoluteDocumentContentsURL, NSString typeName, object dummyNullable ) : id
absoluteURL NSURL
absoluteDocumentContentsURL NSURL
typeName NSString
dummyNullable object
return id

InitWithContentsOfURL() public method

public InitWithContentsOfURL ( NSURL url, NSString type, NSError &error ) : id
url NSURL
type NSString
error NSError
return id

InitWithType() public method

public InitWithType ( NSString type, NSError &error ) : id
type NSString
error NSError
return id

LoadDataRepresentation() public method

public LoadDataRepresentation ( NSData data, NSString type ) : bool
data NSData
type NSString
return bool

LoadFileWrapperRepresentation() public method

public LoadFileWrapperRepresentation ( NSFileWrapper wrapper, NSString type ) : bool
wrapper NSFileWrapper
type NSString
return bool

ReadFromData() public method

public ReadFromData ( NSData data, NSString typeName, NSError &outError ) : bool
data NSData
typeName NSString
outError NSError
return bool

ReadFromFile() public method

public ReadFromFile ( NSString fileName, NSString type ) : bool
fileName NSString
type NSString
return bool

ReadFromFileWrapper() public method

public ReadFromFileWrapper ( NSFileWrapper fileWrapper, NSString typeName, NSError &outError ) : bool
fileWrapper NSFileWrapper
typeName NSString
outError NSError
return bool

ReadFromURL() public method

public ReadFromURL ( NSURL url, NSString typeName, NSError &outError ) : bool
url NSURL
typeName NSString
outError NSError
return bool

ReadFromURL() public method

public ReadFromURL ( NSURL url, NSString typeName, object unused = null ) : bool
url NSURL
typeName NSString
unused object
return bool

SetFileType() public method

public SetFileType ( NSString type ) : void
type NSString
return void

SetFileURL() public method

public SetFileURL ( NSURL url ) : void
url NSURL
return void

SetLastComponentOfFileName() public method

public SetLastComponentOfFileName ( NSString str ) : void
str NSString
return void

Property Details

Class public_oe static_oe property

public static Class,Smartmobili.Cocoa Class
return Class

_autosave_change_count protected_oe property

protected long _autosave_change_count
return long

_autosaved_file_url protected_oe property

protected NSURL _autosaved_file_url
return NSURL

_change_count protected_oe property

protected long _change_count
return long

_document_index protected_oe property

protected int _document_index
return int

_file_name protected_oe property

protected NSString _file_name
return NSString

_file_type protected_oe property

protected NSString _file_type
return NSString

_file_url protected_oe property

protected NSURL _file_url
return NSURL

_last_component_file_name protected_oe property

protected NSString _last_component_file_name
return NSString

_printOp_delegate protected_oe property

protected id _printOp_delegate
return id

_printOp_didRunSelector protected_oe property

protected SEL _printOp_didRunSelector
return SEL

_save_panel_accessory protected_oe property

protected NSView _save_panel_accessory
return NSView

_save_type protected_oe property

protected NSString _save_type
return NSString

_spa_button protected_oe property

protected NSPopUpButton _spa_button
return NSPopUpButton

_window protected_oe property

protected NSWindow _window
return NSWindow

_window_controllers protected_oe property

protected NSMutableArray _window_controllers
return NSMutableArray