Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / swing / plaf / basic / BasicArrowButton.h
blob033f499aaf85f54a059c3c7ec72d90ab1a3ab12a
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_plaf_basic_BasicArrowButton__
5 #define __javax_swing_plaf_basic_BasicArrowButton__
7 #pragma interface
9 #include <javax/swing/JButton.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 class Color;
17 class Dimension;
18 class Graphics;
21 namespace javax
23 namespace swing
25 namespace plaf
27 namespace basic
29 class BasicArrowButton;
36 class javax::swing::plaf::basic::BasicArrowButton : public ::javax::swing::JButton
39 public:
40 BasicArrowButton(jint);
41 BasicArrowButton(jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *);
42 virtual jboolean isFocusTraversable();
43 virtual jint getDirection();
44 virtual void setDirection(jint);
45 virtual void paint(::java::awt::Graphics *);
46 virtual ::java::awt::Dimension * getPreferredSize();
47 virtual ::java::awt::Dimension * getMinimumSize();
48 virtual ::java::awt::Dimension * getMaximumSize();
49 virtual void paintTriangle(::java::awt::Graphics *, jint, jint, jint, jint, jboolean);
50 private:
51 void paintTriangleNorth(::java::awt::Graphics *, jint, jint, jint, jboolean);
52 void paintTriangleSouth(::java::awt::Graphics *, jint, jint, jint, jboolean);
53 void paintTriangleEast(::java::awt::Graphics *, jint, jint, jint, jboolean);
54 void paintTriangleWest(::java::awt::Graphics *, jint, jint, jint, jboolean);
55 public: // actually protected
56 jint __attribute__((aligned(__alignof__( ::javax::swing::JButton)))) direction;
57 public: // actually package-private
58 ::java::awt::Color * shadow;
59 ::java::awt::Color * darkShadow;
60 ::java::awt::Color * highlight;
61 public:
62 static ::java::lang::Class class$;
65 #endif // __javax_swing_plaf_basic_BasicArrowButton__