JLabel.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JLabel__
  3. #define __javax_swing_JLabel__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Font;
  14. class Image;
  15. }
  16. }
  17. namespace javax
  18. {
  19. namespace accessibility
  20. {
  21. class AccessibleContext;
  22. }
  23. namespace swing
  24. {
  25. class Icon;
  26. class JLabel;
  27. namespace plaf
  28. {
  29. class LabelUI;
  30. }
  31. }
  32. }
  33. }
  34. class javax::swing::JLabel : public ::javax::swing::JComponent
  35. {
  36. public:
  37. JLabel();
  38. JLabel(::javax::swing::Icon *);
  39. JLabel(::javax::swing::Icon *, jint);
  40. JLabel(::java::lang::String *);
  41. JLabel(::java::lang::String *, jint);
  42. JLabel(::java::lang::String *, ::javax::swing::Icon *, jint);
  43. virtual ::javax::swing::plaf::LabelUI * getUI();
  44. virtual void setUI(::javax::swing::plaf::LabelUI *);
  45. virtual void updateUI();
  46. virtual ::java::lang::String * getUIClassID();
  47. public: // actually protected
  48. virtual ::java::lang::String * paramString();
  49. public:
  50. virtual ::java::lang::String * getText();
  51. virtual void setText(::java::lang::String *);
  52. virtual ::javax::swing::Icon * getIcon();
  53. virtual void setIcon(::javax::swing::Icon *);
  54. virtual ::javax::swing::Icon * getDisabledIcon();
  55. virtual void setDisabledIcon(::javax::swing::Icon *);
  56. virtual void setDisplayedMnemonic(jint);
  57. virtual void setDisplayedMnemonic(jchar);
  58. virtual jint getDisplayedMnemonic();
  59. virtual void setDisplayedMnemonicIndex(jint);
  60. virtual jint getDisplayedMnemonicIndex();
  61. public: // actually protected
  62. virtual jint checkHorizontalKey(jint, ::java::lang::String *);
  63. virtual jint checkVerticalKey(jint, ::java::lang::String *);
  64. public:
  65. virtual jint getIconTextGap();
  66. virtual void setIconTextGap(jint);
  67. virtual jint getVerticalAlignment();
  68. virtual void setVerticalAlignment(jint);
  69. virtual jint getHorizontalAlignment();
  70. virtual void setHorizontalAlignment(jint);
  71. virtual jint getVerticalTextPosition();
  72. virtual void setVerticalTextPosition(jint);
  73. virtual jint getHorizontalTextPosition();
  74. virtual void setHorizontalTextPosition(jint);
  75. virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
  76. virtual ::java::awt::Component * getLabelFor();
  77. virtual void setLabelFor(::java::awt::Component *);
  78. virtual void setFont(::java::awt::Font *);
  79. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  80. private:
  81. static const jlong serialVersionUID = 5496508283662221534LL;
  82. public: // actually package-private
  83. static ::java::lang::String * LABEL_PROPERTY;
  84. public: // actually protected
  85. ::java::awt::Component * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) labelFor;
  86. public: // actually package-private
  87. ::java::lang::String * text;
  88. private:
  89. jint horizontalAlignment;
  90. jint horizontalTextPosition;
  91. jint verticalAlignment;
  92. jint verticalTextPosition;
  93. ::javax::swing::Icon * icon;
  94. ::javax::swing::Icon * disabledIcon;
  95. jint displayedMnemonic;
  96. jint displayedMnemonicIndex;
  97. jint iconTextGap;
  98. public:
  99. static ::java::lang::Class class$;
  100. };
  101. #endif // __javax_swing_JLabel__