summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/metal/MetalRootPaneUI$MetalTitlePane.h
blob: d9adc9b8a64ab8301247a0ec37ff690cf7ddaff0 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_metal_MetalRootPaneUI$MetalTitlePane__
#define __javax_swing_plaf_metal_MetalRootPaneUI$MetalTitlePane__

#pragma interface

#include <javax/swing/JComponent.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Graphics;
        class LayoutManager;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class Action;
        class Icon;
        class JButton;
        class JLabel;
        class JMenu;
        class JMenuBar;
        class JRootPane;
      namespace plaf
      {
        namespace metal
        {
            class MetalRootPaneUI$MetalTitlePane;
        }
      }
    }
  }
}

class javax::swing::plaf::metal::MetalRootPaneUI$MetalTitlePane : public ::javax::swing::JComponent
{

public: // actually package-private
  MetalRootPaneUI$MetalTitlePane(::javax::swing::JRootPane *);
public: // actually protected
  virtual ::java::awt::LayoutManager * createLayout();
  virtual void installTitlePane();
private:
  void enableActions();
  void addSubComponents();
  void installListeners();
  void createActions();
  void assembleSystemMenu();
public: // actually protected
  virtual ::javax::swing::JMenuBar * createSystemMenuBar();
  virtual ::javax::swing::JMenu * createSystemMenu();
private:
  void addSystemMenuItems(::javax::swing::JMenu *);
public: // actually protected
  virtual void createButtons();
  virtual void setButtonIcons();
public:
  virtual void paintComponent(::java::awt::Graphics *);
public: // actually protected
  virtual void paintTitleBackground(::java::awt::Graphics *);
private:
  void installDefaults();
public: // actually package-private
  ::javax::swing::JRootPane * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) rootPane;
  ::javax::swing::JButton * closeButton;
  ::javax::swing::JButton * iconButton;
  ::javax::swing::JButton * maxButton;
  ::javax::swing::Icon * minIcon;
  ::javax::swing::Icon * maxIcon;
private:
  ::javax::swing::Icon * iconIcon;
public: // actually package-private
  ::javax::swing::Icon * closeIcon;
private:
  ::java::awt::Color * notSelectedTitleColor;
  ::java::awt::Color * selectedTitleColor;
public: // actually package-private
  ::javax::swing::JLabel * title;
private:
  ::javax::swing::Action * closeAction;
  ::javax::swing::Action * iconifyAction;
  ::javax::swing::Action * maximizeAction;
  ::javax::swing::JMenuBar * menuBar;
public: // actually protected
  ::javax::swing::JMenu * windowMenu;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_metal_MetalRootPaneUI$MetalTitlePane__