summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/metal/MetalScrollBarUI.h
blob: f76d33bddfb604c788fd39cdb31b238fcd578f4d (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_metal_MetalScrollBarUI__
#define __javax_swing_plaf_metal_MetalScrollBarUI__

#pragma interface

#include <javax/swing/plaf/basic/BasicScrollBarUI.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Dimension;
        class Graphics;
        class Rectangle;
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JButton;
        class JComponent;
      namespace plaf
      {
          class ComponentUI;
        namespace metal
        {
            class MetalScrollBarUI;
            class MetalScrollButton;
        }
      }
    }
  }
}

class javax::swing::plaf::metal::MetalScrollBarUI : public ::javax::swing::plaf::basic::BasicScrollBarUI
{

public:
  MetalScrollBarUI();
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
public: // actually protected
  virtual void installDefaults();
  virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
  virtual ::javax::swing::JButton * createDecreaseButton(jint);
  virtual ::javax::swing::JButton * createIncreaseButton(jint);
  virtual void paintTrack(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
private:
  void paintTrackHorizontal(::java::awt::Graphics *, ::javax::swing::JComponent *, jint, jint, jint, jint);
  void paintTrackVertical(::java::awt::Graphics *, ::javax::swing::JComponent *, jint, jint, jint, jint);
public: // actually protected
  virtual void paintThumb(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
private:
  void paintThumbHorizontal(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
  void paintThumbVertical(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
public: // actually protected
  virtual ::java::awt::Dimension * getMinimumThumbSize();
public:
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
  static ::java::lang::String * FREE_STANDING_PROP;
private:
  static ::java::awt::Dimension * MIN_THUMB_SIZE;
  static ::java::awt::Dimension * MIN_THUMB_SIZE_FREE_STANDING;
public: // actually protected
  ::javax::swing::plaf::metal::MetalScrollButton * __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicScrollBarUI)))) increaseButton;
  ::javax::swing::plaf::metal::MetalScrollButton * decreaseButton;
  jint scrollBarWidth;
  jboolean isFreeStanding;
public: // actually package-private
  ::java::awt::Color * scrollBarShadowColor;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalScrollBarUI__