1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_javax_print_PrinterDialog__
|
5 |
|
|
#define __gnu_javax_print_PrinterDialog__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/JDialog.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace javax
|
17 |
|
|
{
|
18 |
|
|
namespace print
|
19 |
|
|
{
|
20 |
|
|
class PrinterDialog;
|
21 |
|
|
class PrinterDialog$AppearancePanel;
|
22 |
|
|
class PrinterDialog$GeneralPanel;
|
23 |
|
|
class PrinterDialog$PageSetupPanel;
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
namespace java
|
28 |
|
|
{
|
29 |
|
|
namespace awt
|
30 |
|
|
{
|
31 |
|
|
class GraphicsConfiguration;
|
32 |
|
|
namespace event
|
33 |
|
|
{
|
34 |
|
|
class ActionEvent;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
namespace javax
|
39 |
|
|
{
|
40 |
|
|
namespace print
|
41 |
|
|
{
|
42 |
|
|
class DocFlavor;
|
43 |
|
|
class PrintService;
|
44 |
|
|
namespace attribute
|
45 |
|
|
{
|
46 |
|
|
class Attribute;
|
47 |
|
|
class PrintRequestAttributeSet;
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
namespace swing
|
51 |
|
|
{
|
52 |
|
|
class JButton;
|
53 |
|
|
}
|
54 |
|
|
}
|
55 |
|
|
}
|
56 |
|
|
|
57 |
|
|
class gnu::javax::print::PrinterDialog : public ::javax::swing::JDialog
|
58 |
|
|
{
|
59 |
|
|
|
60 |
|
|
PrinterDialog(::java::awt::GraphicsConfiguration *, JArray< ::javax::print::PrintService * > *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *, jboolean, ::java::lang::String *);
|
61 |
|
|
public:
|
62 |
|
|
PrinterDialog(::java::awt::GraphicsConfiguration *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *);
|
63 |
|
|
PrinterDialog(::java::awt::GraphicsConfiguration *, JArray< ::javax::print::PrintService * > *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *);
|
64 |
|
|
private:
|
65 |
|
|
void initUI(jboolean);
|
66 |
|
|
public:
|
67 |
|
|
::javax::print::attribute::PrintRequestAttributeSet * getAttributes();
|
68 |
|
|
::javax::print::PrintService * getSelectedPrintService();
|
69 |
|
|
public: // actually protected
|
70 |
|
|
void setSelectedPrintService(::javax::print::PrintService *);
|
71 |
|
|
JArray< ::javax::print::PrintService * > * getPrintServices();
|
72 |
|
|
public: // actually package-private
|
73 |
|
|
void updateAll();
|
74 |
|
|
jboolean categorySupported(::java::lang::Class *);
|
75 |
|
|
::java::lang::Object * defaultValue(::java::lang::Class *);
|
76 |
|
|
::javax::print::attribute::Attribute * attribute(::java::lang::Class *);
|
77 |
|
|
public:
|
78 |
|
|
void actionPerformed(::java::awt::event::ActionEvent *);
|
79 |
|
|
public: // actually package-private
|
80 |
|
|
static ::java::lang::String * getLocalizedString(::java::lang::String *);
|
81 |
|
|
static ::javax::print::attribute::PrintRequestAttributeSet * access$0(::gnu::javax::print::PrinterDialog *);
|
82 |
|
|
static ::javax::print::DocFlavor * access$1(::gnu::javax::print::PrinterDialog *);
|
83 |
|
|
private:
|
84 |
|
|
::javax::swing::JButton * __attribute__((aligned(__alignof__( ::javax::swing::JDialog)))) ok_bt;
|
85 |
|
|
::javax::swing::JButton * cancel_bt;
|
86 |
|
|
::gnu::javax::print::PrinterDialog$GeneralPanel * general_panel;
|
87 |
|
|
::gnu::javax::print::PrinterDialog$PageSetupPanel * pagesetup_panel;
|
88 |
|
|
::gnu::javax::print::PrinterDialog$AppearancePanel * appearance_panel;
|
89 |
|
|
JArray< ::javax::print::PrintService * > * services;
|
90 |
|
|
::javax::print::PrintService * defaultService;
|
91 |
|
|
::javax::print::PrintService * selectedService;
|
92 |
|
|
::javax::print::DocFlavor * flavor;
|
93 |
|
|
::javax::print::attribute::PrintRequestAttributeSet * attributes;
|
94 |
|
|
jboolean onlyPageDialog;
|
95 |
|
|
::javax::print::attribute::PrintRequestAttributeSet * atts;
|
96 |
|
|
static ::java::util::ResourceBundle * messages;
|
97 |
|
|
public:
|
98 |
|
|
static ::java::lang::Class class$;
|
99 |
|
|
};
|
100 |
|
|
|
101 |
|
|
#endif // __gnu_javax_print_PrinterDialog__
|