org.rococoa.cocoa.appkit
Class NSPrinter

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

public abstract class NSPrinter
extends NSObject
implements ObjCObject, NSCopying, NSCoding

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 NSPrinter._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPrinter()
           
 
Method Summary
static NSPrinter alloc()
           
 NSDeprecated as_NSPrinter_NSDeprecated()
           
abstract  boolean booleanForKey_inTable(NSString key, NSString table)
          Original signature : -(BOOL)booleanForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:77
abstract  NSDictionary deviceDescription()
          Return a dictionary that describes the printing device using entries keyed by the NSDevice... strings declared in NSGraphics.h.
abstract  float floatForKey_inTable(NSString key, NSString table)
          Original signature : -(float)floatForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:78
static NSPrinter._class_ getNSClass()
           
abstract  int intForKey_inTable(NSString key, NSString table)
          Original signature : -(int)intForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:79
abstract  boolean isKey_inTable(NSString key, NSString table)
          Methods for accessing the information in the printer's PPD.
abstract  NSInteger languageLevel()
          Return the PostScript language level of the printer if it is a PostScript printer, or 0 if it is not a PostScript printer or for failure.
abstract  NSString name()
          Return the printer's human-readable name, or an empty string for failure.
static NSPrinter new_()
           
abstract  NSObject pageSizeForPaper(NSString paperName)
          Given a valid paper name, return the corresponding paper size in points, or NSZeroSize for failure.
static NSArray printerNames()
          Return an array of strings that contain the human-readable names of all available printers.
static NSArray printerTypes()
          Return an array of strings that contain the human-readable descriptions of the makes and models of all available printers.
static NSPrinter printerWithName(NSString name)
          Given a human-readable printer name of the sort that appears in a Print panel's "Printer:" popup menu, return an instance of NSPrinter if the named printer is available, nil otherwise.
static NSPrinter printerWithType(NSString type)
          Given a string of the sort returned by +printerTypes:, return the first printer whose description matches, or nil if no available printer matches.
abstract  NSObject rectForKey_inTable(NSString key, NSString table)
          Original signature : -(id)rectForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:80
abstract  NSObject sizeForKey_inTable(NSString key, NSString table)
          Original signature : -(id)sizeForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:81
abstract  int statusForTable(NSString tableName)
          Return the status of the named table in the printer's PostScript Printer Description (PPD) if the PPD is available.
abstract  NSString stringForKey_inTable(NSString key, NSString table)
          Original signature : -(NSString*)stringForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:82
abstract  NSArray stringListForKey_inTable(NSString key, NSString table)
          Original signature : -(NSArray*)stringListForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:83
abstract  NSString type()
          Return a human-readable description of the printer's make and model, or an empty string for failure.
 
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.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
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

NSPrinter

public NSPrinter()
Method Detail

as_NSPrinter_NSDeprecated

public NSDeprecated as_NSPrinter_NSDeprecated()

printerNames

public static NSArray printerNames()
Return an array of strings that contain the human-readable names of all available printers.
Original signature : +(NSArray*)printerNames
native declaration : NSPrinter.h:40


printerTypes

public static NSArray printerTypes()
Return an array of strings that contain the human-readable descriptions of the makes and models of all available printers. The array may contain fewer entries than the array that would be returned by an invocation of +printerNames.
Original signature : +(NSArray*)printerTypes
native declaration : NSPrinter.h:44


printerWithName

public static NSPrinter printerWithName(NSString name)
Given a human-readable printer name of the sort that appears in a Print panel's "Printer:" popup menu, return an instance of NSPrinter if the named printer is available, nil otherwise.
Original signature : +(NSPrinter*)printerWithName:(NSString*)
native declaration : NSPrinter.h:48


printerWithType

public static NSPrinter printerWithType(NSString type)
Given a string of the sort returned by +printerTypes:, return the first printer whose description matches, or nil if no available printer matches.
Original signature : +(NSPrinter*)printerWithType:(NSString*)
native declaration : NSPrinter.h:52


name

public abstract NSString name()
Return the printer's human-readable name, or an empty string for failure.
Original signature : -(NSString*)name
native declaration : NSPrinter.h:56


type

public abstract NSString type()
Return a human-readable description of the printer's make and model, or an empty string for failure.
Original signature : -(NSString*)type
native declaration : NSPrinter.h:60


languageLevel

public abstract NSInteger languageLevel()
Return the PostScript language level of the printer if it is a PostScript printer, or 0 if it is not a PostScript printer or for failure.
Original signature : -(NSInteger)languageLevel
native declaration : NSPrinter.h:64


pageSizeForPaper

public abstract NSObject pageSizeForPaper(NSString paperName)
Given a valid paper name, return the corresponding paper size in points, or NSZeroSize for failure.
Original signature : -(id)pageSizeForPaper:(NSString*)
native declaration : NSPrinter.h:68


statusForTable

public abstract int statusForTable(NSString tableName)
Return the status of the named table in the printer's PostScript Printer Description (PPD) if the PPD is available. NSPrinterTableNotFound is returned for every table name if no PPD is available.
Original signature : -(NSPrinterTableStatus)statusForTable:(NSString*)
native declaration : NSPrinter.h:72


isKey_inTable

public abstract boolean isKey_inTable(NSString key,
                                      NSString table)
Methods for accessing the information in the printer's PPD. If no PPD is available for the printer, values such as NO, 0, NSZeroRect, NSZeroSize, and nil are returned.
Original signature : -(BOOL)isKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:76


booleanForKey_inTable

public abstract boolean booleanForKey_inTable(NSString key,
                                              NSString table)
Original signature : -(BOOL)booleanForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:77


floatForKey_inTable

public abstract float floatForKey_inTable(NSString key,
                                          NSString table)
Original signature : -(float)floatForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:78


intForKey_inTable

public abstract int intForKey_inTable(NSString key,
                                      NSString table)
Original signature : -(int)intForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:79


rectForKey_inTable

public abstract NSObject rectForKey_inTable(NSString key,
                                            NSString table)
Original signature : -(id)rectForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:80


sizeForKey_inTable

public abstract NSObject sizeForKey_inTable(NSString key,
                                            NSString table)
Original signature : -(id)sizeForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:81


stringForKey_inTable

public abstract NSString stringForKey_inTable(NSString key,
                                              NSString table)
Original signature : -(NSString*)stringForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:82


stringListForKey_inTable

public abstract NSArray stringListForKey_inTable(NSString key,
                                                 NSString table)
Original signature : -(NSArray*)stringListForKey:(NSString*) inTable:(NSString*)
native declaration : NSPrinter.h:83


deviceDescription

public abstract NSDictionary deviceDescription()
Return a dictionary that describes the printing device using entries keyed by the NSDevice... strings declared in NSGraphics.h. The only entry that is guaranteed to exist in the returned dictionary is NSDeviceIsPrinter.
Original signature : -(NSDictionary*)deviceDescription
native declaration : NSPrinter.h:87


alloc

public static NSPrinter alloc()

new_

public static NSPrinter new_()

getNSClass

public static NSPrinter._class_ getNSClass()


Copyright © 2009. All Rights Reserved.