summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicArrowButton.h
blob: 033f499aaf85f54a059c3c7ec72d90ab1a3ab12a (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_basic_BasicArrowButton__
#define __javax_swing_plaf_basic_BasicArrowButton__

#pragma interface

#include <javax/swing/JButton.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Dimension;
        class Graphics;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace plaf
      {
        namespace basic
        {
            class BasicArrowButton;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicArrowButton : public ::javax::swing::JButton
{

public:
  BasicArrowButton(jint);
  BasicArrowButton(jint, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *, ::java::awt::Color *);
  virtual jboolean isFocusTraversable();
  virtual jint getDirection();
  virtual void setDirection(jint);
  virtual void paint(::java::awt::Graphics *);
  virtual ::java::awt::Dimension * getPreferredSize();
  virtual ::java::awt::Dimension * getMinimumSize();
  virtual ::java::awt::Dimension * getMaximumSize();
  virtual void paintTriangle(::java::awt::Graphics *, jint, jint, jint, jint, jboolean);
private:
  void paintTriangleNorth(::java::awt::Graphics *, jint, jint, jint, jboolean);
  void paintTriangleSouth(::java::awt::Graphics *, jint, jint, jint, jboolean);
  void paintTriangleEast(::java::awt::Graphics *, jint, jint, jint, jboolean);
  void paintTriangleWest(::java::awt::Graphics *, jint, jint, jint, jboolean);
public: // actually protected
  jint __attribute__((aligned(__alignof__( ::javax::swing::JButton)))) direction;
public: // actually package-private
  ::java::awt::Color * shadow;
  ::java::awt::Color * darkShadow;
  ::java::awt::Color * highlight;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicArrowButton__