summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JLabel.h
blob: 08f59ed8f8c982f539a11890d8c574b12f1c2c3a (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
102
103
104
105
106
107
108
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_JLabel__
#define __javax_swing_JLabel__

#pragma interface

#include <javax/swing/JComponent.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Font;
        class Image;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class Icon;
        class JLabel;
      namespace plaf
      {
          class LabelUI;
      }
    }
  }
}

class javax::swing::JLabel : public ::javax::swing::JComponent
{

public:
  JLabel();
  JLabel(::javax::swing::Icon *);
  JLabel(::javax::swing::Icon *, jint);
  JLabel(::java::lang::String *);
  JLabel(::java::lang::String *, jint);
  JLabel(::java::lang::String *, ::javax::swing::Icon *, jint);
  virtual ::javax::swing::plaf::LabelUI * getUI();
  virtual void setUI(::javax::swing::plaf::LabelUI *);
  virtual void updateUI();
  virtual ::java::lang::String * getUIClassID();
public: // actually protected
  virtual ::java::lang::String * paramString();
public:
  virtual ::java::lang::String * getText();
  virtual void setText(::java::lang::String *);
  virtual ::javax::swing::Icon * getIcon();
  virtual void setIcon(::javax::swing::Icon *);
  virtual ::javax::swing::Icon * getDisabledIcon();
  virtual void setDisabledIcon(::javax::swing::Icon *);
  virtual void setDisplayedMnemonic(jint);
  virtual void setDisplayedMnemonic(jchar);
  virtual jint getDisplayedMnemonic();
  virtual void setDisplayedMnemonicIndex(jint);
  virtual jint getDisplayedMnemonicIndex();
public: // actually protected
  virtual jint checkHorizontalKey(jint, ::java::lang::String *);
  virtual jint checkVerticalKey(jint, ::java::lang::String *);
public:
  virtual jint getIconTextGap();
  virtual void setIconTextGap(jint);
  virtual jint getVerticalAlignment();
  virtual void setVerticalAlignment(jint);
  virtual jint getHorizontalAlignment();
  virtual void setHorizontalAlignment(jint);
  virtual jint getVerticalTextPosition();
  virtual void setVerticalTextPosition(jint);
  virtual jint getHorizontalTextPosition();
  virtual void setHorizontalTextPosition(jint);
  virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
  virtual ::java::awt::Component * getLabelFor();
  virtual void setLabelFor(::java::awt::Component *);
  virtual void setFont(::java::awt::Font *);
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
private:
  static const jlong serialVersionUID = 5496508283662221534LL;
public: // actually package-private
  static ::java::lang::String * LABEL_PROPERTY;
public: // actually protected
  ::java::awt::Component * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) labelFor;
public: // actually package-private
  ::java::lang::String * text;
private:
  jint horizontalAlignment;
  jint horizontalTextPosition;
  jint verticalAlignment;
  jint verticalTextPosition;
  ::javax::swing::Icon * icon;
  ::javax::swing::Icon * disabledIcon;
  jint displayedMnemonic;
  jint displayedMnemonicIndex;
  jint iconTextGap;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JLabel__