|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSPrinter
public abstract class NSPrinter
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 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 |
---|
public NSPrinter()
Method Detail |
---|
public NSDeprecated as_NSPrinter_NSDeprecated()
public static NSArray printerNames()
+(NSArray*)printerNames
public static NSArray printerTypes()
+(NSArray*)printerTypes
public static NSPrinter printerWithName(NSString name)
+(NSPrinter*)printerWithName:(NSString*)
public static NSPrinter printerWithType(NSString type)
+(NSPrinter*)printerWithType:(NSString*)
public abstract NSString name()
-(NSString*)name
public abstract NSString type()
-(NSString*)type
public abstract NSInteger languageLevel()
-(NSInteger)languageLevel
public abstract NSObject pageSizeForPaper(NSString paperName)
-(id)pageSizeForPaper:(NSString*)
public abstract int statusForTable(NSString tableName)
-(NSPrinterTableStatus)statusForTable:(NSString*)
public abstract boolean isKey_inTable(NSString key, NSString table)
-(BOOL)isKey:(NSString*) inTable:(NSString*)
public abstract boolean booleanForKey_inTable(NSString key, NSString table)
-(BOOL)booleanForKey:(NSString*) inTable:(NSString*)
public abstract float floatForKey_inTable(NSString key, NSString table)
-(float)floatForKey:(NSString*) inTable:(NSString*)
public abstract int intForKey_inTable(NSString key, NSString table)
-(int)intForKey:(NSString*) inTable:(NSString*)
public abstract NSObject rectForKey_inTable(NSString key, NSString table)
-(id)rectForKey:(NSString*) inTable:(NSString*)
public abstract NSObject sizeForKey_inTable(NSString key, NSString table)
-(id)sizeForKey:(NSString*) inTable:(NSString*)
public abstract NSString stringForKey_inTable(NSString key, NSString table)
-(NSString*)stringForKey:(NSString*) inTable:(NSString*)
public abstract NSArray stringListForKey_inTable(NSString key, NSString table)
-(NSArray*)stringListForKey:(NSString*) inTable:(NSString*)
public abstract NSDictionary deviceDescription()
-(NSDictionary*)deviceDescription
public static NSPrinter alloc()
public static NSPrinter new_()
public static NSPrinter._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |