OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JOptionPane.h] - Blame information for rev 761

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_JOptionPane__
5
#define __javax_swing_JOptionPane__
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 Component;
19
        class Frame;
20
    }
21
  }
22
  namespace javax
23
  {
24
    namespace accessibility
25
    {
26
        class AccessibleContext;
27
    }
28
    namespace swing
29
    {
30
        class Icon;
31
        class JDesktopPane;
32
        class JDialog;
33
        class JInternalFrame;
34
        class JOptionPane;
35
      namespace plaf
36
      {
37
          class OptionPaneUI;
38
      }
39
    }
40
  }
41
}
42
 
43
class javax::swing::JOptionPane : public ::javax::swing::JComponent
44
{
45
 
46
public:
47
  JOptionPane();
48
  JOptionPane(::java::lang::Object *);
49
  JOptionPane(::java::lang::Object *, jint);
50
  JOptionPane(::java::lang::Object *, jint, jint);
51
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *);
52
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *);
53
  JOptionPane(::java::lang::Object *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
54
  virtual ::javax::swing::JDialog * createDialog(::java::awt::Component *, ::java::lang::String *);
55
  virtual ::javax::swing::JInternalFrame * createInternalFrame(::java::awt::Component *, ::java::lang::String *);
56
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
57
  static ::javax::swing::JDesktopPane * getDesktopPaneForComponent(::java::awt::Component *);
58
  static ::java::awt::Frame * getFrameForComponent(::java::awt::Component *);
59
  virtual ::javax::swing::Icon * getIcon();
60
  virtual ::java::lang::Object * getInitialSelectionValue();
61
  virtual ::java::lang::Object * getInitialValue();
62
  virtual ::java::lang::Object * getInputValue();
63
  virtual jint getMaxCharactersPerLineCount();
64
  virtual ::java::lang::Object * getMessage();
65
  virtual jint getMessageType();
66
  virtual JArray< ::java::lang::Object * > * getOptions();
67
  virtual jint getOptionType();
68
  static ::java::awt::Frame * getRootFrame();
69
  virtual JArray< ::java::lang::Object * > * getSelectionValues();
70
  virtual ::javax::swing::plaf::OptionPaneUI * getUI();
71
  virtual ::java::lang::String * getUIClassID();
72
  virtual ::java::lang::Object * getValue();
73
  virtual jboolean getWantsInput();
74
public: // actually protected
75
  virtual ::java::lang::String * paramString();
76
public:
77
  virtual void selectInitialValue();
78
  virtual void setIcon(::javax::swing::Icon *);
79
  virtual void setInitialSelectionValue(::java::lang::Object *);
80
  virtual void setInitialValue(::java::lang::Object *);
81
  virtual void setInputValue(::java::lang::Object *);
82
  virtual void setMessage(::java::lang::Object *);
83
  virtual void setMessageType(jint);
84
  virtual void setOptions(JArray< ::java::lang::Object * > *);
85
  virtual void setOptionType(jint);
86
  static void setRootFrame(::java::awt::Frame *);
87
  virtual void setSelectionValues(JArray< ::java::lang::Object * > *);
88
  virtual void setUI(::javax::swing::plaf::OptionPaneUI *);
89
  virtual void setValue(::java::lang::Object *);
90
  virtual void setWantsInput(jboolean);
91
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *);
92
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
93
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint);
94
  static jint showConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *);
95
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *);
96
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::Object *);
97
  static ::java::lang::String * showInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
98
  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 *);
99
  static ::java::lang::String * showInputDialog(::java::lang::Object *);
100
  static ::java::lang::String * showInputDialog(::java::lang::Object *, ::java::lang::Object *);
101
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *);
102
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
103
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint);
104
  static jint showInternalConfirmDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *);
105
  static ::java::lang::String * showInternalInputDialog(::java::awt::Component *, ::java::lang::Object *);
106
  static ::java::lang::String * showInternalInputDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
107
  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 *);
108
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *);
109
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
110
  static void showInternalMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *);
111
  static jint showInternalOptionDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
112
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *);
113
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint);
114
  static void showMessageDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, ::javax::swing::Icon *);
115
  static jint showOptionDialog(::java::awt::Component *, ::java::lang::Object *, ::java::lang::String *, jint, jint, ::javax::swing::Icon *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
116
  virtual void updateUI();
117
private:
118
  jboolean validMessageType(jint);
119
  jboolean validOptionType(jint);
120
  static void startModal(::javax::swing::JInternalFrame *);
121
  static const jlong serialVersionUID = 5231143276678566796LL;
122
public:
123
  static const jint CANCEL_OPTION = 2;
124
  static const jint CLOSED_OPTION = -1;
125
  static const jint DEFAULT_OPTION = -1;
126
  static const jint NO_OPTION = 1;
127
  static const jint OK_CANCEL_OPTION = 2;
128
  static const jint OK_OPTION = 0;
129
  static const jint YES_NO_CANCEL_OPTION = 1;
130
  static const jint YES_NO_OPTION = 0;
131
  static const jint YES_OPTION = 0;
132
  static const jint ERROR_MESSAGE = 0;
133
  static const jint INFORMATION_MESSAGE = 1;
134
  static const jint PLAIN_MESSAGE = -1;
135
  static const jint QUESTION_MESSAGE = 3;
136
  static const jint WARNING_MESSAGE = 2;
137
  static ::java::lang::String * ICON_PROPERTY;
138
  static ::java::lang::String * INITIAL_SELECTION_VALUE_PROPERTY;
139
  static ::java::lang::String * INITIAL_VALUE_PROPERTY;
140
  static ::java::lang::String * INPUT_VALUE_PROPERTY;
141
  static ::java::lang::String * MESSAGE_PROPERTY;
142
  static ::java::lang::String * MESSAGE_TYPE_PROPERTY;
143
  static ::java::lang::String * OPTION_TYPE_PROPERTY;
144
  static ::java::lang::String * OPTIONS_PROPERTY;
145
  static ::java::lang::String * SELECTION_VALUES_PROPERTY;
146
  static ::java::lang::String * VALUE_PROPERTY;
147
  static ::java::lang::String * WANTS_INPUT_PROPERTY;
148
  static ::java::lang::Object * UNINITIALIZED_VALUE;
149
public: // actually protected
150
  ::javax::swing::Icon * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) icon;
151
  ::java::lang::Object * initialSelectionValue;
152
  ::java::lang::Object * initialValue;
153
  ::java::lang::Object * inputValue;
154
  ::java::lang::Object * message;
155
  jint messageType;
156
  JArray< ::java::lang::Object * > * options;
157
  jint optionType;
158
  JArray< ::java::lang::Object * > * selectionValues;
159
  ::java::lang::Object * value;
160
  jboolean wantsInput;
161
private:
162
  static ::java::awt::Frame * privFrame;
163
public:
164
  static ::java::lang::Class class$;
165
};
166
 
167
#endif // __javax_swing_JOptionPane__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.