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

#ifndef __javax_swing_plaf_metal_MetalButtonUI__
#define __javax_swing_plaf_metal_MetalButtonUI__

#pragma interface

#include <javax/swing/plaf/basic/BasicButtonUI.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Component;
        class Graphics;
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class AbstractButton;
        class JComponent;
      namespace plaf
      {
          class ComponentUI;
        namespace metal
        {
            class MetalButtonUI;
        }
      }
    }
  }
}

class javax::swing::plaf::metal::MetalButtonUI : public ::javax::swing::plaf::basic::BasicButtonUI
{

public:
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
  MetalButtonUI();
public: // actually protected
  virtual ::java::awt::Color * getFocusColor();
  virtual ::java::awt::Color * getSelectColor();
  virtual ::java::awt::Color * getDisabledTextColor();
public:
  virtual void installDefaults(::javax::swing::AbstractButton *);
  virtual void uninstallDefaults(::javax::swing::AbstractButton *);
public: // actually protected
  virtual void paintButtonPressed(::java::awt::Graphics *, ::javax::swing::AbstractButton *);
  virtual void paintFocus(::java::awt::Graphics *, ::javax::swing::AbstractButton *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *);
  virtual void paintText(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *, ::java::lang::String *);
public:
  virtual void update(::java::awt::Graphics *, ::javax::swing::JComponent *);
private:
  jboolean isToolbarButton(::java::awt::Component *);
  jboolean isDrawingGradient(::java::lang::String *);
  static ::javax::swing::plaf::metal::MetalButtonUI * sharedUI;
public: // actually protected
  ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicButtonUI)))) focusColor;
  ::java::awt::Color * selectColor;
  ::java::awt::Color * disabledTextColor;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalButtonUI__