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

#ifndef __javax_swing_plaf_metal_MetalTabbedPaneUI__
#define __javax_swing_plaf_metal_MetalTabbedPaneUI__

#pragma interface

#include <javax/swing/plaf/basic/BasicTabbedPaneUI.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Graphics;
        class LayoutManager;
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class JComponent;
      namespace plaf
      {
          class ComponentUI;
        namespace metal
        {
            class MetalTabbedPaneUI;
        }
      }
    }
  }
}

class javax::swing::plaf::metal::MetalTabbedPaneUI : public ::javax::swing::plaf::basic::BasicTabbedPaneUI
{

public:
  MetalTabbedPaneUI();
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
public: // actually protected
  virtual ::java::awt::LayoutManager * createLayoutManager();
  virtual void paintTabBorder(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintTopTabBorder(jint, ::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintLeftTabBorder(jint, ::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintRightTabBorder(jint, ::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintBottomTabBorder(jint, ::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintTabBackground(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, jboolean);
  virtual void paintFocusIndicator(::java::awt::Graphics *, jint, JArray< ::java::awt::Rectangle * > *, jint, ::java::awt::Rectangle *, ::java::awt::Rectangle *, jboolean);
  virtual jboolean shouldPadTabRun(jint, jint);
  virtual void installDefaults();
  virtual ::java::awt::Color * getColorForGap(jint, jint, jint);
  virtual jboolean shouldFillGap(jint, jint, jint, jint);
  virtual void paintHighlightBelowTab();
  virtual jboolean shouldRotateTabRuns(jint, jint);
  virtual jint calculateMaxTabHeight(jint);
  virtual jint getTabRunOverlay(jint);
  virtual void paintContentBorderTopEdge(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint);
  virtual void paintContentBorderBottomEdge(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint);
  virtual void paintContentBorderLeftEdge(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint);
  virtual void paintContentBorderRightEdge(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint);
private:
  jboolean isLastTabInRun(jint);
  ::java::awt::Color * getUnselectedBackground(jint);
public: // actually protected
  virtual jint getTabLabelShiftX(jint, jint, jboolean);
  virtual jint getTabLabelShiftY(jint, jint, jboolean);
  jint __attribute__((aligned(__alignof__( ::javax::swing::plaf::basic::BasicTabbedPaneUI)))) minTabWidth;
  ::java::awt::Color * selectColor;
  ::java::awt::Color * selectHighlight;
  ::java::awt::Color * tabAreaBackground;
private:
  ::java::awt::Graphics * hg;
  jboolean tabsOpaque;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalTabbedPaneUI__