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

#ifndef __javax_swing_ToolTipManager__
#define __javax_swing_ToolTipManager__

#pragma interface

#include <java/awt/event/MouseAdapter.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Dimension;
        class Point;
      namespace event
      {
          class MouseEvent;
      }
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JComponent;
        class JToolTip;
        class Popup;
        class Timer;
        class ToolTipManager;
    }
  }
}

class javax::swing::ToolTipManager : public ::java::awt::event::MouseAdapter
{

public: // actually package-private
  ToolTipManager();
public:
  static ::javax::swing::ToolTipManager * sharedInstance();
  virtual void setEnabled(jboolean);
  virtual jboolean isEnabled();
  virtual jboolean isLightWeightPopupEnabled();
  virtual void setLightWeightPopupEnabled(jboolean);
  virtual jint getInitialDelay();
  virtual void setInitialDelay(jint);
  virtual jint getDismissDelay();
  virtual void setDismissDelay(jint);
  virtual jint getReshowDelay();
  virtual void setReshowDelay(jint);
  virtual void registerComponent(::javax::swing::JComponent *);
  virtual void unregisterComponent(::javax::swing::JComponent *);
  virtual void mouseEntered(::java::awt::event::MouseEvent *);
  virtual void mouseExited(::java::awt::event::MouseEvent *);
  virtual void mousePressed(::java::awt::event::MouseEvent *);
  virtual void mouseDragged(::java::awt::event::MouseEvent *);
  virtual void mouseMoved(::java::awt::event::MouseEvent *);
private:
  void checkTipUpdate(::java::awt::event::MouseEvent *);
public: // actually package-private
  virtual void showTip();
private:
  ::java::awt::Point * adjustLocation(::java::awt::Point *, ::java::awt::Component *, ::java::awt::Dimension *);
public: // actually package-private
  virtual void hideTip();
private:
  ::java::awt::Component * getContentPaneDeepestComponent(::java::awt::event::MouseEvent *);
public: // actually package-private
  ::javax::swing::Timer * __attribute__((aligned(__alignof__( ::java::awt::event::MouseAdapter)))) enterTimer;
  ::javax::swing::Timer * exitTimer;
  ::javax::swing::Timer * insideTimer;
private:
  jboolean enabled;
public: // actually protected
  jboolean lightWeightPopupEnabled;
  jboolean heavyWeightPopupEnabled;
private:
  static ::javax::swing::ToolTipManager * shared;
  ::javax::swing::JComponent * currentComponent;
  ::javax::swing::JToolTip * currentTip;
  ::java::lang::String * toolTipText;
  ::java::awt::Point * currentPoint;
  ::javax::swing::Popup * popup;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_ToolTipManager__