1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_beans_PropertyDescriptor__
|
5 |
|
|
#define __java_beans_PropertyDescriptor__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/beans/FeatureDescriptor.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace beans
|
17 |
|
|
{
|
18 |
|
|
class PropertyDescriptor;
|
19 |
|
|
class PropertyEditor;
|
20 |
|
|
}
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
|
24 |
|
|
class java::beans::PropertyDescriptor : public ::java::beans::FeatureDescriptor
|
25 |
|
|
{
|
26 |
|
|
|
27 |
|
|
public: // actually package-private
|
28 |
|
|
PropertyDescriptor(::java::lang::String *);
|
29 |
|
|
public:
|
30 |
|
|
PropertyDescriptor(::java::lang::String *, ::java::lang::Class *);
|
31 |
|
|
PropertyDescriptor(::java::lang::String *, ::java::lang::Class *, ::java::lang::String *, ::java::lang::String *);
|
32 |
|
|
PropertyDescriptor(::java::lang::String *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
|
33 |
|
|
virtual ::java::lang::Class * getPropertyType();
|
34 |
|
|
virtual ::java::lang::reflect::Method * getReadMethod();
|
35 |
|
|
virtual void setReadMethod(::java::lang::reflect::Method *);
|
36 |
|
|
virtual ::java::lang::reflect::Method * getWriteMethod();
|
37 |
|
|
virtual void setWriteMethod(::java::lang::reflect::Method *);
|
38 |
|
|
virtual jboolean isBound();
|
39 |
|
|
virtual void setBound(jboolean);
|
40 |
|
|
virtual jboolean isConstrained();
|
41 |
|
|
virtual void setConstrained(jboolean);
|
42 |
|
|
virtual ::java::lang::Class * getPropertyEditorClass();
|
43 |
|
|
virtual void setPropertyEditorClass(::java::lang::Class *);
|
44 |
|
|
virtual ::java::beans::PropertyEditor * createPropertyEditor(::java::lang::Object *);
|
45 |
|
|
private:
|
46 |
|
|
::java::lang::reflect::Constructor * findConstructor(::java::lang::Class *, JArray< ::java::lang::Class * > *);
|
47 |
|
|
::java::beans::PropertyEditor * instantiateClass(::java::lang::reflect::Constructor *, JArray< ::java::lang::Object * > *);
|
48 |
|
|
void findMethods(::java::lang::Class *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
49 |
|
|
::java::lang::Class * checkMethods(::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
|
50 |
|
|
public:
|
51 |
|
|
virtual jint hashCode();
|
52 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
53 |
|
|
public: // actually package-private
|
54 |
|
|
::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor)))) propertyType;
|
55 |
|
|
::java::lang::reflect::Method * getMethod;
|
56 |
|
|
::java::lang::reflect::Method * setMethod;
|
57 |
|
|
::java::lang::Class * propertyEditorClass;
|
58 |
|
|
jboolean bound;
|
59 |
|
|
jboolean constrained;
|
60 |
|
|
public:
|
61 |
|
|
static ::java::lang::Class class$;
|
62 |
|
|
};
|
63 |
|
|
|
64 |
|
|
#endif // __java_beans_PropertyDescriptor__
|