1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_awt_AWTUtilities__
|
5 |
|
|
#define __gnu_java_awt_AWTUtilities__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace gnu
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class AWTUtilities;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
namespace java
|
23 |
|
|
{
|
24 |
|
|
namespace awt
|
25 |
|
|
{
|
26 |
|
|
class Component;
|
27 |
|
|
class Container;
|
28 |
|
|
class Font;
|
29 |
|
|
class FontMetrics;
|
30 |
|
|
class Insets;
|
31 |
|
|
class Point;
|
32 |
|
|
class Rectangle;
|
33 |
|
|
class Window;
|
34 |
|
|
namespace event
|
35 |
|
|
{
|
36 |
|
|
class MouseEvent;
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
|
42 |
|
|
class gnu::java::awt::AWTUtilities : public ::java::lang::Object
|
43 |
|
|
{
|
44 |
|
|
|
45 |
|
|
public:
|
46 |
|
|
AWTUtilities();
|
47 |
|
|
static ::java::util::List * getVisibleChildren(::java::awt::Container *);
|
48 |
|
|
static ::java::awt::Rectangle * calculateInsetArea(::java::awt::Rectangle *, ::java::awt::Insets *, ::java::awt::Rectangle *);
|
49 |
|
|
static ::java::awt::Rectangle * getLocalBounds(::java::awt::Component *);
|
50 |
|
|
static ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
51 |
|
|
static ::java::awt::Container * getAncestorNamed(::java::lang::String *, ::java::awt::Component *);
|
52 |
|
|
static ::java::awt::Container * getAncestorOfClass(::java::lang::Class *, ::java::awt::Component *);
|
53 |
|
|
static ::java::awt::Window * windowForComponent(::java::awt::Component *);
|
54 |
|
|
static ::java::awt::Component * getRoot(::java::awt::Component *);
|
55 |
|
|
static jboolean isDescendingFrom(::java::awt::Component *, ::java::awt::Component *);
|
56 |
|
|
static ::java::awt::Component * getDeepestComponentAt(::java::awt::Component *, jint, jint);
|
57 |
|
|
static void convertPointToScreen(::java::awt::Point *, ::java::awt::Component *);
|
58 |
|
|
static void convertPointFromScreen(::java::awt::Point *, ::java::awt::Component *);
|
59 |
|
|
static ::java::awt::Point * convertPoint(::java::awt::Component *, jint, jint, ::java::awt::Component *);
|
60 |
|
|
static ::java::awt::Rectangle * convertRectangle(::java::awt::Component *, ::java::awt::Rectangle *, ::java::awt::Component *);
|
61 |
|
|
static ::java::awt::event::MouseEvent * convertMouseEvent(::java::awt::Component *, ::java::awt::event::MouseEvent *, ::java::awt::Component *);
|
62 |
|
|
static void invokeLater(::java::lang::Runnable *);
|
63 |
|
|
static void invokeAndWait(::java::lang::Runnable *);
|
64 |
|
|
static jboolean isEventDispatchThread();
|
65 |
|
|
static jboolean isValidKey(jint);
|
66 |
|
|
public: // actually package-private
|
67 |
|
|
static ::java::util::WeakHashMap * visibleChildrenCache;
|
68 |
|
|
public:
|
69 |
|
|
static ::java::lang::Class class$;
|
70 |
|
|
};
|
71 |
|
|
|
72 |
|
|
#endif // __gnu_java_awt_AWTUtilities__
|