summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/metal/MetalScrollButton.h
blob: 3a3d86125f233fdd719aee2268f3dc9dac321846 (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_metal_MetalScrollButton__
#define __javax_swing_plaf_metal_MetalScrollButton__

#pragma interface

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

class javax::swing::plaf::metal::MetalScrollButton : public ::javax::swing::plaf::basic::BasicArrowButton
{

public:
  MetalScrollButton(jint, jint, jboolean);
  virtual jint getButtonWidth();
  virtual void setFreeStanding(jboolean);
  virtual void paint(::java::awt::Graphics *);
private:
  void paintArrow(::java::awt::Graphics *, jint, jint);
  void paintNorthBorderFreeStanding(::java::awt::Graphics *, jint, jint);
  void paintSouthBorderFreeStanding(::java::awt::Graphics *, jint, jint);
  void paintEastBorderFreeStanding(::java::awt::Graphics *, jint, jint);
  void paintWestBorderFreeStanding(::java::awt::Graphics *, jint, jint);
  void paintNorthBorder(::java::awt::Graphics *, jint, jint);
  void paintSouthBorder(::java::awt::Graphics *, jint, jint);
  void paintEastBorder(::java::awt::Graphics *, jint, jint);
  void paintWestBorder(::java::awt::Graphics *, jint, jint);
public:
  virtual ::java::awt::Dimension * getPreferredSize();
  virtual ::java::awt::Dimension * getMinimumSize();
  virtual ::java::awt::Dimension * getMaximumSize();
private:
  static ::java::awt::Dimension * maximumSize;
  jint __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicArrowButton)))) buttonWidth;
  jboolean freeStanding;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalScrollButton__