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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_SwingUtilities__
#define __javax_swing_SwingUtilities__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
class Container;
class FontMetrics;
class Graphics;
class Point;
class Rectangle;
class Window;
namespace event
{
class KeyEvent;
class MouseEvent;
}
}
}
namespace javax
{
namespace accessibility
{
class Accessible;
class AccessibleStateSet;
}
namespace swing
{
class Action;
class ActionMap;
class Icon;
class InputMap;
class JComponent;
class JRootPane;
class KeyStroke;
class SwingUtilities;
class SwingUtilities$OwnerFrame;
}
}
}
class javax::swing::SwingUtilities : public ::java::lang::Object
{
SwingUtilities();
public:
static ::java::awt::Rectangle * calculateInnerArea(::javax::swing::JComponent *, ::java::awt::Rectangle *);
static ::java::awt::Component * findFocusOwner(::java::awt::Component *);
static ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Component *, ::java::awt::Point *);
static ::javax::accessibility::Accessible * getAccessibleChild(::java::awt::Component *, jint);
static jint getAccessibleChildrenCount(::java::awt::Component *);
static jint getAccessibleIndexInParent(::java::awt::Component *);
static ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet(::java::awt::Component *);
static ::java::awt::Rectangle * getLocalBounds(::java::awt::Component *);
static ::javax::swing::JRootPane * getRootPane(::java::awt::Component *);
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 * getWindowAncestor(::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::Point * convertPoint(::java::awt::Component *, ::java::awt::Point *, ::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 updateComponentTreeUI(::java::awt::Component *);
private:
static void updateComponentTreeUIImpl(::java::awt::Component *);
public:
static ::java::lang::String * layoutCompoundLabel(::javax::swing::JComponent *, ::java::awt::FontMetrics *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, jint);
static ::java::lang::String * layoutCompoundLabel(::java::awt::FontMetrics *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, jint);
private:
static ::java::lang::String * layoutCompoundLabelImpl(::javax::swing::JComponent *, ::java::awt::FontMetrics *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, jint);
static ::java::lang::String * clipString(::javax::swing::JComponent *, ::java::awt::FontMetrics *, ::java::lang::String *, jint);
public:
static void invokeLater(::java::lang::Runnable *);
static void invokeAndWait(::java::lang::Runnable *);
static jboolean isEventDispatchThread();
static void paintComponent(::java::awt::Graphics *, ::java::awt::Component *, ::java::awt::Container *, jint, jint, jint, jint);
static void paintComponent(::java::awt::Graphics *, ::java::awt::Component *, ::java::awt::Container *, ::java::awt::Rectangle *);
public: // actually package-private
static ::java::awt::Window * getOwnerFrame(::java::awt::Window *);
public:
static jboolean isLeftMouseButton(::java::awt::event::MouseEvent *);
static jboolean isMiddleMouseButton(::java::awt::event::MouseEvent *);
static jboolean isRightMouseButton(::java::awt::event::MouseEvent *);
static jboolean notifyAction(::javax::swing::Action *, ::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *, ::java::lang::Object *, jint);
static void replaceUIActionMap(::javax::swing::JComponent *, ::javax::swing::ActionMap *);
static void replaceUIInputMap(::javax::swing::JComponent *, jint, ::javax::swing::InputMap *);
static JArray< ::java::awt::Rectangle * > * computeDifference(::java::awt::Rectangle *, ::java::awt::Rectangle *);
static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
static jint computeStringWidth(::java::awt::FontMetrics *, ::java::lang::String *);
static ::java::awt::Rectangle * computeUnion(jint, jint, jint, jint, ::java::awt::Rectangle *);
static jboolean isRectangleContainingRectangle(::java::awt::Rectangle *, ::java::awt::Rectangle *);
static ::javax::swing::InputMap * getUIInputMap(::javax::swing::JComponent *, jint);
static ::javax::swing::ActionMap * getUIActionMap(::javax::swing::JComponent *);
static jboolean processKeyBindings(::java::awt::event::KeyEvent *);
public: // actually package-private
static ::java::lang::String * convertHorizontalAlignmentCodeToString(jint);
static ::java::lang::String * convertVerticalAlignmentCodeToString(jint);
static ::java::lang::String * convertWindowConstantToString(jint);
static void convertRectangleToAncestor(::java::awt::Component *, ::java::awt::Rectangle *, ::java::awt::Component *);
private:
static ::javax::swing::SwingUtilities$OwnerFrame * ownerFrame;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_SwingUtilities__
|