org.rococoa.cocoa.appkit
Class NSPageLayout

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSPageLayout
All Implemented Interfaces:
NSObject, ObjCObject

public abstract class NSPageLayout
extends NSObject
implements ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSPageLayout._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPageLayout()
           
 
Method Summary
abstract  NSArray accessoryControllers()
          Original signature : -(NSArray*)accessoryControllers
native declaration : NSPageLayout.h:39
abstract  void addAccessoryController(NSViewController accessoryController)
          Controllers for the accessory views that will be presented in the page setup panel by the methods below.
static NSPageLayout alloc()
           
 NSDeprecated as_NSPageLayout_NSDeprecated()
           
abstract  void beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo(NSPrintInfo printInfo, NSWindow docWindow, ObjCObject delegate, Selector didEndSelector, Pointer contextInfo)
          Present a page setup panel to the user, document-modally.
static NSPageLayout._class_ getNSClass()
           
static NSPageLayout new_()
           
static NSPageLayout pageLayout()
          Create a new NSPageLayout.
abstract  NSPrintInfo printInfo()
          A simple accessor.
abstract  void removeAccessoryController(NSViewController accessoryController)
          Original signature : -(void)removeAccessoryController:(NSViewController*)
native declaration : NSPageLayout.h:38
abstract  NSInteger runModal()
          Original signature : -(NSInteger)runModal
native declaration : NSPageLayout.h:52
abstract  NSInteger runModalWithPrintInfo(NSPrintInfo printInfo)
          Present a page setup panel to the user, application-modally, and return either NSOKButton or NSCancelButton.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPageLayout

public NSPageLayout()
Method Detail

as_NSPageLayout_NSDeprecated

public NSDeprecated as_NSPageLayout_NSDeprecated()

pageLayout

public static NSPageLayout pageLayout()
Create a new NSPageLayout.
Original signature : +(NSPageLayout*)pageLayout
native declaration : NSPageLayout.h:31


addAccessoryController

public abstract void addAccessoryController(NSViewController accessoryController)
Controllers for the accessory views that will be presented in the page setup panel by the methods below. When the page setup panel is presented to the user each controller is automatically sent a -setRepresentedObject: message with this object's NSPrintInfo. Because NSViewControllers are KVC and KVO compliant for "representedObject," you can use one as the file's owner of an accessory view's nib and bind controls to the file's owner using key paths that start with "representedObject." to take advantage of NSPrintInfo's KVC and KVO compliance. Each controller is also automatically sent a -title message. If that returns nil the application's short name is used in the popup menu that lets the user choose an accessory view.
Original signature : -(void)addAccessoryController:(NSViewController*)
native declaration : NSPageLayout.h:37


removeAccessoryController

public abstract void removeAccessoryController(NSViewController accessoryController)
Original signature : -(void)removeAccessoryController:(NSViewController*)
native declaration : NSPageLayout.h:38


accessoryControllers

public abstract NSArray accessoryControllers()
Original signature : -(NSArray*)accessoryControllers
native declaration : NSPageLayout.h:39


beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo

public abstract void beginSheetWithPrintInfo_modalForWindow_delegate_didEndSelector_contextInfo(NSPrintInfo printInfo,
                                                                                                NSWindow docWindow,
                                                                                                ObjCObject delegate,
                                                                                                Selector didEndSelector,
                                                                                                Pointer contextInfo)
Present a page setup panel to the user, document-modally. When the user has dismissed it, send the message selected by didEndSelector to the delegate, with the contextInfo as the last argument. The method selected by didEndSelector must have the same signature as:
- (void)pageLayoutDidEnd:(NSPageLayout *)pageLayout returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
Original signature : -(void)beginSheetWithPrintInfo:(NSPrintInfo*) modalForWindow:(NSWindow*) delegate:(id) didEndSelector:(SEL) contextInfo:(void*)
native declaration : NSPageLayout.h:47


runModalWithPrintInfo

public abstract NSInteger runModalWithPrintInfo(NSPrintInfo printInfo)
Present a page setup panel to the user, application-modally, and return either NSOKButton or NSCancelButton. The default implementation of -runModal just invokes [self runModalWithPrintInfo:[NSPrintInfo sharedPrintInfo]].
Original signature : -(NSInteger)runModalWithPrintInfo:(NSPrintInfo*)
native declaration : NSPageLayout.h:51


runModal

public abstract NSInteger runModal()
Original signature : -(NSInteger)runModal
native declaration : NSPageLayout.h:52


printInfo

public abstract NSPrintInfo printInfo()
A simple accessor. Your -beginSheetWithPrintInfo:... delegate can use this so it doesn't have to keep a pointer to the NSPrintInfo elsewhere while waiting for the user to dismiss the print panel.
Original signature : -(NSPrintInfo*)printInfo
native declaration : NSPageLayout.h:56


alloc

public static NSPageLayout alloc()

new_

public static NSPageLayout new_()

getNSClass

public static NSPageLayout._class_ getNSClass()


Copyright © 2009. All Rights Reserved.