1 | class AbstractTestElementBeanInfo implements BeanInfo {↵ | | 1 | class TestBeanBeanInfo implements BeanInfo {↵
|
|
2 | public BeanInfo[] getAdditionalBeanInfo() {↵ | | 2 | public BeanInfo[] getAdditionalBeanInfo() {↵
|
3 | return new BeanInfo[0];↵ | | 3 | return new BeanInfo[0];↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /*↵ | | 5 | /*↵
|
6 | * (non-Javadoc)↵ | | 6 | * (non-Javadoc)↵
|
7 | * ↵ | | 7 | * ↵
|
8 | * @see java.beans.BeanInfo#getBeanDescriptor()↵ | | 8 | * @see java.beans.BeanInfo#getBeanDescriptor()↵
|
9 | */↵ | | 9 | */↵
|
10 | public BeanDescriptor getBeanDescriptor() {↵ | | 10 | public BeanDescriptor getBeanDescriptor() {↵
|
11 | return null;↵ | | 11 | return null;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /*↵ | | 13 | /*↵
|
14 | * (non-Javadoc)↵ | | 14 | * (non-Javadoc)↵
|
15 | * ↵ | | 15 | * ↵
|
16 | * @see java.beans.BeanInfo#getDefaultEventIndex()↵ | | 16 | * @see java.beans.BeanInfo#getDefaultEventIndex()↵
|
17 | */↵ | | 17 | */↵
|
18 | public int getDefaultEventIndex() {↵ | | 18 | public int getDefaultEventIndex() {↵
|
19 | return 0;↵ | | 19 | return 0;↵
|
20 | }↵ | | 20 | }↵
|
|
21 | /*↵ | | 21 | /*↵
|
22 | * (non-Javadoc)↵ | | 22 | * (non-Javadoc)↵
|
23 | * ↵ | | 23 | * ↵
|
24 | * @see java.beans.BeanInfo#getDefaultPropertyIndex()↵ | | 24 | * @see java.beans.BeanInfo#getDefaultPropertyIndex()↵
|
25 | */↵ | | 25 | */↵
|
26 | public int getDefaultPropertyIndex() {↵ | | 26 | public int getDefaultPropertyIndex() {↵
|
27 | return 0;↵ | | 27 | return 0;↵
|
28 | }↵ | | 28 | }↵
|
|
29 | /*↵ | | 29 | /*↵
|
30 | * (non-Javadoc)↵ | | 30 | * (non-Javadoc)↵
|
31 | * ↵ | | 31 | * ↵
|
32 | * @see java.beans.BeanInfo#getEventSetDescriptors()↵ | | 32 | * @see java.beans.BeanInfo#getEventSetDescriptors()↵
|
33 | */↵ | | 33 | */↵
|
34 | public EventSetDescriptor[] getEventSetDescriptors() {↵ | | 34 | public EventSetDescriptor[] getEventSetDescriptors() {↵
|
35 | return new EventSetDescriptor[0];↵ | | 35 | return new EventSetDescriptor[0];↵
|
36 | }↵ | | 36 | }↵
|
|
37 | /*↵ | | 37 | /*↵
|
38 | * (non-Javadoc)↵ | | 38 | * (non-Javadoc)↵
|
39 | * ↵ | | 39 | * ↵
|
40 | * @see java.beans.BeanInfo#getIcon(int)↵ | | 40 | * @see java.beans.BeanInfo#getIcon(int)↵
|
41 | */↵ | | 41 | */↵
|
42 | public Image getIcon(int iconKind) {↵ | | 42 | public Image getIcon(int iconKind) {↵
|
43 | return null;↵ | | 43 | return null;↵
|
44 | }↵ | | 44 | }↵
|
|
45 | /*↵ | | 45 | /*↵
|
46 | * (non-Javadoc)↵ | | 46 | * (non-Javadoc)↵
|
47 | * ↵ | | 47 | * ↵
|
48 | * @see java.beans.BeanInfo#getMethodDescriptors()↵ | | 48 | * @see java.beans.BeanInfo#getMethodDescriptors()↵
|
49 | */↵ | | 49 | */↵
|
50 | public MethodDescriptor[] getMethodDescriptors() {↵ | | 50 | public MethodDescriptor[] getMethodDescriptors() {↵
|
51 | return new MethodDescriptor[0];↵ | | 51 | return new MethodDescriptor[0];↵
|
52 | }↵ | | 52 | }↵
|
|
53 | /*↵ | | 53 | /*↵
|
54 | * (non-Javadoc)↵ | | 54 | * (non-Javadoc)↵
|
55 | * ↵ | | 55 | * ↵
|
56 | * @see java.beans.BeanInfo#getPropertyDescriptors()↵ | | 56 | * @see java.beans.BeanInfo#getPropertyDescriptors()↵
|
57 | */↵ | | 57 | */↵
|
58 | public PropertyDescriptor[] getPropertyDescriptors() {↵ | | 58 | public PropertyDescriptor[] getPropertyDescriptors() {↵
|
59 | return new PropertyDescriptor[0];↵ | | 59 | return new PropertyDescriptor[0];↵
|
60 | }↵ | | 60 | }↵
|
61 | } | | 61 | }
|