summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/metal/MetalToolTipUI.h
blob: f38637c6db2f53c276f997a96ffb110a90b43a5a (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_metal_MetalToolTipUI__
#define __javax_swing_plaf_metal_MetalToolTipUI__

#pragma interface

#include <javax/swing/plaf/basic/BasicToolTipUI.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Dimension;
        class Font;
        class Graphics;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JComponent;
        class KeyStroke;
      namespace border
      {
          class Border;
      }
      namespace plaf
      {
          class ComponentUI;
        namespace metal
        {
            class MetalToolTipUI;
        }
      }
    }
  }
}

class javax::swing::plaf::metal::MetalToolTipUI : public ::javax::swing::plaf::basic::BasicToolTipUI
{

public:
  MetalToolTipUI();
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
  virtual ::java::lang::String * getAcceleratorString();
  virtual void installUI(::javax::swing::JComponent *);
  virtual void uninstallUI(::javax::swing::JComponent *);
public: // actually protected
  virtual jboolean isAcceleratorHidden();
public:
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
  virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
private:
  ::java::lang::String * fetchAcceleratorString(::javax::swing::JComponent *);
  ::java::lang::String * acceleratorToString(::javax::swing::KeyStroke *);
public:
  static const jint padSpaceBetweenStrings = 12;
private:
  static ::javax::swing::plaf::metal::MetalToolTipUI * instance;
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicToolTipUI)))) isAcceleratorHidden__;
  ::java::lang::String * acceleratorString;
  ::java::lang::String * acceleratorDelimiter;
  ::java::awt::Font * acceleratorFont;
  ::java::awt::Color * acceleratorForeground;
  ::javax::swing::border::Border * activeBorder;
  ::javax::swing::border::Border * inactiveBorder;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalToolTipUI__