2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JLabel__
5 #define __javax_swing_JLabel__
9 #include <javax/swing/JComponent.h>
23 namespace accessibility
25 class AccessibleContext
;
39 class javax::swing::JLabel
: public ::javax::swing::JComponent
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();
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
*);
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();
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
;
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
;
105 static ::java::lang::Class
class$
;
108 #endif // __javax_swing_JLabel__