1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_beans_beancontext_BeanContextSupport__
|
5 |
|
|
#define __java_beans_beancontext_BeanContextSupport__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/beans/beancontext/BeanContextChildSupport.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace beans
|
17 |
|
|
{
|
18 |
|
|
class PropertyChangeEvent;
|
19 |
|
|
class PropertyChangeListener;
|
20 |
|
|
class VetoableChangeListener;
|
21 |
|
|
class Visibility;
|
22 |
|
|
namespace beancontext
|
23 |
|
|
{
|
24 |
|
|
class BeanContext;
|
25 |
|
|
class BeanContextChild;
|
26 |
|
|
class BeanContextMembershipEvent;
|
27 |
|
|
class BeanContextMembershipListener;
|
28 |
|
|
class BeanContextSupport;
|
29 |
|
|
class BeanContextSupport$BCSChild;
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
namespace net
|
33 |
|
|
{
|
34 |
|
|
class URL;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
class java::beans::beancontext::BeanContextSupport : public ::java::beans::beancontext::BeanContextChildSupport
|
40 |
|
|
{
|
41 |
|
|
|
42 |
|
|
void readObject(::java::io::ObjectInputStream *);
|
43 |
|
|
void writeObject(::java::io::ObjectOutputStream *);
|
44 |
|
|
public:
|
45 |
|
|
BeanContextSupport();
|
46 |
|
|
BeanContextSupport(::java::beans::beancontext::BeanContext *);
|
47 |
|
|
BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *);
|
48 |
|
|
BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean);
|
49 |
|
|
BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean, jboolean);
|
50 |
|
|
virtual jboolean add(::java::lang::Object *);
|
51 |
|
|
virtual jboolean addAll(::java::util::Collection *);
|
52 |
|
|
virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *);
|
53 |
|
|
virtual jboolean avoidingGui();
|
54 |
|
|
public: // actually protected
|
55 |
|
|
virtual ::java::util::Iterator * bcsChildren();
|
56 |
|
|
virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *);
|
57 |
|
|
virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *);
|
58 |
|
|
virtual void childDeserializedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
|
59 |
|
|
virtual void childJustAddedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
|
60 |
|
|
virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
|
61 |
|
|
static jboolean classEquals(::java::lang::Class *, ::java::lang::Class *);
|
62 |
|
|
public:
|
63 |
|
|
virtual void clear();
|
64 |
|
|
virtual jboolean contains(::java::lang::Object *);
|
65 |
|
|
virtual jboolean containsAll(::java::util::Collection *);
|
66 |
|
|
virtual jboolean containsKey(::java::lang::Object *);
|
67 |
|
|
public: // actually protected
|
68 |
|
|
virtual JArray< ::java::lang::Object * > * copyChildren();
|
69 |
|
|
virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *);
|
70 |
|
|
virtual void deserialize(::java::io::ObjectInputStream *, ::java::util::Collection *);
|
71 |
|
|
public:
|
72 |
|
|
virtual void dontUseGui();
|
73 |
|
|
public: // actually protected
|
74 |
|
|
virtual void fireChildrenAdded(::java::beans::beancontext::BeanContextMembershipEvent *);
|
75 |
|
|
virtual void fireChildrenRemoved(::java::beans::beancontext::BeanContextMembershipEvent *);
|
76 |
|
|
public:
|
77 |
|
|
virtual ::java::beans::beancontext::BeanContext * getBeanContextPeer();
|
78 |
|
|
public: // actually protected
|
79 |
|
|
static ::java::beans::beancontext::BeanContextChild * getChildBeanContextChild(::java::lang::Object *);
|
80 |
|
|
static ::java::beans::beancontext::BeanContextMembershipListener * getChildBeanContextMembershipListener(::java::lang::Object *);
|
81 |
|
|
static ::java::beans::PropertyChangeListener * getChildPropertyChangeListener(::java::lang::Object *);
|
82 |
|
|
static ::java::io::Serializable * getChildSerializable(::java::lang::Object *);
|
83 |
|
|
static ::java::beans::VetoableChangeListener * getChildVetoableChangeListener(::java::lang::Object *);
|
84 |
|
|
static ::java::beans::Visibility * getChildVisibility(::java::lang::Object *);
|
85 |
|
|
public:
|
86 |
|
|
virtual ::java::util::Locale * getLocale();
|
87 |
|
|
virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *);
|
88 |
|
|
virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *);
|
89 |
|
|
public: // actually protected
|
90 |
|
|
virtual void initialize();
|
91 |
|
|
public:
|
92 |
|
|
virtual ::java::lang::Object * instantiateChild(::java::lang::String *);
|
93 |
|
|
virtual jboolean isDesignTime();
|
94 |
|
|
virtual jboolean isEmpty();
|
95 |
|
|
virtual jboolean isSerializing();
|
96 |
|
|
virtual ::java::util::Iterator * iterator();
|
97 |
|
|
virtual jboolean needsGui();
|
98 |
|
|
virtual void okToUseGui();
|
99 |
|
|
virtual void propertyChange(::java::beans::PropertyChangeEvent *);
|
100 |
|
|
virtual void readChildren(::java::io::ObjectInputStream *);
|
101 |
|
|
virtual jboolean remove(::java::lang::Object *);
|
102 |
|
|
public: // actually protected
|
103 |
|
|
virtual jboolean remove(::java::lang::Object *, jboolean);
|
104 |
|
|
public:
|
105 |
|
|
virtual jboolean removeAll(::java::util::Collection *);
|
106 |
|
|
virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *);
|
107 |
|
|
virtual jboolean retainAll(::java::util::Collection *);
|
108 |
|
|
public: // actually protected
|
109 |
|
|
virtual void serialize(::java::io::ObjectOutputStream *, ::java::util::Collection *);
|
110 |
|
|
public:
|
111 |
|
|
virtual void setDesignTime(jboolean);
|
112 |
|
|
virtual void setLocale(::java::util::Locale *);
|
113 |
|
|
virtual jint size();
|
114 |
|
|
virtual JArray< ::java::lang::Object * > * toArray();
|
115 |
|
|
virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
|
116 |
|
|
public: // actually protected
|
117 |
|
|
virtual jboolean validatePendingAdd(::java::lang::Object *);
|
118 |
|
|
virtual jboolean validatePendingRemove(::java::lang::Object *);
|
119 |
|
|
public:
|
120 |
|
|
virtual void vetoableChange(::java::beans::PropertyChangeEvent *);
|
121 |
|
|
virtual void writeChildren(::java::io::ObjectOutputStream *);
|
122 |
|
|
private:
|
123 |
|
|
static const jlong serialVersionUID = -4879613978649577204LL;
|
124 |
|
|
public: // actually protected
|
125 |
|
|
::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextChildSupport)))) bcmListeners;
|
126 |
|
|
::java::util::HashMap * children;
|
127 |
|
|
jboolean designTime;
|
128 |
|
|
::java::util::Locale * locale;
|
129 |
|
|
jboolean okToUseGui__;
|
130 |
|
|
private:
|
131 |
|
|
jboolean serializing;
|
132 |
|
|
public:
|
133 |
|
|
static ::java::lang::Class class$;
|
134 |
|
|
};
|
135 |
|
|
|
136 |
|
|
#endif // __java_beans_beancontext_BeanContextSupport__
|