1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_JColorChooser__
|
5 |
|
|
#define __javax_swing_JColorChooser__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/JComponent.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Color;
|
19 |
|
|
class Component;
|
20 |
|
|
namespace event
|
21 |
|
|
{
|
22 |
|
|
class ActionListener;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
namespace javax
|
27 |
|
|
{
|
28 |
|
|
namespace accessibility
|
29 |
|
|
{
|
30 |
|
|
class AccessibleContext;
|
31 |
|
|
}
|
32 |
|
|
namespace swing
|
33 |
|
|
{
|
34 |
|
|
class JColorChooser;
|
35 |
|
|
class JComponent;
|
36 |
|
|
class JDialog;
|
37 |
|
|
namespace colorchooser
|
38 |
|
|
{
|
39 |
|
|
class AbstractColorChooserPanel;
|
40 |
|
|
class ColorSelectionModel;
|
41 |
|
|
}
|
42 |
|
|
namespace plaf
|
43 |
|
|
{
|
44 |
|
|
class ColorChooserUI;
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
class javax::swing::JColorChooser : public ::javax::swing::JComponent
|
51 |
|
|
{
|
52 |
|
|
|
53 |
|
|
public:
|
54 |
|
|
JColorChooser();
|
55 |
|
|
JColorChooser(::java::awt::Color *);
|
56 |
|
|
JColorChooser(::javax::swing::colorchooser::ColorSelectionModel *);
|
57 |
|
|
virtual void setColor(::java::awt::Color *);
|
58 |
|
|
virtual void setColor(jint, jint, jint);
|
59 |
|
|
virtual void setColor(jint);
|
60 |
|
|
static ::java::awt::Color * showDialog(::java::awt::Component *, ::java::lang::String *, ::java::awt::Color *);
|
61 |
|
|
public: // actually package-private
|
62 |
|
|
static void makeModal(::javax::swing::JDialog *);
|
63 |
|
|
private:
|
64 |
|
|
static ::java::awt::Component * findParent(::java::awt::Component *);
|
65 |
|
|
public:
|
66 |
|
|
static ::javax::swing::JDialog * createDialog(::java::awt::Component *, ::java::lang::String *, jboolean, ::javax::swing::JColorChooser *, ::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
|
67 |
|
|
virtual ::javax::swing::plaf::ColorChooserUI * getUI();
|
68 |
|
|
virtual void setUI(::javax::swing::plaf::ColorChooserUI *);
|
69 |
|
|
virtual void updateUI();
|
70 |
|
|
virtual ::java::lang::String * getUIClassID();
|
71 |
|
|
virtual ::java::awt::Color * getColor();
|
72 |
|
|
virtual void setPreviewPanel(::javax::swing::JComponent *);
|
73 |
|
|
virtual ::javax::swing::JComponent * getPreviewPanel();
|
74 |
|
|
virtual void addChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
|
75 |
|
|
virtual ::javax::swing::colorchooser::AbstractColorChooserPanel * removeChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
|
76 |
|
|
virtual void setChooserPanels(JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > *);
|
77 |
|
|
virtual JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * getChooserPanels();
|
78 |
|
|
virtual ::javax::swing::colorchooser::ColorSelectionModel * getSelectionModel();
|
79 |
|
|
virtual void setSelectionModel(::javax::swing::colorchooser::ColorSelectionModel *);
|
80 |
|
|
virtual jboolean getDragEnabled();
|
81 |
|
|
virtual void setDragEnabled(jboolean);
|
82 |
|
|
public: // actually protected
|
83 |
|
|
virtual ::java::lang::String * paramString();
|
84 |
|
|
public:
|
85 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
86 |
|
|
private:
|
87 |
|
|
static const jlong serialVersionUID = 9168066781620640889LL;
|
88 |
|
|
::javax::swing::colorchooser::ColorSelectionModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) selectionModel;
|
89 |
|
|
::javax::swing::JComponent * previewPanel;
|
90 |
|
|
JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * chooserPanels;
|
91 |
|
|
jboolean dragEnabled;
|
92 |
|
|
public:
|
93 |
|
|
static ::java::lang::String * SELECTION_MODEL_PROPERTY;
|
94 |
|
|
static ::java::lang::String * PREVIEW_PANEL_PROPERTY;
|
95 |
|
|
static ::java::lang::String * CHOOSER_PANELS_PROPERTY;
|
96 |
|
|
public: // actually protected
|
97 |
|
|
::javax::accessibility::AccessibleContext * accessibleContext;
|
98 |
|
|
public:
|
99 |
|
|
static ::java::lang::Class class$;
|
100 |
|
|
};
|
101 |
|
|
|
102 |
|
|
#endif // __javax_swing_JColorChooser__
|