Remove outermost loop parameter.
[official-gcc/graphite-test-results.git] / libjava / javax / swing / SwingUtilities.h
blob3f75d967f7226e8c9c25588d96d68a2bf112904f
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_SwingUtilities__
5 #define __javax_swing_SwingUtilities__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 class Component;
19 class Container;
20 class FontMetrics;
21 class Graphics;
22 class Point;
23 class Rectangle;
24 class Window;
25 namespace event
27 class KeyEvent;
28 class MouseEvent;
32 namespace javax
34 namespace accessibility
36 class Accessible;
37 class AccessibleStateSet;
39 namespace swing
41 class Action;
42 class ActionMap;
43 class Icon;
44 class InputMap;
45 class JComponent;
46 class JRootPane;
47 class KeyStroke;
48 class SwingUtilities;
49 class SwingUtilities$OwnerFrame;
54 class javax::swing::SwingUtilities : public ::java::lang::Object
57 SwingUtilities();
58 public:
59 static ::java::awt::Rectangle * calculateInnerArea(::javax::swing::JComponent *, ::java::awt::Rectangle *);
60 static ::java::awt::Component * findFocusOwner(::java::awt::Component *);
61 static ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Component *, ::java::awt::Point *);
62 static ::javax::accessibility::Accessible * getAccessibleChild(::java::awt::Component *, jint);
63 static jint getAccessibleChildrenCount(::java::awt::Component *);
64 static jint getAccessibleIndexInParent(::java::awt::Component *);
65 static ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet(::java::awt::Component *);
66 static ::java::awt::Rectangle * getLocalBounds(::java::awt::Component *);
67 static ::javax::swing::JRootPane * getRootPane(::java::awt::Component *);
68 static ::java::awt::Container * getAncestorNamed(::java::lang::String *, ::java::awt::Component *);
69 static ::java::awt::Container * getAncestorOfClass(::java::lang::Class *, ::java::awt::Component *);
70 static ::java::awt::Window * getWindowAncestor(::java::awt::Component *);
71 static ::java::awt::Window * windowForComponent(::java::awt::Component *);
72 static ::java::awt::Component * getRoot(::java::awt::Component *);
73 static jboolean isDescendingFrom(::java::awt::Component *, ::java::awt::Component *);
74 static ::java::awt::Component * getDeepestComponentAt(::java::awt::Component *, jint, jint);
75 static void convertPointToScreen(::java::awt::Point *, ::java::awt::Component *);
76 static void convertPointFromScreen(::java::awt::Point *, ::java::awt::Component *);
77 static ::java::awt::Point * convertPoint(::java::awt::Component *, jint, jint, ::java::awt::Component *);
78 static ::java::awt::Point * convertPoint(::java::awt::Component *, ::java::awt::Point *, ::java::awt::Component *);
79 static ::java::awt::Rectangle * convertRectangle(::java::awt::Component *, ::java::awt::Rectangle *, ::java::awt::Component *);
80 static ::java::awt::event::MouseEvent * convertMouseEvent(::java::awt::Component *, ::java::awt::event::MouseEvent *, ::java::awt::Component *);
81 static void updateComponentTreeUI(::java::awt::Component *);
82 private:
83 static void updateComponentTreeUIImpl(::java::awt::Component *);
84 public:
85 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);
86 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);
87 private:
88 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);
89 static ::java::lang::String * clipString(::javax::swing::JComponent *, ::java::awt::FontMetrics *, ::java::lang::String *, jint);
90 public:
91 static void invokeLater(::java::lang::Runnable *);
92 static void invokeAndWait(::java::lang::Runnable *);
93 static jboolean isEventDispatchThread();
94 static void paintComponent(::java::awt::Graphics *, ::java::awt::Component *, ::java::awt::Container *, jint, jint, jint, jint);
95 static void paintComponent(::java::awt::Graphics *, ::java::awt::Component *, ::java::awt::Container *, ::java::awt::Rectangle *);
96 public: // actually package-private
97 static ::java::awt::Window * getOwnerFrame(::java::awt::Window *);
98 public:
99 static jboolean isLeftMouseButton(::java::awt::event::MouseEvent *);
100 static jboolean isMiddleMouseButton(::java::awt::event::MouseEvent *);
101 static jboolean isRightMouseButton(::java::awt::event::MouseEvent *);
102 static jboolean notifyAction(::javax::swing::Action *, ::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *, ::java::lang::Object *, jint);
103 static void replaceUIActionMap(::javax::swing::JComponent *, ::javax::swing::ActionMap *);
104 static void replaceUIInputMap(::javax::swing::JComponent *, jint, ::javax::swing::InputMap *);
105 static JArray< ::java::awt::Rectangle * > * computeDifference(::java::awt::Rectangle *, ::java::awt::Rectangle *);
106 static ::java::awt::Rectangle * computeIntersection(jint, jint, jint, jint, ::java::awt::Rectangle *);
107 static jint computeStringWidth(::java::awt::FontMetrics *, ::java::lang::String *);
108 static ::java::awt::Rectangle * computeUnion(jint, jint, jint, jint, ::java::awt::Rectangle *);
109 static jboolean isRectangleContainingRectangle(::java::awt::Rectangle *, ::java::awt::Rectangle *);
110 static ::javax::swing::InputMap * getUIInputMap(::javax::swing::JComponent *, jint);
111 static ::javax::swing::ActionMap * getUIActionMap(::javax::swing::JComponent *);
112 static jboolean processKeyBindings(::java::awt::event::KeyEvent *);
113 public: // actually package-private
114 static ::java::lang::String * convertHorizontalAlignmentCodeToString(jint);
115 static ::java::lang::String * convertVerticalAlignmentCodeToString(jint);
116 static ::java::lang::String * convertWindowConstantToString(jint);
117 static void convertRectangleToAncestor(::java::awt::Component *, ::java::awt::Rectangle *, ::java::awt::Component *);
118 private:
119 static ::javax::swing::SwingUtilities$OwnerFrame * ownerFrame;
120 public:
121 static ::java::lang::Class class$;
124 #endif // __javax_swing_SwingUtilities__