summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JColorChooser.h
blob: 66d0da60702f02c4e6441fec0f0a410dcc5c8fc0 (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
99
100
101
102
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_JColorChooser__
#define __javax_swing_JColorChooser__

#pragma interface

#include <javax/swing/JComponent.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Component;
      namespace event
      {
          class ActionListener;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class JColorChooser;
        class JComponent;
        class JDialog;
      namespace colorchooser
      {
          class AbstractColorChooserPanel;
          class ColorSelectionModel;
      }
      namespace plaf
      {
          class ColorChooserUI;
      }
    }
  }
}

class javax::swing::JColorChooser : public ::javax::swing::JComponent
{

public:
  JColorChooser();
  JColorChooser(::java::awt::Color *);
  JColorChooser(::javax::swing::colorchooser::ColorSelectionModel *);
  virtual void setColor(::java::awt::Color *);
  virtual void setColor(jint, jint, jint);
  virtual void setColor(jint);
  static ::java::awt::Color * showDialog(::java::awt::Component *, ::java::lang::String *, ::java::awt::Color *);
public: // actually package-private
  static void makeModal(::javax::swing::JDialog *);
private:
  static ::java::awt::Component * findParent(::java::awt::Component *);
public:
  static ::javax::swing::JDialog * createDialog(::java::awt::Component *, ::java::lang::String *, jboolean, ::javax::swing::JColorChooser *, ::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
  virtual ::javax::swing::plaf::ColorChooserUI * getUI();
  virtual void setUI(::javax::swing::plaf::ColorChooserUI *);
  virtual void updateUI();
  virtual ::java::lang::String * getUIClassID();
  virtual ::java::awt::Color * getColor();
  virtual void setPreviewPanel(::javax::swing::JComponent *);
  virtual ::javax::swing::JComponent * getPreviewPanel();
  virtual void addChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
  virtual ::javax::swing::colorchooser::AbstractColorChooserPanel * removeChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
  virtual void setChooserPanels(JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > *);
  virtual JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * getChooserPanels();
  virtual ::javax::swing::colorchooser::ColorSelectionModel * getSelectionModel();
  virtual void setSelectionModel(::javax::swing::colorchooser::ColorSelectionModel *);
  virtual jboolean getDragEnabled();
  virtual void setDragEnabled(jboolean);
public: // actually protected
  virtual ::java::lang::String * paramString();
public:
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
private:
  static const jlong serialVersionUID = 9168066781620640889LL;
  ::javax::swing::colorchooser::ColorSelectionModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) selectionModel;
  ::javax::swing::JComponent * previewPanel;
  JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * chooserPanels;
  jboolean dragEnabled;
public:
  static ::java::lang::String * SELECTION_MODEL_PROPERTY;
  static ::java::lang::String * PREVIEW_PANEL_PROPERTY;
  static ::java::lang::String * CHOOSER_PANELS_PROPERTY;
public: // actually protected
  ::javax::accessibility::AccessibleContext * accessibleContext;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JColorChooser__