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