java-api-stubs 17.25.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- java/__init__.pyi +0 -0
- java/awt/__init__.pyi +95 -0
- java/awt/event/__init__.pyi +87 -0
- java/awt/geom/__init__.pyi +38 -0
- java/awt/image/__init__.pyi +6 -0
- java/awt/print/__init__.pyi +32 -0
- java/beans/__init__.pyi +20 -0
- java/io/__init__.pyi +155 -0
- java/lang/__init__.pyi +260 -0
- java/lang/reflect/__init__.pyi +4 -0
- java/math/__init__.pyi +41 -0
- java/net/__init__.pyi +178 -0
- java/net/http/__init__.pyi +5 -0
- java/nio/__init__.pyi +196 -0
- java/nio/channels/__init__.pyi +127 -0
- java/nio/charset/__init__.pyi +59 -0
- java/nio/file/__init__.pyi +328 -0
- java/nio/file/attribute/__init__.pyi +57 -0
- java/org/__init__.pyi +0 -0
- java/org/jdesktop/__init__.pyi +0 -0
- java/org/jdesktop/core/__init__.pyi +0 -0
- java/org/jdesktop/core/animation/__init__.pyi +0 -0
- java/org/jdesktop/core/animation/timing/__init__.pyi +6 -0
- java/py.typed +0 -0
- java/security/__init__.pyi +11 -0
- java/text/__init__.pyi +211 -0
- java/time/__init__.pyi +233 -0
- java/time/chrono/__init__.pyi +103 -0
- java/time/format/__init__.pyi +44 -0
- java/time/temporal/__init__.pyi +148 -0
- java/util/__init__.pyi +530 -0
- java/util/concurrent/__init__.pyi +57 -0
- java/util/function/__init__.pyi +51 -0
- java/util/regex/__init__.pyi +73 -0
- java/util/stream/__init__.pyi +45 -0
- java_api_stubs-17.25.0.dist-info/METADATA +100 -0
- java_api_stubs-17.25.0.dist-info/RECORD +48 -0
- java_api_stubs-17.25.0.dist-info/WHEEL +5 -0
- java_api_stubs-17.25.0.dist-info/licenses/LICENSE +21 -0
- java_api_stubs-17.25.0.dist-info/top_level.txt +2 -0
- javax/__init__.pyi +0 -0
- javax/py.typed +0 -0
- javax/security/__init__.pyi +0 -0
- javax/security/auth/__init__.pyi +6 -0
- javax/swing/__init__.pyi +186 -0
- javax/swing/event/__init__.pyi +17 -0
- javax/swing/plaf/__init__.pyi +11 -0
- javax/swing/text/__init__.pyi +7 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
from typing import Any, List, Optional
|
|
2
|
+
|
|
3
|
+
from java.lang import Comparable, Enum, Object, Runnable, Thread
|
|
4
|
+
from java.time.temporal import ChronoUnit
|
|
5
|
+
|
|
6
|
+
class Delayed(Comparable):
|
|
7
|
+
def compareTo(self, o: Any) -> int: ...
|
|
8
|
+
def getDelay(self, unit: TimeUnit) -> long: ...
|
|
9
|
+
|
|
10
|
+
class Executor:
|
|
11
|
+
def execute(self, command: Runnable) -> None: ...
|
|
12
|
+
|
|
13
|
+
class Future:
|
|
14
|
+
def cancel(self, mayInterruptIfRunning: bool) -> bool: ...
|
|
15
|
+
def get(
|
|
16
|
+
self, timeout: Optional[long] = ..., unit: Optional[TimeUnit] = ...
|
|
17
|
+
) -> Any: ...
|
|
18
|
+
def isCancelled(self) -> bool: ...
|
|
19
|
+
def isDone(self) -> bool: ...
|
|
20
|
+
|
|
21
|
+
class ScheduledFuture(Delayed, Future):
|
|
22
|
+
def cancel(self, mayInterruptIfRunning: bool) -> bool: ...
|
|
23
|
+
def compareTo(self, o: Any) -> int: ...
|
|
24
|
+
def get(
|
|
25
|
+
self, timeout: Optional[long] = ..., unit: Optional[TimeUnit] = ...
|
|
26
|
+
) -> Any: ...
|
|
27
|
+
def getDelay(self, unit: TimeUnit) -> long: ...
|
|
28
|
+
def isCancelled(self) -> bool: ...
|
|
29
|
+
def isDone(self) -> bool: ...
|
|
30
|
+
|
|
31
|
+
class CompletableFuture(Object):
|
|
32
|
+
def __init__(self) -> None: ...
|
|
33
|
+
|
|
34
|
+
class TimeUnit(Enum):
|
|
35
|
+
DAYS: TimeUnit
|
|
36
|
+
HOURS: TimeUnit
|
|
37
|
+
MICROSECONDS: TimeUnit
|
|
38
|
+
MILLISECONDS: TimeUnit
|
|
39
|
+
MINUTES: TimeUnit
|
|
40
|
+
NANOSECONDS: TimeUnit
|
|
41
|
+
SECONDS: TimeUnit
|
|
42
|
+
def convert(self, *args: Any) -> long: ...
|
|
43
|
+
@staticmethod
|
|
44
|
+
def of(chronoUnit: ChronoUnit) -> TimeUnit: ...
|
|
45
|
+
def sleep(self, timeout: long) -> None: ...
|
|
46
|
+
def timedJoin(self, thread: Thread, timeout: long) -> None: ...
|
|
47
|
+
def timedWait(self, obj: Object, timeout: long) -> None: ...
|
|
48
|
+
def toChronoUnit(self) -> ChronoUnit: ...
|
|
49
|
+
def toDays(self, duration: long) -> long: ...
|
|
50
|
+
def toHours(self, duration: long) -> long: ...
|
|
51
|
+
def toMicros(self, duration: long) -> long: ...
|
|
52
|
+
def toMillis(self, duration: long) -> long: ...
|
|
53
|
+
def toMinutes(self, duration: long) -> long: ...
|
|
54
|
+
def toNanos(self, duration: long) -> long: ...
|
|
55
|
+
def toSeconds(self, duration: long) -> long: ...
|
|
56
|
+
@staticmethod
|
|
57
|
+
def values() -> List[TimeUnit]: ...
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
class BiConsumer:
|
|
6
|
+
def accept(self, t: Any, u: Any) -> None: ...
|
|
7
|
+
def andThen(self, after: BiConsumer) -> BiConsumer: ...
|
|
8
|
+
|
|
9
|
+
class BiFunction:
|
|
10
|
+
def andThen(self, after: Function) -> BiFunction: ...
|
|
11
|
+
def apply(self, t: Any, u: Any) -> Any: ...
|
|
12
|
+
|
|
13
|
+
class BiPredicate:
|
|
14
|
+
def negate(self) -> BiPredicate: ...
|
|
15
|
+
def test(self, t: Any, u: Any) -> bool: ...
|
|
16
|
+
|
|
17
|
+
class BinaryOperator(BiFunction):
|
|
18
|
+
def apply(self, t: Any, u: Any) -> Any: ...
|
|
19
|
+
@staticmethod
|
|
20
|
+
def maxBy(comparator: Any) -> BinaryOperator: ...
|
|
21
|
+
@staticmethod
|
|
22
|
+
def minBy(comparator: Any) -> BinaryOperator: ...
|
|
23
|
+
|
|
24
|
+
class Consumer:
|
|
25
|
+
def accept(self, t: Any) -> None: ...
|
|
26
|
+
def andThen(self, after: Consumer) -> Consumer: ...
|
|
27
|
+
|
|
28
|
+
class Function:
|
|
29
|
+
def andThen(self, after: Function) -> Function: ...
|
|
30
|
+
def apply(self, t: Any) -> Any: ...
|
|
31
|
+
def compose(self, before: Function) -> Function: ...
|
|
32
|
+
@staticmethod
|
|
33
|
+
def identity() -> Function: ...
|
|
34
|
+
|
|
35
|
+
class Predicate:
|
|
36
|
+
@staticmethod
|
|
37
|
+
def isEqual(targetRef: Object) -> Predicate: ...
|
|
38
|
+
def negate(self) -> Predicate: ...
|
|
39
|
+
def test(self, t: Any) -> bool: ...
|
|
40
|
+
|
|
41
|
+
class Supplier:
|
|
42
|
+
def get(self) -> Any: ...
|
|
43
|
+
|
|
44
|
+
class ToDoubleFunction:
|
|
45
|
+
def applyAsDouble(self, value: Any) -> object: ...
|
|
46
|
+
|
|
47
|
+
class ToIntFunction:
|
|
48
|
+
def applyAsInt(self, value: Any) -> object: ...
|
|
49
|
+
|
|
50
|
+
class ToLongFunction:
|
|
51
|
+
def applyAsLong(self, value: Any) -> object: ...
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from typing import Any, List, Optional, Union
|
|
2
|
+
|
|
3
|
+
from java.lang import CharSequence, Object, StringBuffer, StringBuilder
|
|
4
|
+
from java.util.function import Function, Predicate
|
|
5
|
+
|
|
6
|
+
class MatchResult:
|
|
7
|
+
def end(self, group: Optional[int] = ...) -> int: ...
|
|
8
|
+
def group(self, group: Optional[int] = ...) -> Union[str, unicode]: ...
|
|
9
|
+
def groupCount(self) -> int: ...
|
|
10
|
+
def start(self, group: Optional[int] = ...) -> int: ...
|
|
11
|
+
|
|
12
|
+
class Matcher(Object, MatchResult):
|
|
13
|
+
def appendReplacement(
|
|
14
|
+
self, sb: Union[StringBuffer, StringBuilder], replacement: Union[str, unicode]
|
|
15
|
+
) -> Matcher: ...
|
|
16
|
+
def appendTail(
|
|
17
|
+
self, sb: Union[StringBuffer, StringBuilder]
|
|
18
|
+
) -> Union[StringBuffer, StringBuilder]: ...
|
|
19
|
+
def end(self, group: Optional[int] = ...) -> int: ...
|
|
20
|
+
def find(self, start: Optional[int] = ...) -> bool: ...
|
|
21
|
+
def group(
|
|
22
|
+
self, group: Union[int, str, unicode, None] = ...
|
|
23
|
+
) -> Union[str, unicode]: ...
|
|
24
|
+
def groupCount(self) -> int: ...
|
|
25
|
+
def hasAnchoringBounds(self) -> bool: ...
|
|
26
|
+
def hasTransparentBounds(self) -> bool: ...
|
|
27
|
+
def hitEnd(self) -> bool: ...
|
|
28
|
+
def lookingAt(self) -> bool: ...
|
|
29
|
+
def matches(self) -> bool: ...
|
|
30
|
+
def pattern(self) -> Pattern: ...
|
|
31
|
+
@staticmethod
|
|
32
|
+
def quoteReplacement(s: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
33
|
+
def region(self, start: int, end: int) -> Matcher: ...
|
|
34
|
+
def regionEnd(self) -> int: ...
|
|
35
|
+
def regionStart(self) -> int: ...
|
|
36
|
+
def replaceAll(self, arg: Union[str, unicode, Function]) -> Union[str, unicode]: ...
|
|
37
|
+
def replaceFirst(
|
|
38
|
+
self, arg: Union[str, unicode, Function]
|
|
39
|
+
) -> Union[str, unicode]: ...
|
|
40
|
+
def requireEnd(self) -> bool: ...
|
|
41
|
+
def reset(self, input: Optional[CharSequence] = ...) -> Matcher: ...
|
|
42
|
+
def results(self) -> Any: ...
|
|
43
|
+
def start(self, group: Optional[int] = ...) -> int: ...
|
|
44
|
+
def toMatchResult(self) -> MatchResult: ...
|
|
45
|
+
def useAnchoringBounds(self, b: bool) -> Matcher: ...
|
|
46
|
+
def usePattern(self, newPattern: Pattern) -> Matcher: ...
|
|
47
|
+
def useTransparentBounds(self, b: bool) -> Matcher: ...
|
|
48
|
+
|
|
49
|
+
class Pattern(Object):
|
|
50
|
+
CANON_EQ: int
|
|
51
|
+
CASE_INSENSITIVE: int
|
|
52
|
+
COMMENTS: int
|
|
53
|
+
DOTALL: int
|
|
54
|
+
LITERAL: int
|
|
55
|
+
MULTILINE: int
|
|
56
|
+
UNICODE_CASE: int
|
|
57
|
+
UNICODE_CHARACTER_CLASS: int
|
|
58
|
+
UNIX_LINES: int
|
|
59
|
+
def asMatchPredicate(self) -> Predicate: ...
|
|
60
|
+
def asPredicate(self) -> Predicate: ...
|
|
61
|
+
@staticmethod
|
|
62
|
+
def compile(regex: Union[str, unicode], flags: Optional[int] = ...) -> Pattern: ...
|
|
63
|
+
def flags(self) -> int: ...
|
|
64
|
+
def matcher(self, input: CharSequence) -> Matcher: ...
|
|
65
|
+
@staticmethod
|
|
66
|
+
def matches(regex: Union[str, unicode], input: CharSequence) -> bool: ...
|
|
67
|
+
def pattern(self) -> Union[str, unicode]: ...
|
|
68
|
+
@staticmethod
|
|
69
|
+
def quote(s: Union[str, unicode]) -> Union[str, unicode]: ...
|
|
70
|
+
def split(
|
|
71
|
+
self, input: CharSequence, limit: Optional[int] = ...
|
|
72
|
+
) -> List[Union[str, unicode]]: ...
|
|
73
|
+
def splitAsStream(self, input: CharSequence) -> Any: ...
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from typing import Any, Iterable, Set
|
|
2
|
+
|
|
3
|
+
from java.lang import AutoCloseable, Enum, Runnable
|
|
4
|
+
from java.util import Iterator, Spliterator
|
|
5
|
+
from java.util.function import BiConsumer, BinaryOperator, Consumer, Function, Supplier
|
|
6
|
+
|
|
7
|
+
class BaseStream(AutoCloseable):
|
|
8
|
+
def close(self) -> None: ...
|
|
9
|
+
def isParallel(self) -> bool: ...
|
|
10
|
+
def iterator(self) -> Iterator: ...
|
|
11
|
+
def onClose(self, closeHandler: Runnable) -> Any: ...
|
|
12
|
+
def parallel(self) -> Any: ...
|
|
13
|
+
def sequential(self) -> Any: ...
|
|
14
|
+
def spliterator(self) -> Spliterator: ...
|
|
15
|
+
def unordered(self) -> Any: ...
|
|
16
|
+
|
|
17
|
+
class Collector:
|
|
18
|
+
class Characteristics(Enum):
|
|
19
|
+
@staticmethod
|
|
20
|
+
def values() -> Iterable[Collector.Characteristics]: ...
|
|
21
|
+
|
|
22
|
+
def accumulator(self) -> BiConsumer: ...
|
|
23
|
+
def characteristic(self) -> Set[Collector.Characteristics]: ...
|
|
24
|
+
def combiner(self) -> BinaryOperator: ...
|
|
25
|
+
def finisher(self) -> Function: ...
|
|
26
|
+
@staticmethod
|
|
27
|
+
def of(*args: Any) -> Collector: ...
|
|
28
|
+
def supplier(self) -> Supplier: ...
|
|
29
|
+
|
|
30
|
+
class Stream(BaseStream):
|
|
31
|
+
class Builder(Consumer):
|
|
32
|
+
def accept(self, t: Any) -> None: ...
|
|
33
|
+
def add(self, t: Any) -> Stream.Builder: ...
|
|
34
|
+
def build(self) -> Stream: ...
|
|
35
|
+
|
|
36
|
+
@staticmethod
|
|
37
|
+
def builder() -> Stream.Builder: ...
|
|
38
|
+
def close(self) -> None: ...
|
|
39
|
+
def isParallel(self) -> bool: ...
|
|
40
|
+
def iterator(self) -> Iterator: ...
|
|
41
|
+
def onClose(self, closeHandler: Runnable) -> Any: ...
|
|
42
|
+
def parallel(self) -> Any: ...
|
|
43
|
+
def sequential(self) -> Any: ...
|
|
44
|
+
def spliterator(self) -> Spliterator: ...
|
|
45
|
+
def unordered(self) -> Any: ...
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: java-api-stubs
|
|
3
|
+
Version: 17.25.0
|
|
4
|
+
Summary: Java 17 API Specification stubs for ignition-api
|
|
5
|
+
Author-email: César Román <cesar@coatl.dev>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Funding, https://github.com/sponsors/cesarcoatl
|
|
8
|
+
Project-URL: Homepage, https://github.com/ignition-devs/java-api
|
|
9
|
+
Project-URL: Source, https://github.com/ignition-devs/java-api/tree/main
|
|
10
|
+
Project-URL: Tracker, https://github.com/ignition-devs/java-api/issues
|
|
11
|
+
Keywords: coatl.dev,ignition,inductive automation,java
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Information Technology
|
|
15
|
+
Classifier: Intended Audience :: Manufacturing
|
|
16
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Typing :: Stubs Only
|
|
26
|
+
Classifier: Typing :: Typed
|
|
27
|
+
Requires-Python: <3.13,>=3.9
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# java-api-stubs
|
|
33
|
+
|
|
34
|
+
<!--- Badges --->
|
|
35
|
+
[](https://pypi.org/project/java-api-stubs/)
|
|
36
|
+
[](https://pypi.org/project/java-api-stubs/)
|
|
37
|
+
[](https://pepy.tech/project/java-api-stubs)
|
|
38
|
+
[](https://github.com/orgs/ignition-devs/discussions)
|
|
39
|
+
|
|
40
|
+
This package contains a collection of [stubs] for [`java-api`]. These
|
|
41
|
+
files were generated using `mypy`'s [`stubgen`].
|
|
42
|
+
|
|
43
|
+
## Installation and usage
|
|
44
|
+
|
|
45
|
+
To use java-api-stubs, you may install it with `pip`. It requires Python
|
|
46
|
+
3.7 through 3.12.
|
|
47
|
+
|
|
48
|
+
> [!WARNING]
|
|
49
|
+
> Python 3.13 will not be supported.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
python3 -m pip install \
|
|
53
|
+
java-api-stubs \
|
|
54
|
+
"mypy[python2]==0.971"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
To run `mypy` against your code, execute the following command passing the
|
|
58
|
+
source directory (typically `src`) or a single file:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
mypy --py2 src
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
mypy --py2 code.py
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Contributing
|
|
71
|
+
|
|
72
|
+
See [CONTRIBUTING.md].
|
|
73
|
+
|
|
74
|
+
## Discussions
|
|
75
|
+
|
|
76
|
+
Feel free to post your questions and/or ideas at [Discussions].
|
|
77
|
+
|
|
78
|
+
## Contributors
|
|
79
|
+
|
|
80
|
+
Thanks to everyone who has contributed to this project.
|
|
81
|
+
|
|
82
|
+
Up-to-date list of [contributors].
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
See the [LICENSE].
|
|
87
|
+
|
|
88
|
+
## Code of conduct
|
|
89
|
+
|
|
90
|
+
See [CODE_OF_CONDUCT.md].
|
|
91
|
+
|
|
92
|
+
<!-- Links -->
|
|
93
|
+
[CODE_OF_CONDUCT.md]: https://github.com/ignition-devs/.github/blob/main/CODE_OF_CONDUCT.md
|
|
94
|
+
[CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md
|
|
95
|
+
[contributors]: https://github.com/ignition-devs/java-api/graphs/contributors
|
|
96
|
+
[Discussions]: https://github.com/orgs/ignition-devs/discussions
|
|
97
|
+
[`java-api`]: https://github.com/ignition-devs/java-api
|
|
98
|
+
[LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
|
|
99
|
+
[`stubgen`]: https://coatl-mypy.readthedocs.io/en/v0.971/stubgen.html
|
|
100
|
+
[stubs]: https://www.python.org/dev/peps/pep-484/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
java/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
java/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
java/awt/__init__.pyi,sha256=oZI6wJ8NnP9WjcN51NAbZn5cslzK42PlQZQUFoeAmMY,3175
|
|
4
|
+
java/awt/event/__init__.pyi,sha256=zSD8ww_8CkPP9MXJ_7tnBX7Egu_7-PkwuUNraRx5j5Y,2583
|
|
5
|
+
java/awt/geom/__init__.pyi,sha256=DooqKShoUK0JuRZqPdPDRgaej3qklHwbUANO4Hqdobs,1312
|
|
6
|
+
java/awt/image/__init__.pyi,sha256=QI6-oVsqx2pkRilfd1kfbwYsFvIlpN54yD_8PyPKoTo,128
|
|
7
|
+
java/awt/print/__init__.pyi,sha256=XcJNa1zi1R0t6iVSvtpQ3KvsH_RYUyDx_xq7m7Wg5uQ,1107
|
|
8
|
+
java/beans/__init__.pyi,sha256=dCVZuew_kxwPcwCH_2oQD0xdV1Lk3qk5XxuKdd26ISU,594
|
|
9
|
+
java/io/__init__.pyi,sha256=9ZKUqZTemavykjv7hKX7HF7zqm9KpllVxrD-ndam--c,5301
|
|
10
|
+
java/lang/__init__.pyi,sha256=kuHdNMDqHuRH0_La6QvOjjwmY8v8g9tNBXAR3-FFMNQ,10865
|
|
11
|
+
java/lang/reflect/__init__.pyi,sha256=J8Ph9MVeiLqJNAhQmP166Wm0i_vJuVFpA_-2sZsbDzo,92
|
|
12
|
+
java/math/__init__.pyi,sha256=2LmwBCXF3UlPGBaNywE5nC0u3tsP7xF3IZvHn3X2TcQ,1128
|
|
13
|
+
java/net/__init__.pyi,sha256=dT9pQX6FJox-Gs1POGQTmvitDq9tU6vB0QuqDEmvDlE,6749
|
|
14
|
+
java/net/http/__init__.pyi,sha256=CQqqkcteumgdZPGoPL__8dZd39tTpYaYLF9MTaKX8gE,115
|
|
15
|
+
java/nio/__init__.pyi,sha256=kRRV2eZEAN8SaBQzmSji3tOFlk70Uiunw05USIkZcz0,7653
|
|
16
|
+
java/nio/channels/__init__.pyi,sha256=nymzl4ep5KGBN6P1ydo3pKij81YrxJ_u8apsUAe2DTs,4672
|
|
17
|
+
java/nio/charset/__init__.pyi,sha256=JwTml4UMYCisqtKNXVVnC8hS7aD9I-gxUKpcnpKCUiQ,2064
|
|
18
|
+
java/nio/file/__init__.pyi,sha256=ZyDs654Sa5VdtJ6_wYUv7gdYA2Db5rAiwRGpGCzR2Y0,11178
|
|
19
|
+
java/nio/file/attribute/__init__.pyi,sha256=jEEWMV0Qp-pnWvSEMmnLZAvrc_UjTmX0XnR44blO7QU,1852
|
|
20
|
+
java/org/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
+
java/org/jdesktop/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
+
java/org/jdesktop/core/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
+
java/org/jdesktop/core/animation/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
+
java/org/jdesktop/core/animation/timing/__init__.pyi,sha256=wnUT81itBRyWDr-fd7nP92PtWDYV9HurMOp5bPRFeVc,155
|
|
25
|
+
java/security/__init__.pyi,sha256=E9vSvFtuGu0fPSxFDvJ6D_aTRMpIQ0o_X-zZJp-RRQA,353
|
|
26
|
+
java/text/__init__.pyi,sha256=xgLzHBzetfygspqTD-AdSOmibbp7cR6srUKS0SxopT0,8557
|
|
27
|
+
java/time/__init__.pyi,sha256=KyhWjvm0RsPcLn2yPCgStOM746FDInyMHFHqnQHeyKw,8464
|
|
28
|
+
java/time/chrono/__init__.pyi,sha256=2q1cqAYhQjuJu22ni7xa0r1kmV1zSLfyjSx2KBLU9Pk,4558
|
|
29
|
+
java/time/format/__init__.pyi,sha256=tpfa8KEg-LKC0qgmJqEYJOclx7IpEUttIquRrr6gcBk,1487
|
|
30
|
+
java/time/temporal/__init__.pyi,sha256=egcF-zaROrYW7in7EhzCxys_OzKkn_qyGo7cGeFzsR4,5609
|
|
31
|
+
java/util/__init__.pyi,sha256=KQQlbdPGv9MzDVztzbyke-LwQ16j5WM5NJZgYl4dlD4,18777
|
|
32
|
+
java/util/concurrent/__init__.pyi,sha256=2qfN5BnLgEtEBugodmeFd4DSf5qqgFwk-91Ty8egOdI,2000
|
|
33
|
+
java/util/function/__init__.pyi,sha256=exujCHNqKZRBaaGBRT2wH-bFjxGEb62dh0GkqKa8Wbs,1427
|
|
34
|
+
java/util/regex/__init__.pyi,sha256=cg_G98TSNRaUfgHj_w1qakNGJDbbqOL0Zjn0euPaeic,2982
|
|
35
|
+
java/util/stream/__init__.pyi,sha256=79B7Cs796i0uUBVJtLMXB-_hy6paYGiljfOFsm3hE-w,1594
|
|
36
|
+
java_api_stubs-17.25.0.dist-info/licenses/LICENSE,sha256=9JbwJjgJlv29-ztnD_uX7tXuD4N1nvRaZaFYtYn8IZ8,1067
|
|
37
|
+
javax/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
+
javax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
+
javax/security/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
+
javax/security/auth/__init__.pyi,sha256=7_sELn61tlKgf0CVevaUs2U5TPbfAJsYQCdMJYfvtig,125
|
|
41
|
+
javax/swing/__init__.pyi,sha256=XmOgPDjErVadB3q4i53UU_olq6K0CyAj5F1S6V8Ndug,6613
|
|
42
|
+
javax/swing/event/__init__.pyi,sha256=rXHOFP649JISkKirr6vyxsbA5ButKajbcbAG-vE_-tg,639
|
|
43
|
+
javax/swing/plaf/__init__.pyi,sha256=-Ma0gPgsZKhPd1sc-gxK3mGRBTLa4afFnlpEUOpcIdo,392
|
|
44
|
+
javax/swing/text/__init__.pyi,sha256=tUADQ6I_uVqlHjJUqpsjk-S5yFBK3TQg9o-3YI2lVuE,212
|
|
45
|
+
java_api_stubs-17.25.0.dist-info/METADATA,sha256=FghMPqQbinzXD7-Lu7OETac5klIY5Se322fh_n_Wbck,3322
|
|
46
|
+
java_api_stubs-17.25.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
47
|
+
java_api_stubs-17.25.0.dist-info/top_level.txt,sha256=ULMl8dxVE3DpTgZToR95hVaQmkl-LPtCbMSiiQAmdck,11
|
|
48
|
+
java_api_stubs-17.25.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025- coatl.dev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
javax/__init__.pyi
ADDED
|
File without changes
|
javax/py.typed
ADDED
|
File without changes
|
|
File without changes
|
javax/swing/__init__.pyi
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
from typing import Any, List, Optional, Union
|
|
2
|
+
|
|
3
|
+
from java.awt import Component, Container, Frame, Graphics
|
|
4
|
+
from java.util import Locale
|
|
5
|
+
from javax.swing.event import AncestorListener
|
|
6
|
+
from javax.swing.plaf import DesktopPaneUI
|
|
7
|
+
from javax.swing.text import JTextComponent
|
|
8
|
+
|
|
9
|
+
class DesktopManager:
|
|
10
|
+
def activateFrame(self, f: JInternalFrame) -> None: ...
|
|
11
|
+
def beginDragginFrame(self, f: JComponent) -> None: ...
|
|
12
|
+
def beginResizingFrame(self, f: JComponent, direction: int) -> None: ...
|
|
13
|
+
def closeFrame(self, f: JInternalFrame) -> None: ...
|
|
14
|
+
def deactivateFrame(self, f: JInternalFrame) -> None: ...
|
|
15
|
+
def deiconifyFrame(self, f: JInternalFrame) -> None: ...
|
|
16
|
+
def dragFrame(self, f: JComponent, newX: int, newY: int) -> None: ...
|
|
17
|
+
def endDraggingFrame(self, f: JComponent) -> None: ...
|
|
18
|
+
def endResizing(self, f: JComponent) -> None: ...
|
|
19
|
+
def iconifyFrame(self, f: JInternalFrame) -> None: ...
|
|
20
|
+
def maximizeFrame(self, f: JInternalFrame) -> None: ...
|
|
21
|
+
def minimizeFrame(self, f: JInternalFrame) -> None: ...
|
|
22
|
+
def openFrame(self, f: JInternalFrame) -> None: ...
|
|
23
|
+
def resizeFrame(
|
|
24
|
+
self, f: JComponent, newX: int, newY: int, newWidth: int, newHeight: int
|
|
25
|
+
) -> None: ...
|
|
26
|
+
def setBoundsForFrame(
|
|
27
|
+
self, f: JComponent, newX: int, newY: int, newWidth: int, newHeight: int
|
|
28
|
+
) -> None: ...
|
|
29
|
+
|
|
30
|
+
class Icon:
|
|
31
|
+
def getIconHeight(self) -> int: ...
|
|
32
|
+
def getIconWidth(self) -> int: ...
|
|
33
|
+
def paintIcon(self, c: Component, g: Graphics, x: int, y: int) -> None: ...
|
|
34
|
+
|
|
35
|
+
class RootPaneContainer:
|
|
36
|
+
def getContentPane(self) -> Container: ...
|
|
37
|
+
def getGlassPane(self) -> Component: ...
|
|
38
|
+
def getLayeredPane(self) -> JLayeredPane: ...
|
|
39
|
+
def getRootPane(self) -> JRootPane: ...
|
|
40
|
+
def setContentPane(self, contentPane: Container) -> None: ...
|
|
41
|
+
def setGlassPane(self, glassPane: Component) -> None: ...
|
|
42
|
+
def setLayeredPane(self, rootPane: JLayeredPane) -> None: ...
|
|
43
|
+
|
|
44
|
+
class JComponent(Container):
|
|
45
|
+
TOOL_TIP_TEXT_KEY: Union[str, unicode]
|
|
46
|
+
UNDEFINED_CONDITION: int
|
|
47
|
+
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT: int
|
|
48
|
+
WHEN_FOCUSED: int
|
|
49
|
+
WHEN_IN_FOCUSED_WINDOW: int
|
|
50
|
+
def __init__(self) -> None: ...
|
|
51
|
+
def addAncestorListener(self, listener: AncestorListener) -> None: ...
|
|
52
|
+
def addNotify(self) -> None: ...
|
|
53
|
+
def createToolTip(self) -> JToolTip: ...
|
|
54
|
+
@staticmethod
|
|
55
|
+
def getDefaultLocale() -> Locale: ...
|
|
56
|
+
@staticmethod
|
|
57
|
+
def isLightweightComponent(c: Component) -> bool: ...
|
|
58
|
+
@staticmethod
|
|
59
|
+
def setDefaultLocale(l: Locale) -> None: ...
|
|
60
|
+
|
|
61
|
+
class JFrame(Frame):
|
|
62
|
+
def __init__(self, *args: Any) -> None: ...
|
|
63
|
+
|
|
64
|
+
class JInternalFrame(JComponent):
|
|
65
|
+
def __init__(
|
|
66
|
+
self,
|
|
67
|
+
title: Union[str, unicode, None] = ...,
|
|
68
|
+
resizable: Optional[bool] = ...,
|
|
69
|
+
closable: Optional[bool] = ...,
|
|
70
|
+
maximizable: Optional[bool] = ...,
|
|
71
|
+
iconifiable: Optional[bool] = ...,
|
|
72
|
+
) -> None: ...
|
|
73
|
+
|
|
74
|
+
class JLabel(JComponent):
|
|
75
|
+
def __init__(self, *args: Any) -> None: ...
|
|
76
|
+
|
|
77
|
+
class JLayeredPane(JComponent):
|
|
78
|
+
DEFAULT_LAYER: int
|
|
79
|
+
DRAG_LAYER: int
|
|
80
|
+
FRAME_CONTENT_LAYER: int
|
|
81
|
+
LAYER_PROPERTY: str
|
|
82
|
+
MODAL_LAYER: int
|
|
83
|
+
PALETTE_LAYER: int
|
|
84
|
+
POPUP_LAYER: int
|
|
85
|
+
def __init__(self) -> None: ...
|
|
86
|
+
def getComponentCountInLayer(self, layer: int) -> int: ...
|
|
87
|
+
def getLayer(self, c: Component) -> int: ...
|
|
88
|
+
def highestLayer(self) -> int: ...
|
|
89
|
+
def lowestLayer(self) -> int: ...
|
|
90
|
+
def setPosition(self, c: Component, position: int) -> None: ...
|
|
91
|
+
|
|
92
|
+
class JDesktopPane(JLayeredPane):
|
|
93
|
+
LIVE_DRAG_MODE: int
|
|
94
|
+
OUTLINE_DRAG_MODE: int
|
|
95
|
+
def __init__(self) -> None: ...
|
|
96
|
+
def getAllFrames(self) -> List[JInternalFrame]: ...
|
|
97
|
+
def getAllFramesInLayer(self, layer: int) -> List[JInternalFrame]: ...
|
|
98
|
+
def getDesktopManager(self) -> DesktopManager: ...
|
|
99
|
+
def getDragMode(self) -> int: ...
|
|
100
|
+
def getSelectedFrame(self) -> JInternalFrame: ...
|
|
101
|
+
def getUI(self) -> DesktopPaneUI: ...
|
|
102
|
+
def getUIClassID(self) -> Union[str, unicode]: ...
|
|
103
|
+
def updateUI(self) -> None: ...
|
|
104
|
+
|
|
105
|
+
class JOptionPane(JComponent):
|
|
106
|
+
PLAIN_MESSAGE: int
|
|
107
|
+
ERROR_MESSAGE: int
|
|
108
|
+
INFORMATION_MESSAGE: int
|
|
109
|
+
WARNING_MESSAGE: int
|
|
110
|
+
QUESTION_MESSAGE: int
|
|
111
|
+
DEFAULT_OPTION: int
|
|
112
|
+
YES_NO_OPTION: int
|
|
113
|
+
YES_NO_CANCEL_OPTION: int
|
|
114
|
+
OK_CANCEL_OPTION: int
|
|
115
|
+
CLOSED_OPTION: int
|
|
116
|
+
OK_OPTION: int
|
|
117
|
+
YES_OPTION: int
|
|
118
|
+
NO_OPTION: int
|
|
119
|
+
CANCEL_OPTION: int
|
|
120
|
+
@staticmethod
|
|
121
|
+
def showConfirmDialog(
|
|
122
|
+
parentComponent: Optional[Any],
|
|
123
|
+
message: Any,
|
|
124
|
+
title: Union[str, unicode, None] = ...,
|
|
125
|
+
optionType: Optional[int] = ...,
|
|
126
|
+
messageType: Optional[int] = ...,
|
|
127
|
+
icon: Optional[Icon] = ...,
|
|
128
|
+
) -> int: ...
|
|
129
|
+
@staticmethod
|
|
130
|
+
def showInputDialog(
|
|
131
|
+
parentComponent: Optional[Any],
|
|
132
|
+
message: Any,
|
|
133
|
+
title: Union[str, unicode, None] = ...,
|
|
134
|
+
messageType: Optional[int] = ...,
|
|
135
|
+
icon: Optional[Icon] = ...,
|
|
136
|
+
selectionValues: Optional[List[Any]] = ...,
|
|
137
|
+
initialSelectionValue: Optional[Any] = ...,
|
|
138
|
+
) -> Union[str, unicode]: ...
|
|
139
|
+
@staticmethod
|
|
140
|
+
def showMessageDialog(
|
|
141
|
+
parentComponent: Optional[Any],
|
|
142
|
+
message: Any,
|
|
143
|
+
title: Union[str, unicode, None] = ...,
|
|
144
|
+
messageType: Optional[int] = ...,
|
|
145
|
+
icon: Optional[Icon] = ...,
|
|
146
|
+
) -> None: ...
|
|
147
|
+
@staticmethod
|
|
148
|
+
def showOptionDialog(
|
|
149
|
+
parentComponent: Optional[Any],
|
|
150
|
+
message: Any,
|
|
151
|
+
title: Union[str, unicode, None] = ...,
|
|
152
|
+
optionType: Optional[int] = ...,
|
|
153
|
+
messageType: Optional[int] = ...,
|
|
154
|
+
icon: Optional[Icon] = ...,
|
|
155
|
+
options: Optional[List[Any]] = ...,
|
|
156
|
+
initialValue: Optional[Any] = ...,
|
|
157
|
+
) -> int: ...
|
|
158
|
+
|
|
159
|
+
class JPanel(JComponent):
|
|
160
|
+
def __init__(self, *args: Any) -> None: ...
|
|
161
|
+
|
|
162
|
+
class JToolTip(JComponent):
|
|
163
|
+
def __init__(self) -> None: ...
|
|
164
|
+
def getComponent(self) -> JComponent: ...
|
|
165
|
+
def getTipText(self) -> Union[str, unicode]: ...
|
|
166
|
+
|
|
167
|
+
class JPopupMenu(JComponent):
|
|
168
|
+
def __init__(self, label: Union[str, unicode, None] = ...) -> None: ...
|
|
169
|
+
|
|
170
|
+
class JRootPane(JComponent):
|
|
171
|
+
def __init__(self) -> None: ...
|
|
172
|
+
|
|
173
|
+
class JTextField(JTextComponent):
|
|
174
|
+
def __init__(self, *args: Any) -> None: ...
|
|
175
|
+
|
|
176
|
+
class JPasswordField(JTextField):
|
|
177
|
+
def __init__(self, *args: Any) -> None: ...
|
|
178
|
+
def copy(self) -> None: ...
|
|
179
|
+
def cut(self) -> None: ...
|
|
180
|
+
def echoCharIsSet(self) -> bool: ...
|
|
181
|
+
def getEchoChar(self) -> Union[str, unicode]: ...
|
|
182
|
+
def getPassword(self) -> Any: ...
|
|
183
|
+
def getText(self, *args: int) -> unicode: ...
|
|
184
|
+
def getUIClassID(self) -> Union[str, unicode]: ...
|
|
185
|
+
def setEchoChar(self, c: Union[str, unicode]) -> None: ...
|
|
186
|
+
def updateUI(self) -> None: ...
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from java.awt import AWTEvent, Component, Container
|
|
2
|
+
|
|
3
|
+
class AncestorEvent(AWTEvent):
|
|
4
|
+
ANCESTOR_ADDED: int
|
|
5
|
+
ANCESTOR_MOVED: int
|
|
6
|
+
ANCESTOR_REMOVED: int
|
|
7
|
+
def __init__(
|
|
8
|
+
self, source: Component, id: int, ancestor: Container, ancestorParent: Container
|
|
9
|
+
) -> None: ...
|
|
10
|
+
def getAncestor(self) -> Container: ...
|
|
11
|
+
def getAncestorParent(self) -> Container: ...
|
|
12
|
+
def getComponent(self) -> Component: ...
|
|
13
|
+
|
|
14
|
+
class AncestorListener:
|
|
15
|
+
def ancestorAdded(self, event: AncestorEvent) -> None: ...
|
|
16
|
+
def ancestorMoved(self, event: AncestorEvent) -> None: ...
|
|
17
|
+
def ancestorRemoved(self, event: AncestorEvent) -> None: ...
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from java.awt import Component, Graphics
|
|
2
|
+
from java.lang import Object
|
|
3
|
+
|
|
4
|
+
class ComponentUI(Object):
|
|
5
|
+
def __init__(self) -> None: ...
|
|
6
|
+
def contains(self, c: Component, x: int, y: int) -> bool: ...
|
|
7
|
+
def paint(self, g: Graphics, c: Component) -> None: ...
|
|
8
|
+
def update(self, g: Graphics, c: Component) -> None: ...
|
|
9
|
+
|
|
10
|
+
class DesktopPaneUI(ComponentUI):
|
|
11
|
+
def __init__(self) -> None: ...
|