aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JOptionPane.h
blob: 5bd63fd7ae81595f0a3b33062c690bb0b971d77e (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_JOptionPane__
#define __javax_swing_JOptionPane__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Frame;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
    namespace swing
    {
        class Icon;
        class JDesktopPane;
        class JDialog;
        class JInternalFrame;
        class JOptionPane;
      namespace plaf
      {
          class OptionPaneUI;
      }
    }
  }
}

class javax::swing::JOptionPane : public ::javax::swing::JComponent
{

public:
  JOptionPane();
  JOptionPane(::java::lang::Object *);
  JOptionPane(::java::lang::Object *, jint);
  JOptionPane(::java::lang::Object *, jint, jint);
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *);
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *);
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
  virtual ::javax::swing::JDialog * createDialog(::java::awt::Component *, ::java::lang::String *);
  virtual ::javax::swing::JInternalFrame * createInternalFrame(::java::awt::Component *, ::java::lang::String *);
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  static ::javax::swing::JDesktopPane * getDesktopPaneForComponent(::java::awt::Component *);
  static ::java::awt::Frame * getFrameForComponent(::java::awt::Component *);
  virtual ::javax::swing::Icon * getIcon();
  virtual ::java::lang::Object * getInitialSelectionValue();
  virtual ::java::lang::Object * getInitialValue();
  virtual ::java::lang::Object * getInputValue();
  virtual jint getMaxCharactersPerLineCount();
  virtual ::java::lang::Object * getMessage();
  virtual jint getMessageType();
  virtual JArray< ::java::lang::Object * > * getOptions();
  virtual jint getOptionType();
  static ::java::awt::Frame * getRootFrame();
  virtual JArray< ::java::lang::Object * > * getSelectionValues();
  virtual ::javax::swing::plaf::OptionPaneUI * getUI();
  virtual ::java::lang::String * getUIClassID();
  virtual ::java::lang::Object * getValue();
  virtual jboolean getWantsInput();
public: // actually protected
  virtual ::java::lang::String * paramString();
public:
  virtual void selectInitialValue();
  virtual void setIcon(::javax::swing::Icon *);
  virtual void setInitialSelectionValue(::java::lang::Object *);
  virtual void setInitialValue(::java::lang::Object *);
  virtual void setInputValue(::java::lang::Object *);
  virtual void setMessage(::java::lang::Object *);
  virtual void setMessageType(jint);
  virtual void setOptions(JArray< ::java::lang::Object * > *);
  virtual void setOptionType(jint);
  static void setRootFrame(::java::awt::Frame *);
  virtual void setSelectionValues(JArray< ::java::lang::Object * > *);
  virtual void setUI(::javax::swing::plaf::OptionPaneUI *);
  virtual void setValue(::java::lang::Object *);
  virtual void setWantsInput(jboolean);
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *);
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint);
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *);
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *);
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::Object *);
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static ::java::lang::Object * showInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
  static ::java::lang::String * showInputDialog(::java::lang::Object *);
  static ::java::lang::String * showInputDialog(::java::lang::Object *, ::java::lang::Object *);
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *);
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint);
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *);
  static ::java::lang::String * showInternalInputDialog(::java::awt::Component *, ::java::lang::Object *);
  static ::java::lang::String * showInternalInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static ::java::lang::Object * showInternalInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *);
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *);
  static jint showInternalOptionDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *);
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *);
  static jint showOptionDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
  virtual void updateUI();
private:
  jboolean validMessageType(jint);
  jboolean validOptionType(jint);
  static void startModal(::javax::swing::JInternalFrame *);
  static const jlong serialVersionUID = 5231143276678566796LL;
public:
  static const jint CANCEL_OPTION = 2;
  static const jint CLOSED_OPTION = -1;
  static const jint DEFAULT_OPTION = -1;
  static const jint NO_OPTION = 1;
  static const jint OK_CANCEL_OPTION = 2;
  static const jint OK_OPTION = 0;
  static const jint YES_NO_CANCEL_OPTION = 1;
  static const jint YES_NO_OPTION = 0;
  static const jint YES_OPTION = 0;
  static const jint ERROR_MESSAGE = 0;
  static const jint INFORMATION_MESSAGE = 1;
  static const jint PLAIN_MESSAGE = -1;
  static const jint QUESTION_MESSAGE = 3;
  static const jint WARNING_MESSAGE = 2;
  static ::java::lang::String * ICON_PROPERTY;
  static ::java::lang::String * INITIAL_SELECTION_VALUE_PROPERTY;
  static ::java::lang::String * INITIAL_VALUE_PROPERTY;
  static ::java::lang::String * INPUT_VALUE_PROPERTY;
  static ::java::lang::String * MESSAGE_PROPERTY;
  static ::java::lang::String * MESSAGE_TYPE_PROPERTY;
  static ::java::lang::String * OPTION_TYPE_PROPERTY;
  static ::java::lang::String * OPTIONS_PROPERTY;
  static ::java::lang::String * SELECTION_VALUES_PROPERTY;
  static ::java::lang::String * VALUE_PROPERTY;
  static ::java::lang::String * WANTS_INPUT_PROPERTY;
  static ::java::lang::Object * UNINITIALIZED_VALUE;
public: // actually protected
  ::javax::swing::Icon * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) icon;
  ::java::lang::Object * initialSelectionValue;
  ::java::lang::Object * initialValue;
  ::java::lang::Object * inputValue;
  ::java::lang::Object * message;
  jint messageType;
  JArray< ::java::lang::Object * > * options;
  jint optionType;
  JArray< ::java::lang::Object * > * selectionValues;
  ::java::lang::Object * value;
  jboolean wantsInput;
private:
  static ::java::awt::Frame * privFrame;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JOptionPane__