Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / java / awt / print / JavaPrinterJob.h
blob6275b13e49b8704129e5dee08731d84a4d13acaa
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_awt_print_JavaPrinterJob__
5 #define __gnu_java_awt_print_JavaPrinterJob__
7 #pragma interface
9 #include <java/awt/print/PrinterJob.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace java
18 namespace awt
20 namespace print
22 class JavaPrinterJob;
27 namespace java
29 namespace awt
31 namespace print
33 class PageFormat;
34 class Pageable;
35 class Printable;
39 namespace javax
41 namespace print
43 class DocPrintJob;
44 class PrintService;
45 namespace attribute
47 class PrintRequestAttributeSet;
53 class gnu::java::awt::print::JavaPrinterJob : public ::java::awt::print::PrinterJob
56 public:
57 JavaPrinterJob();
58 private:
59 void getPageAttributes();
60 public:
61 virtual jint getCopies();
62 virtual void setCopies(jint);
63 virtual ::java::lang::String * getJobName();
64 virtual void setJobName(::java::lang::String *);
65 virtual ::java::lang::String * getUserName();
66 virtual void cancel();
67 virtual jboolean isCancelled();
68 virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *);
69 virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *);
70 virtual void print();
71 virtual void print(::javax::print::attribute::PrintRequestAttributeSet *);
72 virtual jboolean printDialog();
73 virtual jboolean printDialog(::javax::print::attribute::PrintRequestAttributeSet *);
74 virtual void setPageable(::java::awt::print::Pageable *);
75 virtual void setPrintable(::java::awt::print::Printable *);
76 virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
77 virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *);
78 virtual void setPrintService(::javax::print::PrintService *);
79 private:
80 ::javax::print::PrintService * __attribute__((aligned(__alignof__( ::java::awt::print::PrinterJob)))) printer;
81 ::javax::print::attribute::PrintRequestAttributeSet * attributes;
82 static JArray< ::javax::print::PrintService * > * services;
83 ::javax::print::DocPrintJob * printJob;
84 ::java::awt::print::Printable * printable;
85 ::java::awt::print::PageFormat * pageFormat;
86 ::java::awt::print::Pageable * pageable;
87 jboolean cancelled;
88 static ::java::lang::Class * copyClass;
89 static ::java::lang::Class * jobNameClass;
90 static ::java::lang::Class * userNameClass;
91 public:
92 static ::java::lang::Class class$;
95 #endif // __gnu_java_awt_print_JavaPrinterJob__