summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/awt/AWTUtilities.h
blob: 70b5111cd384aa61a40f310612fe899b082e82c4 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_AWTUtilities__
#define __gnu_java_awt_AWTUtilities__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
          class AWTUtilities;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Component;
        class Container;
        class Font;
        class FontMetrics;
        class Insets;
        class Point;
        class Rectangle;
        class Window;
      namespace event
      {
          class MouseEvent;
      }
    }
  }
}

class gnu::java::awt::AWTUtilities : public ::java::lang::Object
{

public:
  AWTUtilities();
  static ::java::util::List * getVisibleChildren(::java::awt::Container *);
  static ::java::awt::Rectangle * calculateInsetArea(::java::awt::Rectangle *, ::java::awt::Insets *, ::java::awt::Rectangle *);
  static ::java::awt::Rectangle * getLocalBounds(::java::awt::Component *);
  static ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  static ::java::awt::Container * getAncestorNamed(::java::lang::String *, ::java::awt::Component *);
  static ::java::awt::Container * getAncestorOfClass(::java::lang::Class *, ::java::awt::Component *);
  static ::java::awt::Window * windowForComponent(::java::awt::Component *);
  static ::java::awt::Component * getRoot(::java::awt::Component *);
  static jboolean isDescendingFrom(::java::awt::Component *, ::java::awt::Component *);
  static ::java::awt::Component * getDeepestComponentAt(::java::awt::Component *, jint, jint);
  static void convertPointToScreen(::java::awt::Point *, ::java::awt::Component *);
  static void convertPointFromScreen(::java::awt::Point *, ::java::awt::Component *);
  static ::java::awt::Point * convertPoint(::java::awt::Component *, jint, jint, ::java::awt::Component *);
  static ::java::awt::Rectangle * convertRectangle(::java::awt::Component *, ::java::awt::Rectangle *, ::java::awt::Component *);
  static ::java::awt::event::MouseEvent * convertMouseEvent(::java::awt::Component *, ::java::awt::event::MouseEvent *, ::java::awt::Component *);
  static void invokeLater(::java::lang::Runnable *);
  static void invokeAndWait(::java::lang::Runnable *);
  static jboolean isEventDispatchThread();
  static jboolean isValidKey(jint);
public: // actually package-private
  static ::java::util::WeakHashMap * visibleChildrenCache;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_AWTUtilities__