|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.Pointer.Void com.jniwrapper.macosx.cocoa.Id com.jniwrapper.macosx.cocoa.CObject com.jniwrapper.macosx.cocoa.nsobject.NSObject com.jniwrapper.macosx.cocoa.nsdocument.NSDocument
This class represents NSDocument
class.
See the class documentation at the Apple's site: NSDocument
Field Summary |
Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
NSDocument()
|
|
NSDocument(boolean autorelease)
Contructs the NSDocument class with the autorelease option on. |
|
NSDocument(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSDocument class from pointer. |
|
NSDocument(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSDocument class with static constructor. |
Method Summary | |
void |
addWindowController(NSWindowController windowController)
|
com.jniwrapper.Bool |
canCloseDocument()
|
void |
canCloseDocumentWithDelegate_shouldCloseSelector_contextInfo(Id delegate,
Sel shouldCloseSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the canCloseDocumentWithDelegate() method of the NSDocument Objective-C class. |
void |
close()
|
com.jniwrapper.Pointer.Void |
dataRepresentationOfType(java.lang.String type)
|
com.jniwrapper.Pointer.Void |
displayName()
|
com.jniwrapper.Pointer.Void |
fileAttributesToWriteToFile_ofType_saveOperation(java.lang.String fullDocumentPath,
java.lang.String documentTypeName,
NSSaveOperationType saveOperationType)
This method represents the fileAttributesToWriteToFile() method of the NSDocument Objective-C class. |
com.jniwrapper.Pointer.Void |
fileName()
|
com.jniwrapper.Bool |
fileNameExtensionWasHiddenInLastRunSavePanel()
|
com.jniwrapper.Pointer.Void |
fileNameFromRunningSavePanelForSaveOperation(NSSaveOperationType saveOperation)
|
com.jniwrapper.Pointer.Void |
fileType()
|
com.jniwrapper.Pointer.Void |
fileTypeFromLastRunSavePanel()
|
com.jniwrapper.Pointer.Void |
fileWrapperRepresentationOfType(java.lang.String type)
|
Id |
handleCloseScriptCommand(NSCloseCommand command)
|
Id |
handlePrintScriptCommand(NSScriptCommand command)
|
Id |
handleSaveScriptCommand(NSScriptCommand command)
|
com.jniwrapper.Bool |
hasUndoManager()
|
Id |
init()
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
Id |
initWithContentsOfFile_ofType(java.lang.String fileName,
java.lang.String fileType)
This method represents the initWithContentsOfFile() method of the NSDocument Objective-C class. |
Id |
initWithContentsOfURL_ofType(NSURL url,
java.lang.String fileType)
This method represents the initWithContentsOfURL() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
isDocumentEdited()
|
com.jniwrapper.Bool |
keepBackupFile()
|
com.jniwrapper.Pointer.Void |
lastComponentOfFileName()
|
com.jniwrapper.Bool |
loadDataRepresentation_ofType(NSData data,
java.lang.String type)
This method represents the loadDataRepresentation() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
loadFileWrapperRepresentation_ofType(NSFileWrapper wrapper,
java.lang.String type)
This method represents the loadFileWrapperRepresentation() method of the NSDocument Objective-C class. |
void |
makeWindowControllers()
|
com.jniwrapper.Pointer.Void |
objectSpecifier()
|
com.jniwrapper.Bool |
preparePageLayout(NSPageLayout pageLayout)
|
com.jniwrapper.Bool |
prepareSavePanel(NSSavePanel savePanel)
|
com.jniwrapper.Pointer.Void |
printDocument(Id sender)
|
com.jniwrapper.Pointer.Void |
printInfo()
|
void |
printShowingPrintPanel(boolean flag)
|
com.jniwrapper.Bool |
readFromFile_ofType(java.lang.String fileName,
java.lang.String type)
This method represents the readFromFile() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
readFromURL_ofType(NSURL url,
java.lang.String type)
This method represents the readFromURL() method of the NSDocument Objective-C class. |
void |
removeWindowController(NSWindowController windowController)
|
com.jniwrapper.Pointer.Void |
revertDocumentToSaved(Id sender)
|
com.jniwrapper.Bool |
revertToSavedFromFile_ofType(java.lang.String fileName,
java.lang.String type)
This method represents the revertToSavedFromFile() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
revertToSavedFromURL_ofType(NSURL url,
java.lang.String type)
This method represents the revertToSavedFromURL() method of the NSDocument Objective-C class. |
void |
runModalPageLayoutWithPrintInfo_delegate_didRunSelector_contextInfo(NSPrintInfo printInfo,
Id delegate,
Sel didRunSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the runModalPageLayoutWithPrintInfo() method of the NSDocument Objective-C class. |
com.jniwrapper.Int |
runModalPageLayoutWithPrintInfo(NSPrintInfo printInfo)
|
void |
runModalPrintOperation_delegate_didRunSelector_contextInfo(NSPrintOperation printOperation,
Id delegate,
Sel didRunSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the runModalPrintOperation() method of the NSDocument Objective-C class. |
com.jniwrapper.Int |
runModalSavePanel_withAccessoryView(NSSavePanel savePanel,
NSView accessoryView)
This method represents the runModalSavePanel() method of the NSDocument Objective-C class. |
void |
runModalSavePanelForSaveOperation_delegate_didSaveSelector_contextInfo(NSSaveOperationType saveOperation,
Id delegate,
Sel didSaveSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the runModalSavePanelForSaveOperation() method of the NSDocument Objective-C class. |
com.jniwrapper.Pointer.Void |
runPageLayout(Id sender)
|
com.jniwrapper.Pointer.Void |
saveDocument(Id sender)
|
com.jniwrapper.Pointer.Void |
saveDocumentAs(Id sender)
|
com.jniwrapper.Pointer.Void |
saveDocumentTo(Id sender)
|
void |
saveDocumentWithDelegate_didSaveSelector_contextInfo(Id delegate,
Sel didSaveSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the saveDocumentWithDelegate() method of the NSDocument Objective-C class. |
void |
saveToFile_saveOperation_delegate_didSaveSelector_contextInfo(java.lang.String fileName,
NSSaveOperationType saveOperation,
Id delegate,
Sel didSaveSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the saveToFile() method of the NSDocument Objective-C class. |
void |
setFileName(java.lang.String fileName)
|
void |
setFileType(java.lang.String type)
|
void |
setHasUndoManager(boolean flag)
|
void |
setLastComponentOfFileName(java.lang.String str)
|
void |
setPrintInfo(NSPrintInfo printInfo)
|
void |
setUndoManager(NSUndoManager undoManager)
|
void |
setWindow(NSWindow window)
|
com.jniwrapper.Bool |
shouldChangePrintInfo(NSPrintInfo newPrintInfo)
|
void |
shouldCloseWindowController_delegate_shouldCloseSelector_contextInfo(NSWindowController windowController,
Id delegate,
Sel callback,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the shouldCloseWindowController() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
shouldCloseWindowController(NSWindowController windowController)
|
com.jniwrapper.Bool |
shouldRunSavePanelWithAccessoryView()
|
void |
showWindows()
|
static com.jniwrapper.Bool |
static_isNativeType(java.lang.String type)
|
static com.jniwrapper.Pointer.Void |
static_readableTypes()
|
static com.jniwrapper.Pointer.Void |
static_writableTypes()
|
com.jniwrapper.Pointer.Void |
undoManager()
|
void |
updateChangeCount(NSDocumentChangeType change)
|
com.jniwrapper.Bool |
validateMenuItem(NSMenuItem anItem)
|
com.jniwrapper.Bool |
validateUserInterfaceItem(Id anItem)
|
void |
windowControllerDidLoadNib(NSWindowController windowController)
|
com.jniwrapper.Pointer.Void |
windowControllers()
|
void |
windowControllerWillLoadNib(NSWindowController windowController)
|
com.jniwrapper.Pointer.Void |
windowForSheet()
|
com.jniwrapper.Pointer.Void |
windowNibName()
|
com.jniwrapper.Bool |
writeToFile_ofType_originalFile_saveOperation(java.lang.String fullDocumentPath,
java.lang.String documentTypeName,
java.lang.String fullOriginalDocumentPath,
NSSaveOperationType saveOperationType)
This method represents the writeToFile() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
writeToFile_ofType(java.lang.String fileName,
java.lang.String type)
This method represents the writeToFile() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
writeToURL_ofType(NSURL url,
java.lang.String type)
This method represents the writeToURL() method of the NSDocument Objective-C class. |
com.jniwrapper.Bool |
writeWithBackupToFile_ofType_saveOperation(java.lang.String fullDocumentPath,
java.lang.String documentTypeName,
NSSaveOperationType saveOperationType)
This method represents the writeWithBackupToFile() method of the NSDocument Objective-C class. |
Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NSDocument()
public NSDocument(boolean autorelease)
NSDocument
class with the autorelease option on.
autorelease
- public NSDocument(com.jniwrapper.Pointer.Void instancePtr)
NSDocument
class from pointer.
instancePtr
- public NSDocument(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSDocument
class with static constructor.
methodName
- parameters
- Method Detail |
protected void init(com.jniwrapper.Parameter[] fields)
init
in class NSObject
public void setFileType(java.lang.String type)
public void setFileName(java.lang.String fileName)
public com.jniwrapper.Bool preparePageLayout(NSPageLayout pageLayout)
public com.jniwrapper.Bool writeToFile_ofType(java.lang.String fileName, java.lang.String type)
writeToFile()
method of the NSDocument Objective-C class.
fileName
- type
-
public Id handleCloseScriptCommand(NSCloseCommand command)
public com.jniwrapper.Pointer.Void objectSpecifier()
objectSpecifier
in class NSObject
public com.jniwrapper.Pointer.Void saveDocument(Id sender)
public com.jniwrapper.Pointer.Void fileTypeFromLastRunSavePanel()
public com.jniwrapper.Int runModalSavePanel_withAccessoryView(NSSavePanel savePanel, NSView accessoryView)
runModalSavePanel()
method of the NSDocument Objective-C class.
savePanel
- accessoryView
-
public com.jniwrapper.Pointer.Void windowForSheet()
public com.jniwrapper.Bool loadFileWrapperRepresentation_ofType(NSFileWrapper wrapper, java.lang.String type)
loadFileWrapperRepresentation()
method of the NSDocument Objective-C class.
wrapper
- type
-
public void runModalPageLayoutWithPrintInfo_delegate_didRunSelector_contextInfo(NSPrintInfo printInfo, Id delegate, Sel didRunSelector, com.jniwrapper.Pointer.Void contextInfo)
runModalPageLayoutWithPrintInfo()
method of the NSDocument Objective-C class.
printInfo
- delegate
- didRunSelector
- contextInfo
- public com.jniwrapper.Bool isDocumentEdited()
public com.jniwrapper.Pointer.Void revertDocumentToSaved(Id sender)
public com.jniwrapper.Bool shouldRunSavePanelWithAccessoryView()
public void makeWindowControllers()
public com.jniwrapper.Pointer.Void saveDocumentTo(Id sender)
public void setPrintInfo(NSPrintInfo printInfo)
public void removeWindowController(NSWindowController windowController)
public com.jniwrapper.Pointer.Void windowNibName()
public void addWindowController(NSWindowController windowController)
public com.jniwrapper.Pointer.Void saveDocumentAs(Id sender)
public void updateChangeCount(NSDocumentChangeType change)
public void canCloseDocumentWithDelegate_shouldCloseSelector_contextInfo(Id delegate, Sel shouldCloseSelector, com.jniwrapper.Pointer.Void contextInfo)
canCloseDocumentWithDelegate()
method of the NSDocument Objective-C class.
delegate
- shouldCloseSelector
- contextInfo
- public com.jniwrapper.Pointer.Void fileType()
public com.jniwrapper.Bool prepareSavePanel(NSSavePanel savePanel)
public com.jniwrapper.Pointer.Void fileName()
public void setHasUndoManager(boolean flag)
public Id initWithContentsOfFile_ofType(java.lang.String fileName, java.lang.String fileType)
initWithContentsOfFile()
method of the NSDocument Objective-C class.
fileName
- fileType
-
public com.jniwrapper.Pointer.Void fileNameFromRunningSavePanelForSaveOperation(NSSaveOperationType saveOperation)
public void runModalSavePanelForSaveOperation_delegate_didSaveSelector_contextInfo(NSSaveOperationType saveOperation, Id delegate, Sel didSaveSelector, com.jniwrapper.Pointer.Void contextInfo)
runModalSavePanelForSaveOperation()
method of the NSDocument Objective-C class.
saveOperation
- delegate
- didSaveSelector
- contextInfo
- public com.jniwrapper.Pointer.Void printDocument(Id sender)
public com.jniwrapper.Pointer.Void fileAttributesToWriteToFile_ofType_saveOperation(java.lang.String fullDocumentPath, java.lang.String documentTypeName, NSSaveOperationType saveOperationType)
fileAttributesToWriteToFile()
method of the NSDocument Objective-C class.
fullDocumentPath
- documentTypeName
- saveOperationType
-
public com.jniwrapper.Bool keepBackupFile()
public Id handlePrintScriptCommand(NSScriptCommand command)
public com.jniwrapper.Bool readFromFile_ofType(java.lang.String fileName, java.lang.String type)
readFromFile()
method of the NSDocument Objective-C class.
fileName
- type
-
public void shouldCloseWindowController_delegate_shouldCloseSelector_contextInfo(NSWindowController windowController, Id delegate, Sel callback, com.jniwrapper.Pointer.Void contextInfo)
shouldCloseWindowController()
method of the NSDocument Objective-C class.
windowController
- delegate
- callback
- contextInfo
- public com.jniwrapper.Bool shouldChangePrintInfo(NSPrintInfo newPrintInfo)
public com.jniwrapper.Bool hasUndoManager()
public void runModalPrintOperation_delegate_didRunSelector_contextInfo(NSPrintOperation printOperation, Id delegate, Sel didRunSelector, com.jniwrapper.Pointer.Void contextInfo)
runModalPrintOperation()
method of the NSDocument Objective-C class.
printOperation
- delegate
- didRunSelector
- contextInfo
- public com.jniwrapper.Pointer.Void displayName()
public com.jniwrapper.Pointer.Void undoManager()
public Id init()
init
in class NSObject
public void windowControllerDidLoadNib(NSWindowController windowController)
public void close()
public com.jniwrapper.Bool writeToFile_ofType_originalFile_saveOperation(java.lang.String fullDocumentPath, java.lang.String documentTypeName, java.lang.String fullOriginalDocumentPath, NSSaveOperationType saveOperationType)
writeToFile()
method of the NSDocument Objective-C class.
fullDocumentPath
- documentTypeName
- fullOriginalDocumentPath
- saveOperationType
-
public com.jniwrapper.Pointer.Void runPageLayout(Id sender)
public void showWindows()
public com.jniwrapper.Bool shouldCloseWindowController(NSWindowController windowController)
public static com.jniwrapper.Pointer.Void static_readableTypes()
public static com.jniwrapper.Bool static_isNativeType(java.lang.String type)
public void saveDocumentWithDelegate_didSaveSelector_contextInfo(Id delegate, Sel didSaveSelector, com.jniwrapper.Pointer.Void contextInfo)
saveDocumentWithDelegate()
method of the NSDocument Objective-C class.
delegate
- didSaveSelector
- contextInfo
- public com.jniwrapper.Bool revertToSavedFromFile_ofType(java.lang.String fileName, java.lang.String type)
revertToSavedFromFile()
method of the NSDocument Objective-C class.
fileName
- type
-
public void saveToFile_saveOperation_delegate_didSaveSelector_contextInfo(java.lang.String fileName, NSSaveOperationType saveOperation, Id delegate, Sel didSaveSelector, com.jniwrapper.Pointer.Void contextInfo)
saveToFile()
method of the NSDocument Objective-C class.
fileName
- saveOperation
- delegate
- didSaveSelector
- contextInfo
- public void setLastComponentOfFileName(java.lang.String str)
public com.jniwrapper.Pointer.Void lastComponentOfFileName()
public com.jniwrapper.Bool validateMenuItem(NSMenuItem anItem)
public Id handleSaveScriptCommand(NSScriptCommand command)
public com.jniwrapper.Bool readFromURL_ofType(NSURL url, java.lang.String type)
readFromURL()
method of the NSDocument Objective-C class.
url
- type
-
public com.jniwrapper.Bool writeToURL_ofType(NSURL url, java.lang.String type)
writeToURL()
method of the NSDocument Objective-C class.
url
- type
-
public void windowControllerWillLoadNib(NSWindowController windowController)
public com.jniwrapper.Pointer.Void dataRepresentationOfType(java.lang.String type)
public com.jniwrapper.Bool canCloseDocument()
public com.jniwrapper.Pointer.Void fileWrapperRepresentationOfType(java.lang.String type)
public com.jniwrapper.Pointer.Void printInfo()
public com.jniwrapper.Pointer.Void windowControllers()
public void setUndoManager(NSUndoManager undoManager)
public void setWindow(NSWindow window)
public com.jniwrapper.Bool validateUserInterfaceItem(Id anItem)
public com.jniwrapper.Bool writeWithBackupToFile_ofType_saveOperation(java.lang.String fullDocumentPath, java.lang.String documentTypeName, NSSaveOperationType saveOperationType)
writeWithBackupToFile()
method of the NSDocument Objective-C class.
fullDocumentPath
- documentTypeName
- saveOperationType
-
public static com.jniwrapper.Pointer.Void static_writableTypes()
public com.jniwrapper.Bool loadDataRepresentation_ofType(NSData data, java.lang.String type)
loadDataRepresentation()
method of the NSDocument Objective-C class.
data
- type
-
public Id initWithContentsOfURL_ofType(NSURL url, java.lang.String fileType)
initWithContentsOfURL()
method of the NSDocument Objective-C class.
url
- fileType
-
public com.jniwrapper.Int runModalPageLayoutWithPrintInfo(NSPrintInfo printInfo)
public void printShowingPrintPanel(boolean flag)
public com.jniwrapper.Bool revertToSavedFromURL_ofType(NSURL url, java.lang.String type)
revertToSavedFromURL()
method of the NSDocument Objective-C class.
url
- type
-
public com.jniwrapper.Bool fileNameExtensionWasHiddenInLastRunSavePanel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |