summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/print/PrinterDialog.h
blob: 4c1141129b60a01c2f873e9d1c770c9a84b49161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_javax_print_PrinterDialog__
#define __gnu_javax_print_PrinterDialog__

#pragma interface

#include <javax/swing/JDialog.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace javax
    {
      namespace print
      {
          class PrinterDialog;
          class PrinterDialog$AppearancePanel;
          class PrinterDialog$GeneralPanel;
          class PrinterDialog$PageSetupPanel;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class GraphicsConfiguration;
      namespace event
      {
          class ActionEvent;
      }
    }
  }
  namespace javax
  {
    namespace print
    {
        class DocFlavor;
        class PrintService;
      namespace attribute
      {
          class Attribute;
          class PrintRequestAttributeSet;
      }
    }
    namespace swing
    {
        class JButton;
    }
  }
}

class gnu::javax::print::PrinterDialog : public ::javax::swing::JDialog
{

  PrinterDialog(::java::awt::GraphicsConfiguration *, JArray< ::javax::print::PrintService * > *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *, jboolean, ::java::lang::String *);
public:
  PrinterDialog(::java::awt::GraphicsConfiguration *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *);
  PrinterDialog(::java::awt::GraphicsConfiguration *, JArray< ::javax::print::PrintService * > *, ::javax::print::PrintService *, ::javax::print::DocFlavor *, ::javax::print::attribute::PrintRequestAttributeSet *);
private:
  void initUI(jboolean);
public:
  ::javax::print::attribute::PrintRequestAttributeSet * getAttributes();
  ::javax::print::PrintService * getSelectedPrintService();
public: // actually protected
  void setSelectedPrintService(::javax::print::PrintService *);
  JArray< ::javax::print::PrintService * > * getPrintServices();
public: // actually package-private
  void updateAll();
  jboolean categorySupported(::java::lang::Class *);
  ::java::lang::Object * defaultValue(::java::lang::Class *);
  ::javax::print::attribute::Attribute * attribute(::java::lang::Class *);
public:
  void actionPerformed(::java::awt::event::ActionEvent *);
public: // actually package-private
  static ::java::lang::String * getLocalizedString(::java::lang::String *);
  static ::javax::print::attribute::PrintRequestAttributeSet * access$0(::gnu::javax::print::PrinterDialog *);
  static ::javax::print::DocFlavor * access$1(::gnu::javax::print::PrinterDialog *);
private:
  ::javax::swing::JButton * __attribute__((aligned(__alignof__( ::javax::swing::JDialog)))) ok_bt;
  ::javax::swing::JButton * cancel_bt;
  ::gnu::javax::print::PrinterDialog$GeneralPanel * general_panel;
  ::gnu::javax::print::PrinterDialog$PageSetupPanel * pagesetup_panel;
  ::gnu::javax::print::PrinterDialog$AppearancePanel * appearance_panel;
  JArray< ::javax::print::PrintService * > * services;
  ::javax::print::PrintService * defaultService;
  ::javax::print::PrintService * selectedService;
  ::javax::print::DocFlavor * flavor;
  ::javax::print::attribute::PrintRequestAttributeSet * attributes;
  jboolean onlyPageDialog;
  ::javax::print::attribute::PrintRequestAttributeSet * atts;
  static ::java::util::ResourceBundle * messages;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_javax_print_PrinterDialog__