-
Notifications
You must be signed in to change notification settings - Fork 0
/
CalculateBeanInfo.java
892 lines (863 loc) · 72.7 KB
/
CalculateBeanInfo.java
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.beans.*;
/**
*
* @author meemr
*/
public class CalculateBeanInfo extends SimpleBeanInfo {
// Bean descriptor//GEN-FIRST:BeanDescriptor
/*lazy BeanDescriptor*/
private static BeanDescriptor getBdescriptor(){
BeanDescriptor beanDescriptor = new BeanDescriptor ( Calculate.class , null ); // NOI18N//GEN-HEADEREND:BeanDescriptor
// Here you can add code for customizing the BeanDescriptor.
return beanDescriptor; }//GEN-LAST:BeanDescriptor
// Property identifiers//GEN-FIRST:Properties
private static final int PROPERTY_accessibleContext = 0;
private static final int PROPERTY_active = 1;
private static final int PROPERTY_alignmentX = 2;
private static final int PROPERTY_alignmentY = 3;
private static final int PROPERTY_alwaysOnTop = 4;
private static final int PROPERTY_alwaysOnTopSupported = 5;
private static final int PROPERTY_autoRequestFocus = 6;
private static final int PROPERTY_background = 7;
private static final int PROPERTY_backgroundSet = 8;
private static final int PROPERTY_baselineResizeBehavior = 9;
private static final int PROPERTY_bounds = 10;
private static final int PROPERTY_bufferStrategy = 11;
private static final int PROPERTY_colorModel = 12;
private static final int PROPERTY_component = 13;
private static final int PROPERTY_componentCount = 14;
private static final int PROPERTY_componentListeners = 15;
private static final int PROPERTY_componentOrientation = 16;
private static final int PROPERTY_components = 17;
private static final int PROPERTY_containerListeners = 18;
private static final int PROPERTY_contentPane = 19;
private static final int PROPERTY_cursor = 20;
private static final int PROPERTY_cursorSet = 21;
private static final int PROPERTY_cursorType = 22;
private static final int PROPERTY_defaultCloseOperation = 23;
private static final int PROPERTY_displayable = 24;
private static final int PROPERTY_doubleBuffered = 25;
private static final int PROPERTY_dropTarget = 26;
private static final int PROPERTY_enabled = 27;
private static final int PROPERTY_extendedState = 28;
private static final int PROPERTY_focusable = 29;
private static final int PROPERTY_focusableWindow = 30;
private static final int PROPERTY_focusableWindowState = 31;
private static final int PROPERTY_focusCycleRoot = 32;
private static final int PROPERTY_focusCycleRootAncestor = 33;
private static final int PROPERTY_focused = 34;
private static final int PROPERTY_focusListeners = 35;
private static final int PROPERTY_focusOwner = 36;
private static final int PROPERTY_focusTraversable = 37;
private static final int PROPERTY_focusTraversalKeys = 38;
private static final int PROPERTY_focusTraversalKeysEnabled = 39;
private static final int PROPERTY_focusTraversalPolicy = 40;
private static final int PROPERTY_focusTraversalPolicyProvider = 41;
private static final int PROPERTY_focusTraversalPolicySet = 42;
private static final int PROPERTY_font = 43;
private static final int PROPERTY_fontSet = 44;
private static final int PROPERTY_foreground = 45;
private static final int PROPERTY_foregroundSet = 46;
private static final int PROPERTY_glassPane = 47;
private static final int PROPERTY_graphics = 48;
private static final int PROPERTY_graphicsConfiguration = 49;
private static final int PROPERTY_height = 50;
private static final int PROPERTY_hierarchyBoundsListeners = 51;
private static final int PROPERTY_hierarchyListeners = 52;
private static final int PROPERTY_iconImage = 53;
private static final int PROPERTY_iconImages = 54;
private static final int PROPERTY_ignoreRepaint = 55;
private static final int PROPERTY_inputContext = 56;
private static final int PROPERTY_inputMethodListeners = 57;
private static final int PROPERTY_inputMethodRequests = 58;
private static final int PROPERTY_insets = 59;
private static final int PROPERTY_JMenuBar = 60;
private static final int PROPERTY_keyListeners = 61;
private static final int PROPERTY_layeredPane = 62;
private static final int PROPERTY_layout = 63;
private static final int PROPERTY_lightweight = 64;
private static final int PROPERTY_locale = 65;
private static final int PROPERTY_location = 66;
private static final int PROPERTY_locationByPlatform = 67;
private static final int PROPERTY_locationOnScreen = 68;
private static final int PROPERTY_locationRelativeTo = 69;
private static final int PROPERTY_maximizedBounds = 70;
private static final int PROPERTY_maximumSize = 71;
private static final int PROPERTY_maximumSizeSet = 72;
private static final int PROPERTY_menuBar = 73;
private static final int PROPERTY_minimumSize = 74;
private static final int PROPERTY_minimumSizeSet = 75;
private static final int PROPERTY_modalExclusionType = 76;
private static final int PROPERTY_mostRecentFocusOwner = 77;
private static final int PROPERTY_mouseListeners = 78;
private static final int PROPERTY_mouseMotionListeners = 79;
private static final int PROPERTY_mousePosition = 80;
private static final int PROPERTY_mouseWheelListeners = 81;
private static final int PROPERTY_name = 82;
private static final int PROPERTY_opacity = 83;
private static final int PROPERTY_opaque = 84;
private static final int PROPERTY_ownedWindows = 85;
private static final int PROPERTY_owner = 86;
private static final int PROPERTY_parent = 87;
private static final int PROPERTY_peer = 88;
private static final int PROPERTY_preferredSize = 89;
private static final int PROPERTY_preferredSizeSet = 90;
private static final int PROPERTY_propertyChangeListeners = 91;
private static final int PROPERTY_resizable = 92;
private static final int PROPERTY_rootPane = 93;
private static final int PROPERTY_shape = 94;
private static final int PROPERTY_showing = 95;
private static final int PROPERTY_size = 96;
private static final int PROPERTY_state = 97;
private static final int PROPERTY_title = 98;
private static final int PROPERTY_toolkit = 99;
private static final int PROPERTY_transferHandler = 100;
private static final int PROPERTY_treeLock = 101;
private static final int PROPERTY_type = 102;
private static final int PROPERTY_undecorated = 103;
private static final int PROPERTY_valid = 104;
private static final int PROPERTY_validateRoot = 105;
private static final int PROPERTY_visible = 106;
private static final int PROPERTY_warningString = 107;
private static final int PROPERTY_width = 108;
private static final int PROPERTY_windowFocusListeners = 109;
private static final int PROPERTY_windowListeners = 110;
private static final int PROPERTY_windowStateListeners = 111;
private static final int PROPERTY_x = 112;
private static final int PROPERTY_y = 113;
// Property array
/*lazy PropertyDescriptor*/
private static PropertyDescriptor[] getPdescriptor(){
PropertyDescriptor[] properties = new PropertyDescriptor[114];
try {
properties[PROPERTY_accessibleContext] = new PropertyDescriptor ( "accessibleContext", Calculate.class, "getAccessibleContext", null ); // NOI18N
properties[PROPERTY_active] = new PropertyDescriptor ( "active", Calculate.class, "isActive", null ); // NOI18N
properties[PROPERTY_alignmentX] = new PropertyDescriptor ( "alignmentX", Calculate.class, "getAlignmentX", null ); // NOI18N
properties[PROPERTY_alignmentY] = new PropertyDescriptor ( "alignmentY", Calculate.class, "getAlignmentY", null ); // NOI18N
properties[PROPERTY_alwaysOnTop] = new PropertyDescriptor ( "alwaysOnTop", Calculate.class, "isAlwaysOnTop", "setAlwaysOnTop" ); // NOI18N
properties[PROPERTY_alwaysOnTopSupported] = new PropertyDescriptor ( "alwaysOnTopSupported", Calculate.class, "isAlwaysOnTopSupported", null ); // NOI18N
properties[PROPERTY_autoRequestFocus] = new PropertyDescriptor ( "autoRequestFocus", Calculate.class, "isAutoRequestFocus", "setAutoRequestFocus" ); // NOI18N
properties[PROPERTY_background] = new PropertyDescriptor ( "background", Calculate.class, "getBackground", "setBackground" ); // NOI18N
properties[PROPERTY_backgroundSet] = new PropertyDescriptor ( "backgroundSet", Calculate.class, "isBackgroundSet", null ); // NOI18N
properties[PROPERTY_baselineResizeBehavior] = new PropertyDescriptor ( "baselineResizeBehavior", Calculate.class, "getBaselineResizeBehavior", null ); // NOI18N
properties[PROPERTY_bounds] = new PropertyDescriptor ( "bounds", Calculate.class, "getBounds", "setBounds" ); // NOI18N
properties[PROPERTY_bufferStrategy] = new PropertyDescriptor ( "bufferStrategy", Calculate.class, "getBufferStrategy", null ); // NOI18N
properties[PROPERTY_colorModel] = new PropertyDescriptor ( "colorModel", Calculate.class, "getColorModel", null ); // NOI18N
properties[PROPERTY_component] = new IndexedPropertyDescriptor ( "component", Calculate.class, null, null, "getComponent", null ); // NOI18N
properties[PROPERTY_componentCount] = new PropertyDescriptor ( "componentCount", Calculate.class, "getComponentCount", null ); // NOI18N
properties[PROPERTY_componentListeners] = new PropertyDescriptor ( "componentListeners", Calculate.class, "getComponentListeners", null ); // NOI18N
properties[PROPERTY_componentOrientation] = new PropertyDescriptor ( "componentOrientation", Calculate.class, "getComponentOrientation", "setComponentOrientation" ); // NOI18N
properties[PROPERTY_components] = new PropertyDescriptor ( "components", Calculate.class, "getComponents", null ); // NOI18N
properties[PROPERTY_containerListeners] = new PropertyDescriptor ( "containerListeners", Calculate.class, "getContainerListeners", null ); // NOI18N
properties[PROPERTY_contentPane] = new PropertyDescriptor ( "contentPane", Calculate.class, "getContentPane", "setContentPane" ); // NOI18N
properties[PROPERTY_cursor] = new PropertyDescriptor ( "cursor", Calculate.class, null, "setCursor" ); // NOI18N
properties[PROPERTY_cursorSet] = new PropertyDescriptor ( "cursorSet", Calculate.class, "isCursorSet", null ); // NOI18N
properties[PROPERTY_cursorType] = new PropertyDescriptor ( "cursorType", Calculate.class, "getCursorType", null ); // NOI18N
properties[PROPERTY_defaultCloseOperation] = new PropertyDescriptor ( "defaultCloseOperation", Calculate.class, "getDefaultCloseOperation", "setDefaultCloseOperation" ); // NOI18N
properties[PROPERTY_displayable] = new PropertyDescriptor ( "displayable", Calculate.class, "isDisplayable", null ); // NOI18N
properties[PROPERTY_doubleBuffered] = new PropertyDescriptor ( "doubleBuffered", Calculate.class, "isDoubleBuffered", null ); // NOI18N
properties[PROPERTY_dropTarget] = new PropertyDescriptor ( "dropTarget", Calculate.class, "getDropTarget", "setDropTarget" ); // NOI18N
properties[PROPERTY_enabled] = new PropertyDescriptor ( "enabled", Calculate.class, "isEnabled", "setEnabled" ); // NOI18N
properties[PROPERTY_extendedState] = new PropertyDescriptor ( "extendedState", Calculate.class, "getExtendedState", "setExtendedState" ); // NOI18N
properties[PROPERTY_focusable] = new PropertyDescriptor ( "focusable", Calculate.class, "isFocusable", "setFocusable" ); // NOI18N
properties[PROPERTY_focusableWindow] = new PropertyDescriptor ( "focusableWindow", Calculate.class, "isFocusableWindow", null ); // NOI18N
properties[PROPERTY_focusableWindowState] = new PropertyDescriptor ( "focusableWindowState", Calculate.class, "getFocusableWindowState", "setFocusableWindowState" ); // NOI18N
properties[PROPERTY_focusCycleRoot] = new PropertyDescriptor ( "focusCycleRoot", Calculate.class, "isFocusCycleRoot", "setFocusCycleRoot" ); // NOI18N
properties[PROPERTY_focusCycleRootAncestor] = new PropertyDescriptor ( "focusCycleRootAncestor", Calculate.class, "getFocusCycleRootAncestor", null ); // NOI18N
properties[PROPERTY_focused] = new PropertyDescriptor ( "focused", Calculate.class, "isFocused", null ); // NOI18N
properties[PROPERTY_focusListeners] = new PropertyDescriptor ( "focusListeners", Calculate.class, "getFocusListeners", null ); // NOI18N
properties[PROPERTY_focusOwner] = new PropertyDescriptor ( "focusOwner", Calculate.class, "getFocusOwner", null ); // NOI18N
properties[PROPERTY_focusTraversable] = new PropertyDescriptor ( "focusTraversable", Calculate.class, "isFocusTraversable", null ); // NOI18N
properties[PROPERTY_focusTraversalKeys] = new IndexedPropertyDescriptor ( "focusTraversalKeys", Calculate.class, null, null, "getFocusTraversalKeys", null ); // NOI18N
properties[PROPERTY_focusTraversalKeysEnabled] = new PropertyDescriptor ( "focusTraversalKeysEnabled", Calculate.class, "getFocusTraversalKeysEnabled", "setFocusTraversalKeysEnabled" ); // NOI18N
properties[PROPERTY_focusTraversalPolicy] = new PropertyDescriptor ( "focusTraversalPolicy", Calculate.class, "getFocusTraversalPolicy", "setFocusTraversalPolicy" ); // NOI18N
properties[PROPERTY_focusTraversalPolicyProvider] = new PropertyDescriptor ( "focusTraversalPolicyProvider", Calculate.class, "isFocusTraversalPolicyProvider", "setFocusTraversalPolicyProvider" ); // NOI18N
properties[PROPERTY_focusTraversalPolicySet] = new PropertyDescriptor ( "focusTraversalPolicySet", Calculate.class, "isFocusTraversalPolicySet", null ); // NOI18N
properties[PROPERTY_font] = new PropertyDescriptor ( "font", Calculate.class, "getFont", "setFont" ); // NOI18N
properties[PROPERTY_fontSet] = new PropertyDescriptor ( "fontSet", Calculate.class, "isFontSet", null ); // NOI18N
properties[PROPERTY_foreground] = new PropertyDescriptor ( "foreground", Calculate.class, "getForeground", "setForeground" ); // NOI18N
properties[PROPERTY_foregroundSet] = new PropertyDescriptor ( "foregroundSet", Calculate.class, "isForegroundSet", null ); // NOI18N
properties[PROPERTY_glassPane] = new PropertyDescriptor ( "glassPane", Calculate.class, "getGlassPane", "setGlassPane" ); // NOI18N
properties[PROPERTY_graphics] = new PropertyDescriptor ( "graphics", Calculate.class, "getGraphics", null ); // NOI18N
properties[PROPERTY_graphicsConfiguration] = new PropertyDescriptor ( "graphicsConfiguration", Calculate.class, "getGraphicsConfiguration", null ); // NOI18N
properties[PROPERTY_height] = new PropertyDescriptor ( "height", Calculate.class, "getHeight", null ); // NOI18N
properties[PROPERTY_hierarchyBoundsListeners] = new PropertyDescriptor ( "hierarchyBoundsListeners", Calculate.class, "getHierarchyBoundsListeners", null ); // NOI18N
properties[PROPERTY_hierarchyListeners] = new PropertyDescriptor ( "hierarchyListeners", Calculate.class, "getHierarchyListeners", null ); // NOI18N
properties[PROPERTY_iconImage] = new PropertyDescriptor ( "iconImage", Calculate.class, "getIconImage", "setIconImage" ); // NOI18N
properties[PROPERTY_iconImages] = new PropertyDescriptor ( "iconImages", Calculate.class, null, "setIconImages" ); // NOI18N
properties[PROPERTY_ignoreRepaint] = new PropertyDescriptor ( "ignoreRepaint", Calculate.class, "getIgnoreRepaint", "setIgnoreRepaint" ); // NOI18N
properties[PROPERTY_inputContext] = new PropertyDescriptor ( "inputContext", Calculate.class, "getInputContext", null ); // NOI18N
properties[PROPERTY_inputMethodListeners] = new PropertyDescriptor ( "inputMethodListeners", Calculate.class, "getInputMethodListeners", null ); // NOI18N
properties[PROPERTY_inputMethodRequests] = new PropertyDescriptor ( "inputMethodRequests", Calculate.class, "getInputMethodRequests", null ); // NOI18N
properties[PROPERTY_insets] = new PropertyDescriptor ( "insets", Calculate.class, "getInsets", null ); // NOI18N
properties[PROPERTY_JMenuBar] = new PropertyDescriptor ( "JMenuBar", Calculate.class, "getJMenuBar", "setJMenuBar" ); // NOI18N
properties[PROPERTY_keyListeners] = new PropertyDescriptor ( "keyListeners", Calculate.class, "getKeyListeners", null ); // NOI18N
properties[PROPERTY_layeredPane] = new PropertyDescriptor ( "layeredPane", Calculate.class, "getLayeredPane", "setLayeredPane" ); // NOI18N
properties[PROPERTY_layout] = new PropertyDescriptor ( "layout", Calculate.class, "getLayout", "setLayout" ); // NOI18N
properties[PROPERTY_lightweight] = new PropertyDescriptor ( "lightweight", Calculate.class, "isLightweight", null ); // NOI18N
properties[PROPERTY_locale] = new PropertyDescriptor ( "locale", Calculate.class, "getLocale", "setLocale" ); // NOI18N
properties[PROPERTY_location] = new PropertyDescriptor ( "location", Calculate.class, "getLocation", "setLocation" ); // NOI18N
properties[PROPERTY_locationByPlatform] = new PropertyDescriptor ( "locationByPlatform", Calculate.class, "isLocationByPlatform", "setLocationByPlatform" ); // NOI18N
properties[PROPERTY_locationOnScreen] = new PropertyDescriptor ( "locationOnScreen", Calculate.class, "getLocationOnScreen", null ); // NOI18N
properties[PROPERTY_locationRelativeTo] = new PropertyDescriptor ( "locationRelativeTo", Calculate.class, null, "setLocationRelativeTo" ); // NOI18N
properties[PROPERTY_maximizedBounds] = new PropertyDescriptor ( "maximizedBounds", Calculate.class, "getMaximizedBounds", "setMaximizedBounds" ); // NOI18N
properties[PROPERTY_maximumSize] = new PropertyDescriptor ( "maximumSize", Calculate.class, "getMaximumSize", "setMaximumSize" ); // NOI18N
properties[PROPERTY_maximumSizeSet] = new PropertyDescriptor ( "maximumSizeSet", Calculate.class, "isMaximumSizeSet", null ); // NOI18N
properties[PROPERTY_menuBar] = new PropertyDescriptor ( "menuBar", Calculate.class, "getMenuBar", "setMenuBar" ); // NOI18N
properties[PROPERTY_minimumSize] = new PropertyDescriptor ( "minimumSize", Calculate.class, "getMinimumSize", "setMinimumSize" ); // NOI18N
properties[PROPERTY_minimumSizeSet] = new PropertyDescriptor ( "minimumSizeSet", Calculate.class, "isMinimumSizeSet", null ); // NOI18N
properties[PROPERTY_modalExclusionType] = new PropertyDescriptor ( "modalExclusionType", Calculate.class, "getModalExclusionType", "setModalExclusionType" ); // NOI18N
properties[PROPERTY_mostRecentFocusOwner] = new PropertyDescriptor ( "mostRecentFocusOwner", Calculate.class, "getMostRecentFocusOwner", null ); // NOI18N
properties[PROPERTY_mouseListeners] = new PropertyDescriptor ( "mouseListeners", Calculate.class, "getMouseListeners", null ); // NOI18N
properties[PROPERTY_mouseMotionListeners] = new PropertyDescriptor ( "mouseMotionListeners", Calculate.class, "getMouseMotionListeners", null ); // NOI18N
properties[PROPERTY_mousePosition] = new PropertyDescriptor ( "mousePosition", Calculate.class, "getMousePosition", null ); // NOI18N
properties[PROPERTY_mouseWheelListeners] = new PropertyDescriptor ( "mouseWheelListeners", Calculate.class, "getMouseWheelListeners", null ); // NOI18N
properties[PROPERTY_name] = new PropertyDescriptor ( "name", Calculate.class, "getName", "setName" ); // NOI18N
properties[PROPERTY_opacity] = new PropertyDescriptor ( "opacity", Calculate.class, "getOpacity", "setOpacity" ); // NOI18N
properties[PROPERTY_opaque] = new PropertyDescriptor ( "opaque", Calculate.class, "isOpaque", null ); // NOI18N
properties[PROPERTY_ownedWindows] = new PropertyDescriptor ( "ownedWindows", Calculate.class, "getOwnedWindows", null ); // NOI18N
properties[PROPERTY_owner] = new PropertyDescriptor ( "owner", Calculate.class, "getOwner", null ); // NOI18N
properties[PROPERTY_parent] = new PropertyDescriptor ( "parent", Calculate.class, "getParent", null ); // NOI18N
properties[PROPERTY_peer] = new PropertyDescriptor ( "peer", Calculate.class, "getPeer", null ); // NOI18N
properties[PROPERTY_preferredSize] = new PropertyDescriptor ( "preferredSize", Calculate.class, "getPreferredSize", "setPreferredSize" ); // NOI18N
properties[PROPERTY_preferredSizeSet] = new PropertyDescriptor ( "preferredSizeSet", Calculate.class, "isPreferredSizeSet", null ); // NOI18N
properties[PROPERTY_propertyChangeListeners] = new PropertyDescriptor ( "propertyChangeListeners", Calculate.class, "getPropertyChangeListeners", null ); // NOI18N
properties[PROPERTY_resizable] = new PropertyDescriptor ( "resizable", Calculate.class, "isResizable", "setResizable" ); // NOI18N
properties[PROPERTY_rootPane] = new PropertyDescriptor ( "rootPane", Calculate.class, "getRootPane", null ); // NOI18N
properties[PROPERTY_shape] = new PropertyDescriptor ( "shape", Calculate.class, "getShape", "setShape" ); // NOI18N
properties[PROPERTY_showing] = new PropertyDescriptor ( "showing", Calculate.class, "isShowing", null ); // NOI18N
properties[PROPERTY_size] = new PropertyDescriptor ( "size", Calculate.class, "getSize", "setSize" ); // NOI18N
properties[PROPERTY_state] = new PropertyDescriptor ( "state", Calculate.class, "getState", "setState" ); // NOI18N
properties[PROPERTY_title] = new PropertyDescriptor ( "title", Calculate.class, "getTitle", "setTitle" ); // NOI18N
properties[PROPERTY_toolkit] = new PropertyDescriptor ( "toolkit", Calculate.class, "getToolkit", null ); // NOI18N
properties[PROPERTY_transferHandler] = new PropertyDescriptor ( "transferHandler", Calculate.class, "getTransferHandler", "setTransferHandler" ); // NOI18N
properties[PROPERTY_treeLock] = new PropertyDescriptor ( "treeLock", Calculate.class, "getTreeLock", null ); // NOI18N
properties[PROPERTY_type] = new PropertyDescriptor ( "type", Calculate.class, "getType", "setType" ); // NOI18N
properties[PROPERTY_undecorated] = new PropertyDescriptor ( "undecorated", Calculate.class, "isUndecorated", "setUndecorated" ); // NOI18N
properties[PROPERTY_valid] = new PropertyDescriptor ( "valid", Calculate.class, "isValid", null ); // NOI18N
properties[PROPERTY_validateRoot] = new PropertyDescriptor ( "validateRoot", Calculate.class, "isValidateRoot", null ); // NOI18N
properties[PROPERTY_visible] = new PropertyDescriptor ( "visible", Calculate.class, "isVisible", "setVisible" ); // NOI18N
properties[PROPERTY_warningString] = new PropertyDescriptor ( "warningString", Calculate.class, "getWarningString", null ); // NOI18N
properties[PROPERTY_width] = new PropertyDescriptor ( "width", Calculate.class, "getWidth", null ); // NOI18N
properties[PROPERTY_windowFocusListeners] = new PropertyDescriptor ( "windowFocusListeners", Calculate.class, "getWindowFocusListeners", null ); // NOI18N
properties[PROPERTY_windowListeners] = new PropertyDescriptor ( "windowListeners", Calculate.class, "getWindowListeners", null ); // NOI18N
properties[PROPERTY_windowStateListeners] = new PropertyDescriptor ( "windowStateListeners", Calculate.class, "getWindowStateListeners", null ); // NOI18N
properties[PROPERTY_x] = new PropertyDescriptor ( "x", Calculate.class, "getX", null ); // NOI18N
properties[PROPERTY_y] = new PropertyDescriptor ( "y", Calculate.class, "getY", null ); // NOI18N
}
catch(IntrospectionException e) {
e.printStackTrace();
}//GEN-HEADEREND:Properties
// Here you can add code for customizing the properties array.
return properties; }//GEN-LAST:Properties
// EventSet identifiers//GEN-FIRST:Events
private static final int EVENT_componentListener = 0;
private static final int EVENT_containerListener = 1;
private static final int EVENT_focusListener = 2;
private static final int EVENT_hierarchyBoundsListener = 3;
private static final int EVENT_hierarchyListener = 4;
private static final int EVENT_inputMethodListener = 5;
private static final int EVENT_keyListener = 6;
private static final int EVENT_mouseListener = 7;
private static final int EVENT_mouseMotionListener = 8;
private static final int EVENT_mouseWheelListener = 9;
private static final int EVENT_propertyChangeListener = 10;
private static final int EVENT_windowFocusListener = 11;
private static final int EVENT_windowListener = 12;
private static final int EVENT_windowStateListener = 13;
// EventSet array
/*lazy EventSetDescriptor*/
private static EventSetDescriptor[] getEdescriptor(){
EventSetDescriptor[] eventSets = new EventSetDescriptor[14];
try {
eventSets[EVENT_componentListener] = new EventSetDescriptor ( Calculate.class, "componentListener", java.awt.event.ComponentListener.class, new String[] {"componentResized", "componentMoved", "componentShown", "componentHidden"}, "addComponentListener", "removeComponentListener" ); // NOI18N
eventSets[EVENT_containerListener] = new EventSetDescriptor ( Calculate.class, "containerListener", java.awt.event.ContainerListener.class, new String[] {"componentAdded", "componentRemoved"}, "addContainerListener", "removeContainerListener" ); // NOI18N
eventSets[EVENT_focusListener] = new EventSetDescriptor ( Calculate.class, "focusListener", java.awt.event.FocusListener.class, new String[] {"focusGained", "focusLost"}, "addFocusListener", "removeFocusListener" ); // NOI18N
eventSets[EVENT_hierarchyBoundsListener] = new EventSetDescriptor ( Calculate.class, "hierarchyBoundsListener", java.awt.event.HierarchyBoundsListener.class, new String[] {"ancestorMoved", "ancestorResized"}, "addHierarchyBoundsListener", "removeHierarchyBoundsListener" ); // NOI18N
eventSets[EVENT_hierarchyListener] = new EventSetDescriptor ( Calculate.class, "hierarchyListener", java.awt.event.HierarchyListener.class, new String[] {"hierarchyChanged"}, "addHierarchyListener", "removeHierarchyListener" ); // NOI18N
eventSets[EVENT_inputMethodListener] = new EventSetDescriptor ( Calculate.class, "inputMethodListener", java.awt.event.InputMethodListener.class, new String[] {"inputMethodTextChanged", "caretPositionChanged"}, "addInputMethodListener", "removeInputMethodListener" ); // NOI18N
eventSets[EVENT_keyListener] = new EventSetDescriptor ( Calculate.class, "keyListener", java.awt.event.KeyListener.class, new String[] {"keyTyped", "keyPressed", "keyReleased"}, "addKeyListener", "removeKeyListener" ); // NOI18N
eventSets[EVENT_mouseListener] = new EventSetDescriptor ( Calculate.class, "mouseListener", java.awt.event.MouseListener.class, new String[] {"mouseClicked", "mousePressed", "mouseReleased", "mouseEntered", "mouseExited"}, "addMouseListener", "removeMouseListener" ); // NOI18N
eventSets[EVENT_mouseMotionListener] = new EventSetDescriptor ( Calculate.class, "mouseMotionListener", java.awt.event.MouseMotionListener.class, new String[] {"mouseDragged", "mouseMoved"}, "addMouseMotionListener", "removeMouseMotionListener" ); // NOI18N
eventSets[EVENT_mouseWheelListener] = new EventSetDescriptor ( Calculate.class, "mouseWheelListener", java.awt.event.MouseWheelListener.class, new String[] {"mouseWheelMoved"}, "addMouseWheelListener", "removeMouseWheelListener" ); // NOI18N
eventSets[EVENT_propertyChangeListener] = new EventSetDescriptor ( Calculate.class, "propertyChangeListener", java.beans.PropertyChangeListener.class, new String[] {"propertyChange"}, "addPropertyChangeListener", "removePropertyChangeListener" ); // NOI18N
eventSets[EVENT_windowFocusListener] = new EventSetDescriptor ( Calculate.class, "windowFocusListener", java.awt.event.WindowFocusListener.class, new String[] {"windowGainedFocus", "windowLostFocus"}, "addWindowFocusListener", "removeWindowFocusListener" ); // NOI18N
eventSets[EVENT_windowListener] = new EventSetDescriptor ( Calculate.class, "windowListener", java.awt.event.WindowListener.class, new String[] {"windowOpened", "windowClosing", "windowClosed", "windowIconified", "windowDeiconified", "windowActivated", "windowDeactivated"}, "addWindowListener", "removeWindowListener" ); // NOI18N
eventSets[EVENT_windowStateListener] = new EventSetDescriptor ( Calculate.class, "windowStateListener", java.awt.event.WindowStateListener.class, new String[] {"windowStateChanged"}, "addWindowStateListener", "removeWindowStateListener" ); // NOI18N
}
catch(IntrospectionException e) {
e.printStackTrace();
}//GEN-HEADEREND:Events
// Here you can add code for customizing the event sets array.
return eventSets; }//GEN-LAST:Events
// Method identifiers//GEN-FIRST:Methods
private static final int METHOD_action0 = 0;
private static final int METHOD_add1 = 1;
private static final int METHOD_add2 = 2;
private static final int METHOD_add3 = 3;
private static final int METHOD_add4 = 4;
private static final int METHOD_add5 = 5;
private static final int METHOD_add6 = 6;
private static final int METHOD_addNotify7 = 7;
private static final int METHOD_addPropertyChangeListener8 = 8;
private static final int METHOD_applyComponentOrientation9 = 9;
private static final int METHOD_applyResourceBundle10 = 10;
private static final int METHOD_applyResourceBundle11 = 11;
private static final int METHOD_areFocusTraversalKeysSet12 = 12;
private static final int METHOD_bounds13 = 13;
private static final int METHOD_checkImage14 = 14;
private static final int METHOD_checkImage15 = 15;
private static final int METHOD_contains16 = 16;
private static final int METHOD_contains17 = 17;
private static final int METHOD_countComponents18 = 18;
private static final int METHOD_createBufferStrategy19 = 19;
private static final int METHOD_createBufferStrategy20 = 20;
private static final int METHOD_createImage21 = 21;
private static final int METHOD_createImage22 = 22;
private static final int METHOD_createVolatileImage23 = 23;
private static final int METHOD_createVolatileImage24 = 24;
private static final int METHOD_deliverEvent25 = 25;
private static final int METHOD_disable26 = 26;
private static final int METHOD_dispatchEvent27 = 27;
private static final int METHOD_dispose28 = 28;
private static final int METHOD_doLayout29 = 29;
private static final int METHOD_enable30 = 30;
private static final int METHOD_enable31 = 31;
private static final int METHOD_enableInputMethods32 = 32;
private static final int METHOD_findComponentAt33 = 33;
private static final int METHOD_findComponentAt34 = 34;
private static final int METHOD_firePropertyChange35 = 35;
private static final int METHOD_firePropertyChange36 = 36;
private static final int METHOD_firePropertyChange37 = 37;
private static final int METHOD_firePropertyChange38 = 38;
private static final int METHOD_firePropertyChange39 = 39;
private static final int METHOD_firePropertyChange40 = 40;
private static final int METHOD_getBaseline41 = 41;
private static final int METHOD_getBounds42 = 42;
private static final int METHOD_getComponentAt43 = 43;
private static final int METHOD_getComponentAt44 = 44;
private static final int METHOD_getComponentZOrder45 = 45;
private static final int METHOD_getCursor46 = 46;
private static final int METHOD_getFontMetrics47 = 47;
private static final int METHOD_getFrames48 = 48;
private static final int METHOD_getIconImages49 = 49;
private static final int METHOD_getListeners50 = 50;
private static final int METHOD_getLocation51 = 51;
private static final int METHOD_getMousePosition52 = 52;
private static final int METHOD_getOwnerlessWindows53 = 53;
private static final int METHOD_getPropertyChangeListeners54 = 54;
private static final int METHOD_getSize55 = 55;
private static final int METHOD_getWindows56 = 56;
private static final int METHOD_gotFocus57 = 57;
private static final int METHOD_handleEvent58 = 58;
private static final int METHOD_hasFocus59 = 59;
private static final int METHOD_hide60 = 60;
private static final int METHOD_imageUpdate61 = 61;
private static final int METHOD_insets62 = 62;
private static final int METHOD_inside63 = 63;
private static final int METHOD_invalidate64 = 64;
private static final int METHOD_isAncestorOf65 = 65;
private static final int METHOD_isDefaultLookAndFeelDecorated66 = 66;
private static final int METHOD_isFocusCycleRoot67 = 67;
private static final int METHOD_isFocusOwner68 = 68;
private static final int METHOD_keyDown69 = 69;
private static final int METHOD_keyUp70 = 70;
private static final int METHOD_layout71 = 71;
private static final int METHOD_list72 = 72;
private static final int METHOD_list73 = 73;
private static final int METHOD_list74 = 74;
private static final int METHOD_list75 = 75;
private static final int METHOD_list76 = 76;
private static final int METHOD_locate77 = 77;
private static final int METHOD_location78 = 78;
private static final int METHOD_lostFocus79 = 79;
private static final int METHOD_main80 = 80;
private static final int METHOD_minimumSize81 = 81;
private static final int METHOD_mouseDown82 = 82;
private static final int METHOD_mouseDrag83 = 83;
private static final int METHOD_mouseEnter84 = 84;
private static final int METHOD_mouseExit85 = 85;
private static final int METHOD_mouseMove86 = 86;
private static final int METHOD_mouseUp87 = 87;
private static final int METHOD_move88 = 88;
private static final int METHOD_nextFocus89 = 89;
private static final int METHOD_pack90 = 90;
private static final int METHOD_paint91 = 91;
private static final int METHOD_paintAll92 = 92;
private static final int METHOD_paintComponents93 = 93;
private static final int METHOD_postEvent94 = 94;
private static final int METHOD_preferredSize95 = 95;
private static final int METHOD_prepareImage96 = 96;
private static final int METHOD_prepareImage97 = 97;
private static final int METHOD_print98 = 98;
private static final int METHOD_printAll99 = 99;
private static final int METHOD_printComponents100 = 100;
private static final int METHOD_remove101 = 101;
private static final int METHOD_remove102 = 102;
private static final int METHOD_remove103 = 103;
private static final int METHOD_removeAll104 = 104;
private static final int METHOD_removeNotify105 = 105;
private static final int METHOD_removePropertyChangeListener106 = 106;
private static final int METHOD_repaint107 = 107;
private static final int METHOD_repaint108 = 108;
private static final int METHOD_repaint109 = 109;
private static final int METHOD_repaint110 = 110;
private static final int METHOD_requestFocus111 = 111;
private static final int METHOD_requestFocusInWindow112 = 112;
private static final int METHOD_reshape113 = 113;
private static final int METHOD_resize114 = 114;
private static final int METHOD_resize115 = 115;
private static final int METHOD_revalidate116 = 116;
private static final int METHOD_setBounds117 = 117;
private static final int METHOD_setComponentZOrder118 = 118;
private static final int METHOD_setCursor119 = 119;
private static final int METHOD_setDefaultLookAndFeelDecorated120 = 120;
private static final int METHOD_setFocusTraversalKeys121 = 121;
private static final int METHOD_show122 = 122;
private static final int METHOD_show123 = 123;
private static final int METHOD_size124 = 124;
private static final int METHOD_toBack125 = 125;
private static final int METHOD_toFront126 = 126;
private static final int METHOD_toString127 = 127;
private static final int METHOD_transferFocus128 = 128;
private static final int METHOD_transferFocusBackward129 = 129;
private static final int METHOD_transferFocusDownCycle130 = 130;
private static final int METHOD_transferFocusUpCycle131 = 131;
private static final int METHOD_update132 = 132;
private static final int METHOD_validate133 = 133;
// Method array
/*lazy MethodDescriptor*/
private static MethodDescriptor[] getMdescriptor(){
MethodDescriptor[] methods = new MethodDescriptor[134];
try {
methods[METHOD_action0] = new MethodDescriptor(java.awt.Component.class.getMethod("action", new Class[] {java.awt.Event.class, java.lang.Object.class})); // NOI18N
methods[METHOD_action0].setDisplayName ( "" );
methods[METHOD_add1] = new MethodDescriptor(java.awt.Component.class.getMethod("add", new Class[] {java.awt.PopupMenu.class})); // NOI18N
methods[METHOD_add1].setDisplayName ( "" );
methods[METHOD_add2] = new MethodDescriptor(java.awt.Container.class.getMethod("add", new Class[] {java.awt.Component.class})); // NOI18N
methods[METHOD_add2].setDisplayName ( "" );
methods[METHOD_add3] = new MethodDescriptor(java.awt.Container.class.getMethod("add", new Class[] {java.lang.String.class, java.awt.Component.class})); // NOI18N
methods[METHOD_add3].setDisplayName ( "" );
methods[METHOD_add4] = new MethodDescriptor(java.awt.Container.class.getMethod("add", new Class[] {java.awt.Component.class, int.class})); // NOI18N
methods[METHOD_add4].setDisplayName ( "" );
methods[METHOD_add5] = new MethodDescriptor(java.awt.Container.class.getMethod("add", new Class[] {java.awt.Component.class, java.lang.Object.class})); // NOI18N
methods[METHOD_add5].setDisplayName ( "" );
methods[METHOD_add6] = new MethodDescriptor(java.awt.Container.class.getMethod("add", new Class[] {java.awt.Component.class, java.lang.Object.class, int.class})); // NOI18N
methods[METHOD_add6].setDisplayName ( "" );
methods[METHOD_addNotify7] = new MethodDescriptor(java.awt.Frame.class.getMethod("addNotify", new Class[] {})); // NOI18N
methods[METHOD_addNotify7].setDisplayName ( "" );
methods[METHOD_addPropertyChangeListener8] = new MethodDescriptor(java.awt.Window.class.getMethod("addPropertyChangeListener", new Class[] {java.lang.String.class, java.beans.PropertyChangeListener.class})); // NOI18N
methods[METHOD_addPropertyChangeListener8].setDisplayName ( "" );
methods[METHOD_applyComponentOrientation9] = new MethodDescriptor(java.awt.Container.class.getMethod("applyComponentOrientation", new Class[] {java.awt.ComponentOrientation.class})); // NOI18N
methods[METHOD_applyComponentOrientation9].setDisplayName ( "" );
methods[METHOD_applyResourceBundle10] = new MethodDescriptor(java.awt.Window.class.getMethod("applyResourceBundle", new Class[] {java.util.ResourceBundle.class})); // NOI18N
methods[METHOD_applyResourceBundle10].setDisplayName ( "" );
methods[METHOD_applyResourceBundle11] = new MethodDescriptor(java.awt.Window.class.getMethod("applyResourceBundle", new Class[] {java.lang.String.class})); // NOI18N
methods[METHOD_applyResourceBundle11].setDisplayName ( "" );
methods[METHOD_areFocusTraversalKeysSet12] = new MethodDescriptor(java.awt.Container.class.getMethod("areFocusTraversalKeysSet", new Class[] {int.class})); // NOI18N
methods[METHOD_areFocusTraversalKeysSet12].setDisplayName ( "" );
methods[METHOD_bounds13] = new MethodDescriptor(java.awt.Component.class.getMethod("bounds", new Class[] {})); // NOI18N
methods[METHOD_bounds13].setDisplayName ( "" );
methods[METHOD_checkImage14] = new MethodDescriptor(java.awt.Component.class.getMethod("checkImage", new Class[] {java.awt.Image.class, java.awt.image.ImageObserver.class})); // NOI18N
methods[METHOD_checkImage14].setDisplayName ( "" );
methods[METHOD_checkImage15] = new MethodDescriptor(java.awt.Component.class.getMethod("checkImage", new Class[] {java.awt.Image.class, int.class, int.class, java.awt.image.ImageObserver.class})); // NOI18N
methods[METHOD_checkImage15].setDisplayName ( "" );
methods[METHOD_contains16] = new MethodDescriptor(java.awt.Component.class.getMethod("contains", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_contains16].setDisplayName ( "" );
methods[METHOD_contains17] = new MethodDescriptor(java.awt.Component.class.getMethod("contains", new Class[] {java.awt.Point.class})); // NOI18N
methods[METHOD_contains17].setDisplayName ( "" );
methods[METHOD_countComponents18] = new MethodDescriptor(java.awt.Container.class.getMethod("countComponents", new Class[] {})); // NOI18N
methods[METHOD_countComponents18].setDisplayName ( "" );
methods[METHOD_createBufferStrategy19] = new MethodDescriptor(java.awt.Window.class.getMethod("createBufferStrategy", new Class[] {int.class})); // NOI18N
methods[METHOD_createBufferStrategy19].setDisplayName ( "" );
methods[METHOD_createBufferStrategy20] = new MethodDescriptor(java.awt.Window.class.getMethod("createBufferStrategy", new Class[] {int.class, java.awt.BufferCapabilities.class})); // NOI18N
methods[METHOD_createBufferStrategy20].setDisplayName ( "" );
methods[METHOD_createImage21] = new MethodDescriptor(java.awt.Component.class.getMethod("createImage", new Class[] {java.awt.image.ImageProducer.class})); // NOI18N
methods[METHOD_createImage21].setDisplayName ( "" );
methods[METHOD_createImage22] = new MethodDescriptor(java.awt.Component.class.getMethod("createImage", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_createImage22].setDisplayName ( "" );
methods[METHOD_createVolatileImage23] = new MethodDescriptor(java.awt.Component.class.getMethod("createVolatileImage", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_createVolatileImage23].setDisplayName ( "" );
methods[METHOD_createVolatileImage24] = new MethodDescriptor(java.awt.Component.class.getMethod("createVolatileImage", new Class[] {int.class, int.class, java.awt.ImageCapabilities.class})); // NOI18N
methods[METHOD_createVolatileImage24].setDisplayName ( "" );
methods[METHOD_deliverEvent25] = new MethodDescriptor(java.awt.Container.class.getMethod("deliverEvent", new Class[] {java.awt.Event.class})); // NOI18N
methods[METHOD_deliverEvent25].setDisplayName ( "" );
methods[METHOD_disable26] = new MethodDescriptor(java.awt.Component.class.getMethod("disable", new Class[] {})); // NOI18N
methods[METHOD_disable26].setDisplayName ( "" );
methods[METHOD_dispatchEvent27] = new MethodDescriptor(java.awt.Component.class.getMethod("dispatchEvent", new Class[] {java.awt.AWTEvent.class})); // NOI18N
methods[METHOD_dispatchEvent27].setDisplayName ( "" );
methods[METHOD_dispose28] = new MethodDescriptor(java.awt.Window.class.getMethod("dispose", new Class[] {})); // NOI18N
methods[METHOD_dispose28].setDisplayName ( "" );
methods[METHOD_doLayout29] = new MethodDescriptor(java.awt.Container.class.getMethod("doLayout", new Class[] {})); // NOI18N
methods[METHOD_doLayout29].setDisplayName ( "" );
methods[METHOD_enable30] = new MethodDescriptor(java.awt.Component.class.getMethod("enable", new Class[] {})); // NOI18N
methods[METHOD_enable30].setDisplayName ( "" );
methods[METHOD_enable31] = new MethodDescriptor(java.awt.Component.class.getMethod("enable", new Class[] {boolean.class})); // NOI18N
methods[METHOD_enable31].setDisplayName ( "" );
methods[METHOD_enableInputMethods32] = new MethodDescriptor(java.awt.Component.class.getMethod("enableInputMethods", new Class[] {boolean.class})); // NOI18N
methods[METHOD_enableInputMethods32].setDisplayName ( "" );
methods[METHOD_findComponentAt33] = new MethodDescriptor(java.awt.Container.class.getMethod("findComponentAt", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_findComponentAt33].setDisplayName ( "" );
methods[METHOD_findComponentAt34] = new MethodDescriptor(java.awt.Container.class.getMethod("findComponentAt", new Class[] {java.awt.Point.class})); // NOI18N
methods[METHOD_findComponentAt34].setDisplayName ( "" );
methods[METHOD_firePropertyChange35] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, byte.class, byte.class})); // NOI18N
methods[METHOD_firePropertyChange35].setDisplayName ( "" );
methods[METHOD_firePropertyChange36] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, char.class, char.class})); // NOI18N
methods[METHOD_firePropertyChange36].setDisplayName ( "" );
methods[METHOD_firePropertyChange37] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, short.class, short.class})); // NOI18N
methods[METHOD_firePropertyChange37].setDisplayName ( "" );
methods[METHOD_firePropertyChange38] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, long.class, long.class})); // NOI18N
methods[METHOD_firePropertyChange38].setDisplayName ( "" );
methods[METHOD_firePropertyChange39] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, float.class, float.class})); // NOI18N
methods[METHOD_firePropertyChange39].setDisplayName ( "" );
methods[METHOD_firePropertyChange40] = new MethodDescriptor(java.awt.Component.class.getMethod("firePropertyChange", new Class[] {java.lang.String.class, double.class, double.class})); // NOI18N
methods[METHOD_firePropertyChange40].setDisplayName ( "" );
methods[METHOD_getBaseline41] = new MethodDescriptor(java.awt.Component.class.getMethod("getBaseline", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_getBaseline41].setDisplayName ( "" );
methods[METHOD_getBounds42] = new MethodDescriptor(java.awt.Component.class.getMethod("getBounds", new Class[] {java.awt.Rectangle.class})); // NOI18N
methods[METHOD_getBounds42].setDisplayName ( "" );
methods[METHOD_getComponentAt43] = new MethodDescriptor(java.awt.Container.class.getMethod("getComponentAt", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_getComponentAt43].setDisplayName ( "" );
methods[METHOD_getComponentAt44] = new MethodDescriptor(java.awt.Container.class.getMethod("getComponentAt", new Class[] {java.awt.Point.class})); // NOI18N
methods[METHOD_getComponentAt44].setDisplayName ( "" );
methods[METHOD_getComponentZOrder45] = new MethodDescriptor(java.awt.Container.class.getMethod("getComponentZOrder", new Class[] {java.awt.Component.class})); // NOI18N
methods[METHOD_getComponentZOrder45].setDisplayName ( "" );
methods[METHOD_getCursor46] = new MethodDescriptor(java.awt.Component.class.getMethod("getCursor", new Class[] {})); // NOI18N
methods[METHOD_getCursor46].setDisplayName ( "" );
methods[METHOD_getFontMetrics47] = new MethodDescriptor(java.awt.Component.class.getMethod("getFontMetrics", new Class[] {java.awt.Font.class})); // NOI18N
methods[METHOD_getFontMetrics47].setDisplayName ( "" );
methods[METHOD_getFrames48] = new MethodDescriptor(java.awt.Frame.class.getMethod("getFrames", new Class[] {})); // NOI18N
methods[METHOD_getFrames48].setDisplayName ( "" );
methods[METHOD_getIconImages49] = new MethodDescriptor(java.awt.Window.class.getMethod("getIconImages", new Class[] {})); // NOI18N
methods[METHOD_getIconImages49].setDisplayName ( "" );
methods[METHOD_getListeners50] = new MethodDescriptor(java.awt.Window.class.getMethod("getListeners", new Class[] {java.lang.Class.class})); // NOI18N
methods[METHOD_getListeners50].setDisplayName ( "" );
methods[METHOD_getLocation51] = new MethodDescriptor(java.awt.Component.class.getMethod("getLocation", new Class[] {java.awt.Point.class})); // NOI18N
methods[METHOD_getLocation51].setDisplayName ( "" );
methods[METHOD_getMousePosition52] = new MethodDescriptor(java.awt.Container.class.getMethod("getMousePosition", new Class[] {boolean.class})); // NOI18N
methods[METHOD_getMousePosition52].setDisplayName ( "" );
methods[METHOD_getOwnerlessWindows53] = new MethodDescriptor(java.awt.Window.class.getMethod("getOwnerlessWindows", new Class[] {})); // NOI18N
methods[METHOD_getOwnerlessWindows53].setDisplayName ( "" );
methods[METHOD_getPropertyChangeListeners54] = new MethodDescriptor(java.awt.Component.class.getMethod("getPropertyChangeListeners", new Class[] {java.lang.String.class})); // NOI18N
methods[METHOD_getPropertyChangeListeners54].setDisplayName ( "" );
methods[METHOD_getSize55] = new MethodDescriptor(java.awt.Component.class.getMethod("getSize", new Class[] {java.awt.Dimension.class})); // NOI18N
methods[METHOD_getSize55].setDisplayName ( "" );
methods[METHOD_getWindows56] = new MethodDescriptor(java.awt.Window.class.getMethod("getWindows", new Class[] {})); // NOI18N
methods[METHOD_getWindows56].setDisplayName ( "" );
methods[METHOD_gotFocus57] = new MethodDescriptor(java.awt.Component.class.getMethod("gotFocus", new Class[] {java.awt.Event.class, java.lang.Object.class})); // NOI18N
methods[METHOD_gotFocus57].setDisplayName ( "" );
methods[METHOD_handleEvent58] = new MethodDescriptor(java.awt.Component.class.getMethod("handleEvent", new Class[] {java.awt.Event.class})); // NOI18N
methods[METHOD_handleEvent58].setDisplayName ( "" );
methods[METHOD_hasFocus59] = new MethodDescriptor(java.awt.Component.class.getMethod("hasFocus", new Class[] {})); // NOI18N
methods[METHOD_hasFocus59].setDisplayName ( "" );
methods[METHOD_hide60] = new MethodDescriptor(java.awt.Window.class.getMethod("hide", new Class[] {})); // NOI18N
methods[METHOD_hide60].setDisplayName ( "" );
methods[METHOD_imageUpdate61] = new MethodDescriptor(java.awt.Component.class.getMethod("imageUpdate", new Class[] {java.awt.Image.class, int.class, int.class, int.class, int.class, int.class})); // NOI18N
methods[METHOD_imageUpdate61].setDisplayName ( "" );
methods[METHOD_insets62] = new MethodDescriptor(java.awt.Container.class.getMethod("insets", new Class[] {})); // NOI18N
methods[METHOD_insets62].setDisplayName ( "" );
methods[METHOD_inside63] = new MethodDescriptor(java.awt.Component.class.getMethod("inside", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_inside63].setDisplayName ( "" );
methods[METHOD_invalidate64] = new MethodDescriptor(java.awt.Container.class.getMethod("invalidate", new Class[] {})); // NOI18N
methods[METHOD_invalidate64].setDisplayName ( "" );
methods[METHOD_isAncestorOf65] = new MethodDescriptor(java.awt.Container.class.getMethod("isAncestorOf", new Class[] {java.awt.Component.class})); // NOI18N
methods[METHOD_isAncestorOf65].setDisplayName ( "" );
methods[METHOD_isDefaultLookAndFeelDecorated66] = new MethodDescriptor(javax.swing.JFrame.class.getMethod("isDefaultLookAndFeelDecorated", new Class[] {})); // NOI18N
methods[METHOD_isDefaultLookAndFeelDecorated66].setDisplayName ( "" );
methods[METHOD_isFocusCycleRoot67] = new MethodDescriptor(java.awt.Container.class.getMethod("isFocusCycleRoot", new Class[] {java.awt.Container.class})); // NOI18N
methods[METHOD_isFocusCycleRoot67].setDisplayName ( "" );
methods[METHOD_isFocusOwner68] = new MethodDescriptor(java.awt.Component.class.getMethod("isFocusOwner", new Class[] {})); // NOI18N
methods[METHOD_isFocusOwner68].setDisplayName ( "" );
methods[METHOD_keyDown69] = new MethodDescriptor(java.awt.Component.class.getMethod("keyDown", new Class[] {java.awt.Event.class, int.class})); // NOI18N
methods[METHOD_keyDown69].setDisplayName ( "" );
methods[METHOD_keyUp70] = new MethodDescriptor(java.awt.Component.class.getMethod("keyUp", new Class[] {java.awt.Event.class, int.class})); // NOI18N
methods[METHOD_keyUp70].setDisplayName ( "" );
methods[METHOD_layout71] = new MethodDescriptor(java.awt.Container.class.getMethod("layout", new Class[] {})); // NOI18N
methods[METHOD_layout71].setDisplayName ( "" );
methods[METHOD_list72] = new MethodDescriptor(java.awt.Component.class.getMethod("list", new Class[] {})); // NOI18N
methods[METHOD_list72].setDisplayName ( "" );
methods[METHOD_list73] = new MethodDescriptor(java.awt.Component.class.getMethod("list", new Class[] {java.io.PrintStream.class})); // NOI18N
methods[METHOD_list73].setDisplayName ( "" );
methods[METHOD_list74] = new MethodDescriptor(java.awt.Component.class.getMethod("list", new Class[] {java.io.PrintWriter.class})); // NOI18N
methods[METHOD_list74].setDisplayName ( "" );
methods[METHOD_list75] = new MethodDescriptor(java.awt.Container.class.getMethod("list", new Class[] {java.io.PrintStream.class, int.class})); // NOI18N
methods[METHOD_list75].setDisplayName ( "" );
methods[METHOD_list76] = new MethodDescriptor(java.awt.Container.class.getMethod("list", new Class[] {java.io.PrintWriter.class, int.class})); // NOI18N
methods[METHOD_list76].setDisplayName ( "" );
methods[METHOD_locate77] = new MethodDescriptor(java.awt.Container.class.getMethod("locate", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_locate77].setDisplayName ( "" );
methods[METHOD_location78] = new MethodDescriptor(java.awt.Component.class.getMethod("location", new Class[] {})); // NOI18N
methods[METHOD_location78].setDisplayName ( "" );
methods[METHOD_lostFocus79] = new MethodDescriptor(java.awt.Component.class.getMethod("lostFocus", new Class[] {java.awt.Event.class, java.lang.Object.class})); // NOI18N
methods[METHOD_lostFocus79].setDisplayName ( "" );
methods[METHOD_main80] = new MethodDescriptor(Calculate.class.getMethod("main", new Class[] {java.lang.String[].class})); // NOI18N
methods[METHOD_main80].setDisplayName ( "" );
methods[METHOD_minimumSize81] = new MethodDescriptor(java.awt.Container.class.getMethod("minimumSize", new Class[] {})); // NOI18N
methods[METHOD_minimumSize81].setDisplayName ( "" );
methods[METHOD_mouseDown82] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseDown", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseDown82].setDisplayName ( "" );
methods[METHOD_mouseDrag83] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseDrag", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseDrag83].setDisplayName ( "" );
methods[METHOD_mouseEnter84] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseEnter", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseEnter84].setDisplayName ( "" );
methods[METHOD_mouseExit85] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseExit", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseExit85].setDisplayName ( "" );
methods[METHOD_mouseMove86] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseMove", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseMove86].setDisplayName ( "" );
methods[METHOD_mouseUp87] = new MethodDescriptor(java.awt.Component.class.getMethod("mouseUp", new Class[] {java.awt.Event.class, int.class, int.class})); // NOI18N
methods[METHOD_mouseUp87].setDisplayName ( "" );
methods[METHOD_move88] = new MethodDescriptor(java.awt.Component.class.getMethod("move", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_move88].setDisplayName ( "" );
methods[METHOD_nextFocus89] = new MethodDescriptor(java.awt.Component.class.getMethod("nextFocus", new Class[] {})); // NOI18N
methods[METHOD_nextFocus89].setDisplayName ( "" );
methods[METHOD_pack90] = new MethodDescriptor(java.awt.Window.class.getMethod("pack", new Class[] {})); // NOI18N
methods[METHOD_pack90].setDisplayName ( "" );
methods[METHOD_paint91] = new MethodDescriptor(java.awt.Window.class.getMethod("paint", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_paint91].setDisplayName ( "" );
methods[METHOD_paintAll92] = new MethodDescriptor(java.awt.Component.class.getMethod("paintAll", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_paintAll92].setDisplayName ( "" );
methods[METHOD_paintComponents93] = new MethodDescriptor(java.awt.Container.class.getMethod("paintComponents", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_paintComponents93].setDisplayName ( "" );
methods[METHOD_postEvent94] = new MethodDescriptor(java.awt.Window.class.getMethod("postEvent", new Class[] {java.awt.Event.class})); // NOI18N
methods[METHOD_postEvent94].setDisplayName ( "" );
methods[METHOD_preferredSize95] = new MethodDescriptor(java.awt.Container.class.getMethod("preferredSize", new Class[] {})); // NOI18N
methods[METHOD_preferredSize95].setDisplayName ( "" );
methods[METHOD_prepareImage96] = new MethodDescriptor(java.awt.Component.class.getMethod("prepareImage", new Class[] {java.awt.Image.class, java.awt.image.ImageObserver.class})); // NOI18N
methods[METHOD_prepareImage96].setDisplayName ( "" );
methods[METHOD_prepareImage97] = new MethodDescriptor(java.awt.Component.class.getMethod("prepareImage", new Class[] {java.awt.Image.class, int.class, int.class, java.awt.image.ImageObserver.class})); // NOI18N
methods[METHOD_prepareImage97].setDisplayName ( "" );
methods[METHOD_print98] = new MethodDescriptor(java.awt.Container.class.getMethod("print", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_print98].setDisplayName ( "" );
methods[METHOD_printAll99] = new MethodDescriptor(java.awt.Component.class.getMethod("printAll", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_printAll99].setDisplayName ( "" );
methods[METHOD_printComponents100] = new MethodDescriptor(java.awt.Container.class.getMethod("printComponents", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_printComponents100].setDisplayName ( "" );
methods[METHOD_remove101] = new MethodDescriptor(java.awt.Container.class.getMethod("remove", new Class[] {int.class})); // NOI18N
methods[METHOD_remove101].setDisplayName ( "" );
methods[METHOD_remove102] = new MethodDescriptor(java.awt.Frame.class.getMethod("remove", new Class[] {java.awt.MenuComponent.class})); // NOI18N
methods[METHOD_remove102].setDisplayName ( "" );
methods[METHOD_remove103] = new MethodDescriptor(javax.swing.JFrame.class.getMethod("remove", new Class[] {java.awt.Component.class})); // NOI18N
methods[METHOD_remove103].setDisplayName ( "" );
methods[METHOD_removeAll104] = new MethodDescriptor(java.awt.Container.class.getMethod("removeAll", new Class[] {})); // NOI18N
methods[METHOD_removeAll104].setDisplayName ( "" );
methods[METHOD_removeNotify105] = new MethodDescriptor(java.awt.Frame.class.getMethod("removeNotify", new Class[] {})); // NOI18N
methods[METHOD_removeNotify105].setDisplayName ( "" );
methods[METHOD_removePropertyChangeListener106] = new MethodDescriptor(java.awt.Component.class.getMethod("removePropertyChangeListener", new Class[] {java.lang.String.class, java.beans.PropertyChangeListener.class})); // NOI18N
methods[METHOD_removePropertyChangeListener106].setDisplayName ( "" );
methods[METHOD_repaint107] = new MethodDescriptor(java.awt.Component.class.getMethod("repaint", new Class[] {})); // NOI18N
methods[METHOD_repaint107].setDisplayName ( "" );
methods[METHOD_repaint108] = new MethodDescriptor(java.awt.Component.class.getMethod("repaint", new Class[] {long.class})); // NOI18N
methods[METHOD_repaint108].setDisplayName ( "" );
methods[METHOD_repaint109] = new MethodDescriptor(java.awt.Component.class.getMethod("repaint", new Class[] {int.class, int.class, int.class, int.class})); // NOI18N
methods[METHOD_repaint109].setDisplayName ( "" );
methods[METHOD_repaint110] = new MethodDescriptor(javax.swing.JFrame.class.getMethod("repaint", new Class[] {long.class, int.class, int.class, int.class, int.class})); // NOI18N
methods[METHOD_repaint110].setDisplayName ( "" );
methods[METHOD_requestFocus111] = new MethodDescriptor(java.awt.Component.class.getMethod("requestFocus", new Class[] {})); // NOI18N
methods[METHOD_requestFocus111].setDisplayName ( "" );
methods[METHOD_requestFocusInWindow112] = new MethodDescriptor(java.awt.Component.class.getMethod("requestFocusInWindow", new Class[] {})); // NOI18N
methods[METHOD_requestFocusInWindow112].setDisplayName ( "" );
methods[METHOD_reshape113] = new MethodDescriptor(java.awt.Window.class.getMethod("reshape", new Class[] {int.class, int.class, int.class, int.class})); // NOI18N
methods[METHOD_reshape113].setDisplayName ( "" );
methods[METHOD_resize114] = new MethodDescriptor(java.awt.Component.class.getMethod("resize", new Class[] {int.class, int.class})); // NOI18N
methods[METHOD_resize114].setDisplayName ( "" );
methods[METHOD_resize115] = new MethodDescriptor(java.awt.Component.class.getMethod("resize", new Class[] {java.awt.Dimension.class})); // NOI18N
methods[METHOD_resize115].setDisplayName ( "" );
methods[METHOD_revalidate116] = new MethodDescriptor(java.awt.Component.class.getMethod("revalidate", new Class[] {})); // NOI18N
methods[METHOD_revalidate116].setDisplayName ( "" );
methods[METHOD_setBounds117] = new MethodDescriptor(java.awt.Window.class.getMethod("setBounds", new Class[] {int.class, int.class, int.class, int.class})); // NOI18N
methods[METHOD_setBounds117].setDisplayName ( "" );
methods[METHOD_setComponentZOrder118] = new MethodDescriptor(java.awt.Container.class.getMethod("setComponentZOrder", new Class[] {java.awt.Component.class, int.class})); // NOI18N
methods[METHOD_setComponentZOrder118].setDisplayName ( "" );
methods[METHOD_setCursor119] = new MethodDescriptor(java.awt.Window.class.getMethod("setCursor", new Class[] {java.awt.Cursor.class})); // NOI18N
methods[METHOD_setCursor119].setDisplayName ( "" );
methods[METHOD_setDefaultLookAndFeelDecorated120] = new MethodDescriptor(javax.swing.JFrame.class.getMethod("setDefaultLookAndFeelDecorated", new Class[] {boolean.class})); // NOI18N
methods[METHOD_setDefaultLookAndFeelDecorated120].setDisplayName ( "" );
methods[METHOD_setFocusTraversalKeys121] = new MethodDescriptor(java.awt.Container.class.getMethod("setFocusTraversalKeys", new Class[] {int.class, java.util.Set.class})); // NOI18N
methods[METHOD_setFocusTraversalKeys121].setDisplayName ( "" );
methods[METHOD_show122] = new MethodDescriptor(java.awt.Component.class.getMethod("show", new Class[] {boolean.class})); // NOI18N
methods[METHOD_show122].setDisplayName ( "" );
methods[METHOD_show123] = new MethodDescriptor(java.awt.Window.class.getMethod("show", new Class[] {})); // NOI18N
methods[METHOD_show123].setDisplayName ( "" );
methods[METHOD_size124] = new MethodDescriptor(java.awt.Component.class.getMethod("size", new Class[] {})); // NOI18N
methods[METHOD_size124].setDisplayName ( "" );
methods[METHOD_toBack125] = new MethodDescriptor(java.awt.Window.class.getMethod("toBack", new Class[] {})); // NOI18N
methods[METHOD_toBack125].setDisplayName ( "" );
methods[METHOD_toFront126] = new MethodDescriptor(java.awt.Window.class.getMethod("toFront", new Class[] {})); // NOI18N
methods[METHOD_toFront126].setDisplayName ( "" );
methods[METHOD_toString127] = new MethodDescriptor(java.awt.Component.class.getMethod("toString", new Class[] {})); // NOI18N
methods[METHOD_toString127].setDisplayName ( "" );
methods[METHOD_transferFocus128] = new MethodDescriptor(java.awt.Component.class.getMethod("transferFocus", new Class[] {})); // NOI18N
methods[METHOD_transferFocus128].setDisplayName ( "" );
methods[METHOD_transferFocusBackward129] = new MethodDescriptor(java.awt.Component.class.getMethod("transferFocusBackward", new Class[] {})); // NOI18N
methods[METHOD_transferFocusBackward129].setDisplayName ( "" );
methods[METHOD_transferFocusDownCycle130] = new MethodDescriptor(java.awt.Container.class.getMethod("transferFocusDownCycle", new Class[] {})); // NOI18N
methods[METHOD_transferFocusDownCycle130].setDisplayName ( "" );
methods[METHOD_transferFocusUpCycle131] = new MethodDescriptor(java.awt.Component.class.getMethod("transferFocusUpCycle", new Class[] {})); // NOI18N
methods[METHOD_transferFocusUpCycle131].setDisplayName ( "" );
methods[METHOD_update132] = new MethodDescriptor(javax.swing.JFrame.class.getMethod("update", new Class[] {java.awt.Graphics.class})); // NOI18N
methods[METHOD_update132].setDisplayName ( "" );
methods[METHOD_validate133] = new MethodDescriptor(java.awt.Container.class.getMethod("validate", new Class[] {})); // NOI18N
methods[METHOD_validate133].setDisplayName ( "" );
}
catch( Exception e) {}//GEN-HEADEREND:Methods
// Here you can add code for customizing the methods array.
return methods; }//GEN-LAST:Methods
private static java.awt.Image iconColor16 = null;//GEN-BEGIN:IconsDef
private static java.awt.Image iconColor32 = null;
private static java.awt.Image iconMono16 = null;
private static java.awt.Image iconMono32 = null;//GEN-END:IconsDef
private static String iconNameC16 = null;//GEN-BEGIN:Icons
private static String iconNameC32 = null;
private static String iconNameM16 = null;
private static String iconNameM32 = null;//GEN-END:Icons
private static final int defaultPropertyIndex = -1;//GEN-BEGIN:Idx
private static final int defaultEventIndex = -1;//GEN-END:Idx
//GEN-FIRST:Superclass
// Here you can add code for customizing the Superclass BeanInfo.
//GEN-LAST:Superclass
/**
* Gets the bean's <code>BeanDescriptor</code>s.
*
* @return BeanDescriptor describing the editable properties of this bean.
* May return null if the information should be obtained by automatic
* analysis.
*/
@Override
public BeanDescriptor getBeanDescriptor() {
return getBdescriptor();
}
/**
* Gets the bean's <code>PropertyDescriptor</code>s.
*
* @return An array of PropertyDescriptors describing the editable
* properties supported by this bean. May return null if the information
* should be obtained by automatic analysis.
* <p>
* If a property is indexed, then its entry in the result array will belong
* to the IndexedPropertyDescriptor subclass of PropertyDescriptor. A client
* of getPropertyDescriptors can use "instanceof" to check if a given
* PropertyDescriptor is an IndexedPropertyDescriptor.
*/
@Override
public PropertyDescriptor[] getPropertyDescriptors() {
return getPdescriptor();
}
/**
* Gets the bean's <code>EventSetDescriptor</code>s.
*
* @return An array of EventSetDescriptors describing the kinds of events
* fired by this bean. May return null if the information should be obtained
* by automatic analysis.
*/
@Override
public EventSetDescriptor[] getEventSetDescriptors() {
return getEdescriptor();
}
/**
* Gets the bean's <code>MethodDescriptor</code>s.
*
* @return An array of MethodDescriptors describing the methods implemented
* by this bean. May return null if the information should be obtained by
* automatic analysis.
*/
@Override
public MethodDescriptor[] getMethodDescriptors() {
return getMdescriptor();
}
/**
* A bean may have a "default" property that is the property that will
* mostly commonly be initially chosen for update by human's who are
* customizing the bean.
*
* @return Index of default property in the PropertyDescriptor array
* returned by getPropertyDescriptors.
* <P>
* Returns -1 if there is no default property.
*/
@Override
public int getDefaultPropertyIndex() {
return defaultPropertyIndex;
}
/**
* A bean may have a "default" event that is the event that will mostly
* commonly be used by human's when using the bean.
*
* @return Index of default event in the EventSetDescriptor array returned
* by getEventSetDescriptors.
* <P>
* Returns -1 if there is no default event.
*/
@Override
public int getDefaultEventIndex() {
return defaultEventIndex;
}
/**
* This method returns an image object that can be used to represent the
* bean in toolboxes, toolbars, etc. Icon images will typically be GIFs, but
* may in future include other formats.
* <p>
* Beans aren't required to provide icons and may return null from this
* method.
* <p>
* There are four possible flavors of icons (16x16 color, 32x32 color, 16x16
* mono, 32x32 mono). If a bean choses to only support a single icon we
* recommend supporting 16x16 color.
* <p>
* We recommend that icons have a "transparent" background so they can be
* rendered onto an existing background.
*
* @param iconKind The kind of icon requested. This should be one of the
* constant values ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, or
* ICON_MONO_32x32.
* @return An image object representing the requested icon. May return null
* if no suitable icon is available.
*/
@Override
public java.awt.Image getIcon(int iconKind) {
switch (iconKind) {
case ICON_COLOR_16x16:
if (iconNameC16 == null) {
return null;
} else {
if (iconColor16 == null) {
iconColor16 = loadImage(iconNameC16);
}
return iconColor16;
}
case ICON_COLOR_32x32:
if (iconNameC32 == null) {
return null;
} else {
if (iconColor32 == null) {
iconColor32 = loadImage(iconNameC32);
}
return iconColor32;
}
case ICON_MONO_16x16:
if (iconNameM16 == null) {
return null;
} else {
if (iconMono16 == null) {
iconMono16 = loadImage(iconNameM16);
}
return iconMono16;
}
case ICON_MONO_32x32:
if (iconNameM32 == null) {
return null;
} else {
if (iconMono32 == null) {
iconMono32 = loadImage(iconNameM32);
}
return iconMono32;
}
default:
return null;
}
}
}