PrinterDialog.h 3.4 KB

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