GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java_awt/Sources/DialogPeer.swift at master · SwiftJava/java_awt

Expand file tree

/

DialogPeer.swift

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
844 lines (596 loc) · 39.5 KB
/

DialogPeer.swift

Copy path

File metadata and controls

844 lines (596 loc) · 39.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
import java_swift
import java_util
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.awt.peer.DialogPeer ///
public protocol DialogPeer: WindowPeer {
/// public abstract void java.awt.peer.DialogPeer.blockWindows(java.util.List)
func blockWindows( windows: java_util.List? )
/// public abstract void java.awt.peer.DialogPeer.setResizable(boolean)
func setResizable( resizeable: Bool )
/// public abstract void java.awt.peer.DialogPeer.setTitle(java.lang.String)
func setTitle( title: String? )
}
open class DialogPeerForward: WindowPeerForward, DialogPeer {
private static var DialogPeerJNIClass: jclass?
/// public abstract void java.awt.peer.ComponentPeer.applyShape(sun.java2d.pipe.Region)
private static var applyShape_MethodID_4: jmethodID?
override open func applyShape( shape: /* class sun.java2d.pipe.Region */ UnavailableObject? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: shape, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "applyShape", methodSig: "(Lsun/java2d/pipe/Region;)V", methodCache: &DialogPeerForward.applyShape_MethodID_4, args: &__args, locals: &__locals )
}
override open func applyShape( _ _shape: /* class sun.java2d.pipe.Region */ UnavailableObject? ) {
applyShape( shape: _shape )
}
/// public abstract void java.awt.peer.ContainerPeer.beginLayout()
private static var beginLayout_MethodID_5: jmethodID?
override open func beginLayout() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "beginLayout", methodSig: "()V", methodCache: &DialogPeerForward.beginLayout_MethodID_5, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ContainerPeer.beginValidate()
private static var beginValidate_MethodID_6: jmethodID?
override open func beginValidate() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "beginValidate", methodSig: "()V", methodCache: &DialogPeerForward.beginValidate_MethodID_6, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.DialogPeer.blockWindows(java.util.List)
private static var blockWindows_MethodID_7: jmethodID?
open func blockWindows( windows: java_util.List? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: windows, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "blockWindows", methodSig: "(Ljava/util/List;)V", methodCache: &DialogPeerForward.blockWindows_MethodID_7, args: &__args, locals: &__locals )
}
open func blockWindows( _ _windows: java_util.List? ) {
blockWindows( windows: _windows )
}
/// public abstract boolean java.awt.peer.ComponentPeer.canDetermineObscurity()
private static var canDetermineObscurity_MethodID_8: jmethodID?
override open func canDetermineObscurity() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "canDetermineObscurity", methodSig: "()Z", methodCache: &DialogPeerForward.canDetermineObscurity_MethodID_8, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract int java.awt.peer.ComponentPeer.checkImage(java.awt.Image,int,int,java.awt.image.ImageObserver)
private static var checkImage_MethodID_9: jmethodID?
override open func checkImage( img: Image?, w: Int, h: Int, o: ImageObserver? ) -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 4 )
__args[0] = JNIType.toJava( value: img, locals: &__locals )
__args[1] = jvalue( i: jint(w) )
__args[2] = jvalue( i: jint(h) )
__args[3] = JNIType.toJava( value: o, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "checkImage", methodSig: "(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)I", methodCache: &DialogPeerForward.checkImage_MethodID_9, args: &__args, locals: &__locals )
return Int(__return)
}
override open func checkImage( _ _img: Image?, _ _w: Int, _ _h: Int, _ _o: ImageObserver? ) -> Int {
return checkImage( img: _img, w: _w, h: _h, o: _o )
}
/// public abstract void java.awt.peer.ComponentPeer.coalescePaintEvent(java.awt.event.PaintEvent)
private static var coalescePaintEvent_MethodID_10: jmethodID?
override open func coalescePaintEvent( e: PaintEvent? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: e, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "coalescePaintEvent", methodSig: "(Ljava/awt/event/PaintEvent;)V", methodCache: &DialogPeerForward.coalescePaintEvent_MethodID_10, args: &__args, locals: &__locals )
}
override open func coalescePaintEvent( _ _e: PaintEvent? ) {
coalescePaintEvent( e: _e )
}
/// public abstract void java.awt.peer.ComponentPeer.createBuffers(int,java.awt.BufferCapabilities) throws java.awt.AWTException
private static var createBuffers_MethodID_11: jmethodID?
override open func createBuffers( numBuffers: Int, caps: BufferCapabilities? ) throws /* java.awt.AWTException */ {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = jvalue( i: jint(numBuffers) )
__args[1] = JNIType.toJava( value: caps, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "createBuffers", methodSig: "(ILjava/awt/BufferCapabilities;)V", methodCache: &DialogPeerForward.createBuffers_MethodID_11, args: &__args, locals: &__locals )
if let throwable = JNI.ExceptionCheck() {
defer { JNI.DeleteLocalRef( throwable ) }
throw AWTException( javaObject: throwable )
}
}
override open func createBuffers( _ _numBuffers: Int, _ _caps: BufferCapabilities? ) throws /* java.awt.AWTException */ {
try createBuffers( numBuffers: _numBuffers, caps: _caps )
}
/// public abstract java.awt.Image java.awt.peer.ComponentPeer.createImage(java.awt.image.ImageProducer)
private static var createImage_MethodID_12: jmethodID?
override open func createImage( producer: ImageProducer? ) -> Image! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: producer, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "createImage", methodSig: "(Ljava/awt/image/ImageProducer;)Ljava/awt/Image;", methodCache: &DialogPeerForward.createImage_MethodID_12, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Image( javaObject: __return ) : nil
}
override open func createImage( _ _producer: ImageProducer? ) -> Image! {
return createImage( producer: _producer )
}
/// public abstract java.awt.Image java.awt.peer.ComponentPeer.createImage(int,int)
private static var createImage_MethodID_13: jmethodID?
override open func createImage( width: Int, height: Int ) -> Image! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = jvalue( i: jint(width) )
__args[1] = jvalue( i: jint(height) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "createImage", methodSig: "(II)Ljava/awt/Image;", methodCache: &DialogPeerForward.createImage_MethodID_13, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Image( javaObject: __return ) : nil
}
override open func createImage( _ _width: Int, _ _height: Int ) -> Image! {
return createImage( width: _width, height: _height )
}
/// public abstract java.awt.image.VolatileImage java.awt.peer.ComponentPeer.createVolatileImage(int,int)
private static var createVolatileImage_MethodID_14: jmethodID?
override open func createVolatileImage( width: Int, height: Int ) -> VolatileImage! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = jvalue( i: jint(width) )
__args[1] = jvalue( i: jint(height) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "createVolatileImage", methodSig: "(II)Ljava/awt/image/VolatileImage;", methodCache: &DialogPeerForward.createVolatileImage_MethodID_14, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? VolatileImage( javaObject: __return ) : nil
}
override open func createVolatileImage( _ _width: Int, _ _height: Int ) -> VolatileImage! {
return createVolatileImage( width: _width, height: _height )
}
/// public abstract void java.awt.peer.ComponentPeer.destroyBuffers()
private static var destroyBuffers_MethodID_15: jmethodID?
override open func destroyBuffers() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "destroyBuffers", methodSig: "()V", methodCache: &DialogPeerForward.destroyBuffers_MethodID_15, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ComponentPeer.dispose()
private static var dispose_MethodID_16: jmethodID?
override open func dispose() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "dispose", methodSig: "()V", methodCache: &DialogPeerForward.dispose_MethodID_16, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ContainerPeer.endLayout()
private static var endLayout_MethodID_17: jmethodID?
override open func endLayout() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "endLayout", methodSig: "()V", methodCache: &DialogPeerForward.endLayout_MethodID_17, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ContainerPeer.endValidate()
private static var endValidate_MethodID_18: jmethodID?
override open func endValidate() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "endValidate", methodSig: "()V", methodCache: &DialogPeerForward.endValidate_MethodID_18, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ComponentPeer.flip(int,int,int,int,java.awt.BufferCapabilities$FlipContents)
private static var flip_MethodID_19: jmethodID?
override open func flip( x1: Int, y1: Int, x2: Int, y2: Int, flipAction: BufferCapabilities_FlipContents? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 5 )
__args[0] = jvalue( i: jint(x1) )
__args[1] = jvalue( i: jint(y1) )
__args[2] = jvalue( i: jint(x2) )
__args[3] = jvalue( i: jint(y2) )
__args[4] = JNIType.toJava( value: flipAction, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "flip", methodSig: "(IIIILjava/awt/BufferCapabilities$FlipContents;)V", methodCache: &DialogPeerForward.flip_MethodID_19, args: &__args, locals: &__locals )
}
override open func flip( _ _x1: Int, _ _y1: Int, _ _x2: Int, _ _y2: Int, _ _flipAction: BufferCapabilities_FlipContents? ) {
flip( x1: _x1, y1: _y1, x2: _x2, y2: _y2, flipAction: _flipAction )
}
/// public abstract java.awt.Image java.awt.peer.ComponentPeer.getBackBuffer()
private static var getBackBuffer_MethodID_20: jmethodID?
override open func getBackBuffer() -> Image! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getBackBuffer", methodSig: "()Ljava/awt/Image;", methodCache: &DialogPeerForward.getBackBuffer_MethodID_20, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Image( javaObject: __return ) : nil
}
/// public abstract java.awt.image.ColorModel java.awt.peer.ComponentPeer.getColorModel()
private static var getColorModel_MethodID_21: jmethodID?
override open func getColorModel() -> ColorModel! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getColorModel", methodSig: "()Ljava/awt/image/ColorModel;", methodCache: &DialogPeerForward.getColorModel_MethodID_21, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? ColorModel( javaObject: __return ) : nil
}
/// public abstract java.awt.FontMetrics java.awt.peer.ComponentPeer.getFontMetrics(java.awt.Font)
private static var getFontMetrics_MethodID_22: jmethodID?
override open func getFontMetrics( font: Font? ) -> FontMetrics! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: font, locals: &__locals )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getFontMetrics", methodSig: "(Ljava/awt/Font;)Ljava/awt/FontMetrics;", methodCache: &DialogPeerForward.getFontMetrics_MethodID_22, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? FontMetrics( javaObject: __return ) : nil
}
override open func getFontMetrics( _ _font: Font? ) -> FontMetrics! {
return getFontMetrics( font: _font )
}
/// public abstract java.awt.Graphics java.awt.peer.ComponentPeer.getGraphics()
private static var getGraphics_MethodID_23: jmethodID?
override open func getGraphics() -> Graphics! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getGraphics", methodSig: "()Ljava/awt/Graphics;", methodCache: &DialogPeerForward.getGraphics_MethodID_23, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Graphics( javaObject: __return ) : nil
}
/// public abstract java.awt.GraphicsConfiguration java.awt.peer.ComponentPeer.getGraphicsConfiguration()
private static var getGraphicsConfiguration_MethodID_24: jmethodID?
override open func getGraphicsConfiguration() -> GraphicsConfiguration! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getGraphicsConfiguration", methodSig: "()Ljava/awt/GraphicsConfiguration;", methodCache: &DialogPeerForward.getGraphicsConfiguration_MethodID_24, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? GraphicsConfiguration( javaObject: __return ) : nil
}
/// public abstract java.awt.Insets java.awt.peer.ContainerPeer.getInsets()
private static var getInsets_MethodID_25: jmethodID?
override open func getInsets() -> Insets! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getInsets", methodSig: "()Ljava/awt/Insets;", methodCache: &DialogPeerForward.getInsets_MethodID_25, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Insets( javaObject: __return ) : nil
}
/// public abstract java.awt.Point java.awt.peer.ComponentPeer.getLocationOnScreen()
private static var getLocationOnScreen_MethodID_26: jmethodID?
override open func getLocationOnScreen() -> Point! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getLocationOnScreen", methodSig: "()Ljava/awt/Point;", methodCache: &DialogPeerForward.getLocationOnScreen_MethodID_26, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Point( javaObject: __return ) : nil
}
/// public abstract java.awt.Dimension java.awt.peer.ComponentPeer.getMinimumSize()
private static var getMinimumSize_MethodID_27: jmethodID?
override open func getMinimumSize() -> Dimension! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getMinimumSize", methodSig: "()Ljava/awt/Dimension;", methodCache: &DialogPeerForward.getMinimumSize_MethodID_27, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Dimension( javaObject: __return ) : nil
}
/// public abstract java.awt.Dimension java.awt.peer.ComponentPeer.getPreferredSize()
private static var getPreferredSize_MethodID_28: jmethodID?
override open func getPreferredSize() -> Dimension! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getPreferredSize", methodSig: "()Ljava/awt/Dimension;", methodCache: &DialogPeerForward.getPreferredSize_MethodID_28, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? Dimension( javaObject: __return ) : nil
}
/// public abstract void java.awt.peer.ComponentPeer.handleEvent(java.awt.AWTEvent)
private static var handleEvent_MethodID_29: jmethodID?
override open func handleEvent( e: AWTEvent? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: e, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "handleEvent", methodSig: "(Ljava/awt/AWTEvent;)V", methodCache: &DialogPeerForward.handleEvent_MethodID_29, args: &__args, locals: &__locals )
}
override open func handleEvent( _ _e: AWTEvent? ) {
handleEvent( e: _e )
}
/// public abstract boolean java.awt.peer.ComponentPeer.handlesWheelScrolling()
private static var handlesWheelScrolling_MethodID_30: jmethodID?
override open func handlesWheelScrolling() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "handlesWheelScrolling", methodSig: "()Z", methodCache: &DialogPeerForward.handlesWheelScrolling_MethodID_30, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract boolean java.awt.peer.ComponentPeer.isFocusable()
private static var isFocusable_MethodID_31: jmethodID?
override open func isFocusable() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isFocusable", methodSig: "()Z", methodCache: &DialogPeerForward.isFocusable_MethodID_31, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract boolean java.awt.peer.ComponentPeer.isObscured()
private static var isObscured_MethodID_32: jmethodID?
override open func isObscured() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isObscured", methodSig: "()Z", methodCache: &DialogPeerForward.isObscured_MethodID_32, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract boolean java.awt.peer.ComponentPeer.isReparentSupported()
private static var isReparentSupported_MethodID_33: jmethodID?
override open func isReparentSupported() -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "isReparentSupported", methodSig: "()Z", methodCache: &DialogPeerForward.isReparentSupported_MethodID_33, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
/// public abstract void java.awt.peer.ComponentPeer.layout()
private static var layout_MethodID_34: jmethodID?
override open func layout() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "layout", methodSig: "()V", methodCache: &DialogPeerForward.layout_MethodID_34, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ComponentPeer.paint(java.awt.Graphics)
private static var paint_MethodID_35: jmethodID?
override open func paint( g: Graphics? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: g, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "paint", methodSig: "(Ljava/awt/Graphics;)V", methodCache: &DialogPeerForward.paint_MethodID_35, args: &__args, locals: &__locals )
}
override open func paint( _ _g: Graphics? ) {
paint( g: _g )
}
/// public abstract boolean java.awt.peer.ComponentPeer.prepareImage(java.awt.Image,int,int,java.awt.image.ImageObserver)
private static var prepareImage_MethodID_36: jmethodID?
override open func prepareImage( img: Image?, w: Int, h: Int, o: ImageObserver? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 4 )
__args[0] = JNIType.toJava( value: img, locals: &__locals )
__args[1] = jvalue( i: jint(w) )
__args[2] = jvalue( i: jint(h) )
__args[3] = JNIType.toJava( value: o, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "prepareImage", methodSig: "(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z", methodCache: &DialogPeerForward.prepareImage_MethodID_36, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func prepareImage( _ _img: Image?, _ _w: Int, _ _h: Int, _ _o: ImageObserver? ) -> Bool {
return prepareImage( img: _img, w: _w, h: _h, o: _o )
}
/// public abstract void java.awt.peer.ComponentPeer.print(java.awt.Graphics)
private static var print_MethodID_37: jmethodID?
override open func print( g: Graphics? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: g, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "print", methodSig: "(Ljava/awt/Graphics;)V", methodCache: &DialogPeerForward.print_MethodID_37, args: &__args, locals: &__locals )
}
override open func print( _ _g: Graphics? ) {
print( g: _g )
}
/// public abstract void java.awt.peer.ComponentPeer.reparent(java.awt.peer.ContainerPeer)
private static var reparent_MethodID_38: jmethodID?
override open func reparent( newContainer: ContainerPeer? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: newContainer, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "reparent", methodSig: "(Ljava/awt/peer/ContainerPeer;)V", methodCache: &DialogPeerForward.reparent_MethodID_38, args: &__args, locals: &__locals )
}
override open func reparent( _ _newContainer: ContainerPeer? ) {
reparent( newContainer: _newContainer )
}
/// public abstract void java.awt.peer.WindowPeer.repositionSecurityWarning()
private static var repositionSecurityWarning_MethodID_39: jmethodID?
override open func repositionSecurityWarning() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "repositionSecurityWarning", methodSig: "()V", methodCache: &DialogPeerForward.repositionSecurityWarning_MethodID_39, args: &__args, locals: &__locals )
}
/// public abstract boolean java.awt.peer.ComponentPeer.requestFocus(java.awt.Component,boolean,boolean,long,sun.awt.CausedFocusEvent$Cause)
private static var requestFocus_MethodID_40: jmethodID?
override open func requestFocus( lightweightChild: Component?, temporary: Bool, focusedWindowChangeAllowed: Bool, time: Int64, cause: /* class sun.awt.CausedFocusEvent$Cause */ UnavailableEnum? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 5 )
__args[0] = JNIType.toJava( value: lightweightChild, locals: &__locals )
__args[1] = jvalue( z: jboolean(temporary ? JNI_TRUE : JNI_FALSE) )
__args[2] = jvalue( z: jboolean(focusedWindowChangeAllowed ? JNI_TRUE : JNI_FALSE) )
__args[3] = jvalue( j: time )
__args[4] = JNIType.toJava( value: cause, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "requestFocus", methodSig: "(Ljava/awt/Component;ZZJLsun/awt/CausedFocusEvent$Cause;)Z", methodCache: &DialogPeerForward.requestFocus_MethodID_40, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func requestFocus( _ _lightweightChild: Component?, _ _temporary: Bool, _ _focusedWindowChangeAllowed: Bool, _ _time: Int64, _ _cause: /* class sun.awt.CausedFocusEvent$Cause */ UnavailableEnum? ) -> Bool {
return requestFocus( lightweightChild: _lightweightChild, temporary: _temporary, focusedWindowChangeAllowed: _focusedWindowChangeAllowed, time: _time, cause: _cause )
}
/// public abstract void java.awt.peer.ComponentPeer.setBackground(java.awt.Color)
private static var setBackground_MethodID_41: jmethodID?
override open func setBackground( c: Color? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: c, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setBackground", methodSig: "(Ljava/awt/Color;)V", methodCache: &DialogPeerForward.setBackground_MethodID_41, args: &__args, locals: &__locals )
}
override open func setBackground( _ _c: Color? ) {
setBackground( c: _c )
}
/// public abstract void java.awt.peer.ComponentPeer.setBounds(int,int,int,int,int)
private static var setBounds_MethodID_42: jmethodID?
override open func setBounds( x: Int, y: Int, width: Int, height: Int, op: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 5 )
__args[0] = jvalue( i: jint(x) )
__args[1] = jvalue( i: jint(y) )
__args[2] = jvalue( i: jint(width) )
__args[3] = jvalue( i: jint(height) )
__args[4] = jvalue( i: jint(op) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setBounds", methodSig: "(IIIII)V", methodCache: &DialogPeerForward.setBounds_MethodID_42, args: &__args, locals: &__locals )
}
override open func setBounds( _ _x: Int, _ _y: Int, _ _width: Int, _ _height: Int, _ _op: Int ) {
setBounds( x: _x, y: _y, width: _width, height: _height, op: _op )
}
/// public abstract void java.awt.peer.ComponentPeer.setEnabled(boolean)
private static var setEnabled_MethodID_43: jmethodID?
override open func setEnabled( e: Bool ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( z: jboolean(e ? JNI_TRUE : JNI_FALSE) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setEnabled", methodSig: "(Z)V", methodCache: &DialogPeerForward.setEnabled_MethodID_43, args: &__args, locals: &__locals )
}
override open func setEnabled( _ _e: Bool ) {
setEnabled( e: _e )
}
/// public abstract void java.awt.peer.ComponentPeer.setFont(java.awt.Font)
private static var setFont_MethodID_44: jmethodID?
override open func setFont( f: Font? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: f, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setFont", methodSig: "(Ljava/awt/Font;)V", methodCache: &DialogPeerForward.setFont_MethodID_44, args: &__args, locals: &__locals )
}
override open func setFont( _ _f: Font? ) {
setFont( f: _f )
}
/// public abstract void java.awt.peer.ComponentPeer.setForeground(java.awt.Color)
private static var setForeground_MethodID_45: jmethodID?
override open func setForeground( c: Color? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: c, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setForeground", methodSig: "(Ljava/awt/Color;)V", methodCache: &DialogPeerForward.setForeground_MethodID_45, args: &__args, locals: &__locals )
}
override open func setForeground( _ _c: Color? ) {
setForeground( c: _c )
}
/// public abstract void java.awt.peer.WindowPeer.setModalBlocked(java.awt.Dialog,boolean)
private static var setModalBlocked_MethodID_46: jmethodID?
override open func setModalBlocked( blocker: Dialog?, blocked: Bool ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: blocker, locals: &__locals )
__args[1] = jvalue( z: jboolean(blocked ? JNI_TRUE : JNI_FALSE) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setModalBlocked", methodSig: "(Ljava/awt/Dialog;Z)V", methodCache: &DialogPeerForward.setModalBlocked_MethodID_46, args: &__args, locals: &__locals )
}
override open func setModalBlocked( _ _blocker: Dialog?, _ _blocked: Bool ) {
setModalBlocked( blocker: _blocker, blocked: _blocked )
}
/// public abstract void java.awt.peer.WindowPeer.setOpacity(float)
private static var setOpacity_MethodID_47: jmethodID?
override open func setOpacity( opacity: Float ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( f: opacity )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setOpacity", methodSig: "(F)V", methodCache: &DialogPeerForward.setOpacity_MethodID_47, args: &__args, locals: &__locals )
}
override open func setOpacity( _ _opacity: Float ) {
setOpacity( opacity: _opacity )
}
/// public abstract void java.awt.peer.WindowPeer.setOpaque(boolean)
private static var setOpaque_MethodID_48: jmethodID?
override open func setOpaque( isOpaque: Bool ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( z: jboolean(isOpaque ? JNI_TRUE : JNI_FALSE) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setOpaque", methodSig: "(Z)V", methodCache: &DialogPeerForward.setOpaque_MethodID_48, args: &__args, locals: &__locals )
}
override open func setOpaque( _ _isOpaque: Bool ) {
setOpaque( isOpaque: _isOpaque )
}
/// public abstract void java.awt.peer.DialogPeer.setResizable(boolean)
private static var setResizable_MethodID_49: jmethodID?
open func setResizable( resizeable: Bool ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( z: jboolean(resizeable ? JNI_TRUE : JNI_FALSE) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setResizable", methodSig: "(Z)V", methodCache: &DialogPeerForward.setResizable_MethodID_49, args: &__args, locals: &__locals )
}
open func setResizable( _ _resizeable: Bool ) {
setResizable( resizeable: _resizeable )
}
/// public abstract void java.awt.peer.DialogPeer.setTitle(java.lang.String)
private static var setTitle_MethodID_50: jmethodID?
open func setTitle( title: String? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: title, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setTitle", methodSig: "(Ljava/lang/String;)V", methodCache: &DialogPeerForward.setTitle_MethodID_50, args: &__args, locals: &__locals )
}
open func setTitle( _ _title: String? ) {
setTitle( title: _title )
}
/// public abstract void java.awt.peer.ComponentPeer.setVisible(boolean)
private static var setVisible_MethodID_51: jmethodID?
override open func setVisible( v: Bool ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( z: jboolean(v ? JNI_TRUE : JNI_FALSE) )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setVisible", methodSig: "(Z)V", methodCache: &DialogPeerForward.setVisible_MethodID_51, args: &__args, locals: &__locals )
}
override open func setVisible( _ _v: Bool ) {
setVisible( v: _v )
}
/// public abstract void java.awt.peer.ComponentPeer.setZOrder(java.awt.peer.ComponentPeer)
private static var setZOrder_MethodID_52: jmethodID?
override open func setZOrder( above: ComponentPeer? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: above, locals: &__locals )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "setZOrder", methodSig: "(Ljava/awt/peer/ComponentPeer;)V", methodCache: &DialogPeerForward.setZOrder_MethodID_52, args: &__args, locals: &__locals )
}
override open func setZOrder( _ _above: ComponentPeer? ) {
setZOrder( above: _above )
}
/// public abstract void java.awt.peer.WindowPeer.toBack()
private static var toBack_MethodID_53: jmethodID?
override open func toBack() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "toBack", methodSig: "()V", methodCache: &DialogPeerForward.toBack_MethodID_53, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.WindowPeer.toFront()
private static var toFront_MethodID_54: jmethodID?
override open func toFront() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "toFront", methodSig: "()V", methodCache: &DialogPeerForward.toFront_MethodID_54, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.WindowPeer.updateAlwaysOnTopState()
private static var updateAlwaysOnTopState_MethodID_55: jmethodID?
override open func updateAlwaysOnTopState() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateAlwaysOnTopState", methodSig: "()V", methodCache: &DialogPeerForward.updateAlwaysOnTopState_MethodID_55, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.ComponentPeer.updateCursorImmediately()
private static var updateCursorImmediately_MethodID_56: jmethodID?
override open func updateCursorImmediately() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateCursorImmediately", methodSig: "()V", methodCache: &DialogPeerForward.updateCursorImmediately_MethodID_56, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.WindowPeer.updateFocusableWindowState()
private static var updateFocusableWindowState_MethodID_57: jmethodID?
override open func updateFocusableWindowState() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateFocusableWindowState", methodSig: "()V", methodCache: &DialogPeerForward.updateFocusableWindowState_MethodID_57, args: &__args, locals: &__locals )
}
/// public abstract boolean java.awt.peer.ComponentPeer.updateGraphicsData(java.awt.GraphicsConfiguration)
private static var updateGraphicsData_MethodID_58: jmethodID?
override open func updateGraphicsData( gc: GraphicsConfiguration? ) -> Bool {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: gc, locals: &__locals )
let __return = JNIMethod.CallBooleanMethod( object: javaObject, methodName: "updateGraphicsData", methodSig: "(Ljava/awt/GraphicsConfiguration;)Z", methodCache: &DialogPeerForward.updateGraphicsData_MethodID_58, args: &__args, locals: &__locals )
return __return != jboolean(JNI_FALSE)
}
override open func updateGraphicsData( _ _gc: GraphicsConfiguration? ) -> Bool {
return updateGraphicsData( gc: _gc )
}
/// public abstract void java.awt.peer.WindowPeer.updateIconImages()
private static var updateIconImages_MethodID_59: jmethodID?
override open func updateIconImages() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateIconImages", methodSig: "()V", methodCache: &DialogPeerForward.updateIconImages_MethodID_59, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.WindowPeer.updateMinimumSize()
private static var updateMinimumSize_MethodID_60: jmethodID?
override open func updateMinimumSize() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateMinimumSize", methodSig: "()V", methodCache: &DialogPeerForward.updateMinimumSize_MethodID_60, args: &__args, locals: &__locals )
}
/// public abstract void java.awt.peer.WindowPeer.updateWindow()
private static var updateWindow_MethodID_61: jmethodID?
override open func updateWindow() {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
JNIMethod.CallVoidMethod( object: javaObject, methodName: "updateWindow", methodSig: "()V", methodCache: &DialogPeerForward.updateWindow_MethodID_61, args: &__args, locals: &__locals )
}
}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.