-
Notifications
You must be signed in to change notification settings - Fork 0
/
javax.imageio.event.d.ts
73 lines (44 loc) · 2.52 KB
/
javax.imageio.event.d.ts
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
/// <reference path="java.util.d.ts" />
/// <reference path="java.awt.image.d.ts" />
/// <reference path="java.lang.d.ts" />
/// <reference path="javax.imageio.d.ts" />
declare module '@afterburnerhq/javax.imageio.event' {
import { EventListener } from '@afterburnerhq/java.util'
import { BufferedImage } from '@afterburnerhq/java.awt.image'
import { String } from '@afterburnerhq/java.lang'
import { ImageReader, ImageWriter } from '@afterburnerhq/javax.imageio'
export interface IIOReadProgressListener extends EventListener {
sequenceStarted(arg0: ImageReader, arg1: number): void;
sequenceComplete(arg0: ImageReader): void;
imageStarted(arg0: ImageReader, arg1: number): void;
imageProgress(arg0: ImageReader, arg1: number): void;
imageComplete(arg0: ImageReader): void;
thumbnailStarted(arg0: ImageReader, arg1: number, arg2: number): void;
thumbnailProgress(arg0: ImageReader, arg1: number): void;
thumbnailComplete(arg0: ImageReader): void;
readAborted(arg0: ImageReader): void;
}
export interface IIOReadUpdateListener extends EventListener {
passStarted(arg0: ImageReader, arg1: BufferedImage, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number, arg9: number[]): void;
imageUpdate(arg0: ImageReader, arg1: BufferedImage, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number[]): void;
passComplete(arg0: ImageReader, arg1: BufferedImage): void;
thumbnailPassStarted(arg0: ImageReader, arg1: BufferedImage, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number, arg9: number[]): void;
thumbnailUpdate(arg0: ImageReader, arg1: BufferedImage, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number[]): void;
thumbnailPassComplete(arg0: ImageReader, arg1: BufferedImage): void;
}
export interface IIOReadWarningListener extends EventListener {
warningOccurred(arg0: ImageReader, arg1: String): void;
}
export interface IIOWriteProgressListener extends EventListener {
imageStarted(arg0: ImageWriter, arg1: number): void;
imageProgress(arg0: ImageWriter, arg1: number): void;
imageComplete(arg0: ImageWriter): void;
thumbnailStarted(arg0: ImageWriter, arg1: number, arg2: number): void;
thumbnailProgress(arg0: ImageWriter, arg1: number): void;
thumbnailComplete(arg0: ImageWriter): void;
writeAborted(arg0: ImageWriter): void;
}
export interface IIOWriteWarningListener extends EventListener {
warningOccurred(arg0: ImageWriter, arg1: number, arg2: String): void;
}
}