java-api-stubs 17.25.0__tar.gz
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_api_stubs-17.25.0/CHANGELOG.md +19 -0
- java_api_stubs-17.25.0/LICENSE +21 -0
- java_api_stubs-17.25.0/MANIFEST.in +1 -0
- java_api_stubs-17.25.0/PKG-INFO +100 -0
- java_api_stubs-17.25.0/README.md +69 -0
- java_api_stubs-17.25.0/pyproject.toml +48 -0
- java_api_stubs-17.25.0/setup.cfg +4 -0
- java_api_stubs-17.25.0/stubs/java/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/java/awt/__init__.pyi +95 -0
- java_api_stubs-17.25.0/stubs/java/awt/event/__init__.pyi +87 -0
- java_api_stubs-17.25.0/stubs/java/awt/geom/__init__.pyi +38 -0
- java_api_stubs-17.25.0/stubs/java/awt/image/__init__.pyi +6 -0
- java_api_stubs-17.25.0/stubs/java/awt/print/__init__.pyi +32 -0
- java_api_stubs-17.25.0/stubs/java/beans/__init__.pyi +20 -0
- java_api_stubs-17.25.0/stubs/java/io/__init__.pyi +155 -0
- java_api_stubs-17.25.0/stubs/java/lang/__init__.pyi +260 -0
- java_api_stubs-17.25.0/stubs/java/lang/reflect/__init__.pyi +4 -0
- java_api_stubs-17.25.0/stubs/java/math/__init__.pyi +41 -0
- java_api_stubs-17.25.0/stubs/java/net/__init__.pyi +178 -0
- java_api_stubs-17.25.0/stubs/java/net/http/__init__.pyi +5 -0
- java_api_stubs-17.25.0/stubs/java/nio/__init__.pyi +196 -0
- java_api_stubs-17.25.0/stubs/java/nio/channels/__init__.pyi +127 -0
- java_api_stubs-17.25.0/stubs/java/nio/charset/__init__.pyi +59 -0
- java_api_stubs-17.25.0/stubs/java/nio/file/__init__.pyi +328 -0
- java_api_stubs-17.25.0/stubs/java/nio/file/attribute/__init__.pyi +57 -0
- java_api_stubs-17.25.0/stubs/java/org/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/java/org/jdesktop/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/java/org/jdesktop/core/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/java/org/jdesktop/core/animation/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/java/org/jdesktop/core/animation/timing/__init__.pyi +6 -0
- java_api_stubs-17.25.0/stubs/java/py.typed +0 -0
- java_api_stubs-17.25.0/stubs/java/security/__init__.pyi +11 -0
- java_api_stubs-17.25.0/stubs/java/text/__init__.pyi +211 -0
- java_api_stubs-17.25.0/stubs/java/time/__init__.pyi +233 -0
- java_api_stubs-17.25.0/stubs/java/time/chrono/__init__.pyi +103 -0
- java_api_stubs-17.25.0/stubs/java/time/format/__init__.pyi +44 -0
- java_api_stubs-17.25.0/stubs/java/time/temporal/__init__.pyi +148 -0
- java_api_stubs-17.25.0/stubs/java/util/__init__.pyi +530 -0
- java_api_stubs-17.25.0/stubs/java/util/concurrent/__init__.pyi +57 -0
- java_api_stubs-17.25.0/stubs/java/util/function/__init__.pyi +51 -0
- java_api_stubs-17.25.0/stubs/java/util/regex/__init__.pyi +73 -0
- java_api_stubs-17.25.0/stubs/java/util/stream/__init__.pyi +45 -0
- java_api_stubs-17.25.0/stubs/java_api_stubs.egg-info/PKG-INFO +100 -0
- java_api_stubs-17.25.0/stubs/java_api_stubs.egg-info/SOURCES.txt +52 -0
- java_api_stubs-17.25.0/stubs/java_api_stubs.egg-info/dependency_links.txt +1 -0
- java_api_stubs-17.25.0/stubs/java_api_stubs.egg-info/top_level.txt +2 -0
- java_api_stubs-17.25.0/stubs/javax/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/javax/py.typed +0 -0
- java_api_stubs-17.25.0/stubs/javax/security/__init__.pyi +0 -0
- java_api_stubs-17.25.0/stubs/javax/security/auth/__init__.pyi +6 -0
- java_api_stubs-17.25.0/stubs/javax/swing/__init__.pyi +186 -0
- java_api_stubs-17.25.0/stubs/javax/swing/event/__init__.pyi +17 -0
- java_api_stubs-17.25.0/stubs/javax/swing/plaf/__init__.pyi +11 -0
- java_api_stubs-17.25.0/stubs/javax/swing/text/__init__.pyi +7 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## 17.25.0 (2025-12-16)
|
|
2
|
+
|
|
3
|
+
## 17.25.0b6 (2025-12-10)
|
|
4
|
+
|
|
5
|
+
## 17.25.0b5 (2025-12-08)
|
|
6
|
+
|
|
7
|
+
## 17.25.0b4 (2025-12-08)
|
|
8
|
+
|
|
9
|
+
## 17.25.0b3 (2025-12-08)
|
|
10
|
+
|
|
11
|
+
## 17.25.0b2 (2025-12-08)
|
|
12
|
+
|
|
13
|
+
## 17.25.0b1 (2025-12-05)
|
|
14
|
+
|
|
15
|
+
### Refactor
|
|
16
|
+
|
|
17
|
+
- **java**: set class attribute constants (#1)
|
|
18
|
+
|
|
19
|
+
## 17.25.0b0 (2025-12-05)
|
|
@@ -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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include CHANGELOG.md
|
|
@@ -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,69 @@
|
|
|
1
|
+
# java-api-stubs
|
|
2
|
+
|
|
3
|
+
<!--- Badges --->
|
|
4
|
+
[](https://pypi.org/project/java-api-stubs/)
|
|
5
|
+
[](https://pypi.org/project/java-api-stubs/)
|
|
6
|
+
[](https://pepy.tech/project/java-api-stubs)
|
|
7
|
+
[](https://github.com/orgs/ignition-devs/discussions)
|
|
8
|
+
|
|
9
|
+
This package contains a collection of [stubs] for [`java-api`]. These
|
|
10
|
+
files were generated using `mypy`'s [`stubgen`].
|
|
11
|
+
|
|
12
|
+
## Installation and usage
|
|
13
|
+
|
|
14
|
+
To use java-api-stubs, you may install it with `pip`. It requires Python
|
|
15
|
+
3.7 through 3.12.
|
|
16
|
+
|
|
17
|
+
> [!WARNING]
|
|
18
|
+
> Python 3.13 will not be supported.
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
python3 -m pip install \
|
|
22
|
+
java-api-stubs \
|
|
23
|
+
"mypy[python2]==0.971"
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
To run `mypy` against your code, execute the following command passing the
|
|
27
|
+
source directory (typically `src`) or a single file:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
mypy --py2 src
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Or
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
mypy --py2 code.py
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Contributing
|
|
40
|
+
|
|
41
|
+
See [CONTRIBUTING.md].
|
|
42
|
+
|
|
43
|
+
## Discussions
|
|
44
|
+
|
|
45
|
+
Feel free to post your questions and/or ideas at [Discussions].
|
|
46
|
+
|
|
47
|
+
## Contributors
|
|
48
|
+
|
|
49
|
+
Thanks to everyone who has contributed to this project.
|
|
50
|
+
|
|
51
|
+
Up-to-date list of [contributors].
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
See the [LICENSE].
|
|
56
|
+
|
|
57
|
+
## Code of conduct
|
|
58
|
+
|
|
59
|
+
See [CODE_OF_CONDUCT.md].
|
|
60
|
+
|
|
61
|
+
<!-- Links -->
|
|
62
|
+
[CODE_OF_CONDUCT.md]: https://github.com/ignition-devs/.github/blob/main/CODE_OF_CONDUCT.md
|
|
63
|
+
[CONTRIBUTING.md]: https://github.com/ignition-devs/java-api/blob/main/CONTRIBUTING.md
|
|
64
|
+
[contributors]: https://github.com/ignition-devs/java-api/graphs/contributors
|
|
65
|
+
[Discussions]: https://github.com/orgs/ignition-devs/discussions
|
|
66
|
+
[`java-api`]: https://github.com/ignition-devs/java-api
|
|
67
|
+
[LICENSE]: https://github.com/ignition-devs/java-api/blob/main/LICENSE
|
|
68
|
+
[`stubgen`]: https://coatl-mypy.readthedocs.io/en/v0.971/stubgen.html
|
|
69
|
+
[stubs]: https://www.python.org/dev/peps/pep-484/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
build-backend = "setuptools.build_meta"
|
|
3
|
+
requires = [
|
|
4
|
+
"setuptools",
|
|
5
|
+
]
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "java-api-stubs"
|
|
9
|
+
version = "17.25.0"
|
|
10
|
+
description = "Java 17 API Specification stubs for ignition-api"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
keywords = [
|
|
13
|
+
"coatl.dev",
|
|
14
|
+
"ignition",
|
|
15
|
+
"inductive automation",
|
|
16
|
+
"java",
|
|
17
|
+
]
|
|
18
|
+
license = "MIT"
|
|
19
|
+
authors = [ { name = "César Román", email = "cesar@coatl.dev" } ]
|
|
20
|
+
requires-python = ">=3.9,<3.13"
|
|
21
|
+
classifiers = [
|
|
22
|
+
"Development Status :: 5 - Production/Stable",
|
|
23
|
+
"Intended Audience :: Developers",
|
|
24
|
+
"Intended Audience :: Information Technology",
|
|
25
|
+
"Intended Audience :: Manufacturing",
|
|
26
|
+
"Operating System :: MacOS :: MacOS X",
|
|
27
|
+
"Operating System :: Microsoft :: Windows",
|
|
28
|
+
"Operating System :: POSIX :: Linux",
|
|
29
|
+
"Programming Language :: Python",
|
|
30
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
31
|
+
"Programming Language :: Python :: 3.9",
|
|
32
|
+
"Programming Language :: Python :: 3.10",
|
|
33
|
+
"Programming Language :: Python :: 3.11",
|
|
34
|
+
"Programming Language :: Python :: 3.12",
|
|
35
|
+
"Typing :: Stubs Only",
|
|
36
|
+
"Typing :: Typed",
|
|
37
|
+
]
|
|
38
|
+
urls.Funding = "https://github.com/sponsors/cesarcoatl"
|
|
39
|
+
urls.Homepage = "https://github.com/ignition-devs/java-api"
|
|
40
|
+
urls.Source = "https://github.com/ignition-devs/java-api/tree/main"
|
|
41
|
+
urls.Tracker = "https://github.com/ignition-devs/java-api/issues"
|
|
42
|
+
|
|
43
|
+
[tool.setuptools]
|
|
44
|
+
include-package-data = true
|
|
45
|
+
package-dir = { "" = "stubs" }
|
|
46
|
+
|
|
47
|
+
[tool.setuptools.package-data]
|
|
48
|
+
"*" = [ "*.pyi", "py.typed" ]
|
|
File without changes
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
from typing import Any, Optional, Union
|
|
2
|
+
|
|
3
|
+
from java.awt.geom import Dimension2D, Point2D
|
|
4
|
+
from java.lang import Object
|
|
5
|
+
from java.util import EventObject
|
|
6
|
+
|
|
7
|
+
class LayoutManager:
|
|
8
|
+
def addLayoutComponent(
|
|
9
|
+
self, name: Union[str, unicode], comp: Component
|
|
10
|
+
) -> None: ...
|
|
11
|
+
def layoutContainer(self, parent: Container) -> None: ...
|
|
12
|
+
def minimumLayoutSize(self, parent: Container) -> Dimension: ...
|
|
13
|
+
def preferredLayoutSize(self, parent: Container) -> Dimension: ...
|
|
14
|
+
def removeLayoutComponent(self, comp: Component) -> None: ...
|
|
15
|
+
|
|
16
|
+
class AWTEvent(EventObject):
|
|
17
|
+
def __init__(self, source: Object, id: int) -> None: ...
|
|
18
|
+
def getID(self) -> int: ...
|
|
19
|
+
def paramString(self) -> Union[str, unicode]: ...
|
|
20
|
+
def setSource(self, newSource: Object) -> None: ...
|
|
21
|
+
|
|
22
|
+
class Color(Object):
|
|
23
|
+
def __init__(self, *args: Any) -> None: ...
|
|
24
|
+
|
|
25
|
+
class Component(Object):
|
|
26
|
+
def imageUpdate(
|
|
27
|
+
self, img: Image, infoflags: int, x: int, y: int, width: int, height: int
|
|
28
|
+
) -> bool: ...
|
|
29
|
+
|
|
30
|
+
class Container(Component):
|
|
31
|
+
def add(self, *args: Any) -> Optional[Component]: ...
|
|
32
|
+
|
|
33
|
+
class Dimension(Dimension2D):
|
|
34
|
+
height: int
|
|
35
|
+
width: int
|
|
36
|
+
def __init__(self, *args: Any) -> None: ...
|
|
37
|
+
def getHeight(self) -> float: ...
|
|
38
|
+
def getSize(self) -> Dimension: ...
|
|
39
|
+
def getWidth(self) -> float: ...
|
|
40
|
+
def setSize(self, *args: Any) -> None: ...
|
|
41
|
+
|
|
42
|
+
class Image(Object):
|
|
43
|
+
def flush(self) -> None: ...
|
|
44
|
+
def getAccelerationPriority(self) -> float: ...
|
|
45
|
+
def setAccelerationPriority(self, priority: float) -> None: ...
|
|
46
|
+
|
|
47
|
+
class Point(Point2D):
|
|
48
|
+
x: int
|
|
49
|
+
y: int
|
|
50
|
+
def __init__(self, *args: Any) -> None: ...
|
|
51
|
+
def getLocation(self) -> Point: ...
|
|
52
|
+
def getX(self) -> float: ...
|
|
53
|
+
def getY(self) -> float: ...
|
|
54
|
+
def move(self, x: int, y: int) -> None: ...
|
|
55
|
+
def setLocation(self, *args: Any) -> None: ...
|
|
56
|
+
def translate(self, dx: int, dy: int) -> None: ...
|
|
57
|
+
|
|
58
|
+
class Toolkit(Object):
|
|
59
|
+
def __init__(self) -> None: ...
|
|
60
|
+
def beep(self) -> None: ...
|
|
61
|
+
@staticmethod
|
|
62
|
+
def getDefaultToolkit() -> Toolkit: ...
|
|
63
|
+
|
|
64
|
+
class Window(Container):
|
|
65
|
+
def __init__(self, *args: Any) -> None: ...
|
|
66
|
+
|
|
67
|
+
class Frame(Window):
|
|
68
|
+
def __init__(self, *args: Any) -> None: ...
|
|
69
|
+
|
|
70
|
+
class Graphics(Object):
|
|
71
|
+
def create(self) -> Graphics: ...
|
|
72
|
+
|
|
73
|
+
class GridLayout(Object, LayoutManager):
|
|
74
|
+
def __init__(
|
|
75
|
+
self,
|
|
76
|
+
rows: Optional[int] = ...,
|
|
77
|
+
cols: Optional[int] = ...,
|
|
78
|
+
hgap: Optional[int] = ...,
|
|
79
|
+
vgap: Optional[int] = ...,
|
|
80
|
+
) -> None: ...
|
|
81
|
+
def addLayoutComponent(
|
|
82
|
+
self, name: Union[str, unicode], comp: Component
|
|
83
|
+
) -> None: ...
|
|
84
|
+
def getColumns(self) -> int: ...
|
|
85
|
+
def getHgap(self) -> int: ...
|
|
86
|
+
def getRows(self) -> int: ...
|
|
87
|
+
def getVgap(self) -> int: ...
|
|
88
|
+
def layoutContainer(self, parent: Container) -> None: ...
|
|
89
|
+
def minimumLayoutSize(self, parent: Container) -> Dimension: ...
|
|
90
|
+
def preferredLayoutSize(self, parent: Container) -> Dimension: ...
|
|
91
|
+
def removeLayoutComponent(self, comp: Component) -> None: ...
|
|
92
|
+
def setColumns(self, cols: int) -> None: ...
|
|
93
|
+
def setHgap(self, hgap: int) -> None: ...
|
|
94
|
+
def setRows(self, rows: int) -> None: ...
|
|
95
|
+
def setVgap(self, vgap: int) -> None: ...
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
from typing import Any, Union
|
|
2
|
+
|
|
3
|
+
from java.awt import AWTEvent, Component, Point
|
|
4
|
+
from java.lang import Object
|
|
5
|
+
|
|
6
|
+
class ActionEvent(AWTEvent):
|
|
7
|
+
ACTION_FIRST: int
|
|
8
|
+
ACTION_LAST: int
|
|
9
|
+
ACTION_PERFORMED: int
|
|
10
|
+
ACTION_MASK: int
|
|
11
|
+
CTRL_MASK: int
|
|
12
|
+
META_MASK: int
|
|
13
|
+
SHIFT_MASK: int
|
|
14
|
+
def __init__(self, source: Object, id: int, *args: Any) -> None: ...
|
|
15
|
+
def getActionCommand(self) -> Union[str, unicode]: ...
|
|
16
|
+
def getModifiers(self) -> int: ...
|
|
17
|
+
def getWhen(self) -> long: ...
|
|
18
|
+
|
|
19
|
+
class ComponentEvent(AWTEvent):
|
|
20
|
+
COMPONENT_FIRST: int
|
|
21
|
+
COMPONENT_HIDDEN: int
|
|
22
|
+
COMPONENT_LAST: int
|
|
23
|
+
COMPONENT_MOVED: int
|
|
24
|
+
COMPONENT_RESIZED: int
|
|
25
|
+
COMPONENT_SHOWN: int
|
|
26
|
+
def __init__(self, source: Object, id: int) -> None: ...
|
|
27
|
+
def getComponent(self) -> Component: ...
|
|
28
|
+
|
|
29
|
+
class InputEvent(ComponentEvent):
|
|
30
|
+
ALT_DOWN_MASK: int
|
|
31
|
+
ALT_GRAPH_DOWN_MASK: int
|
|
32
|
+
ALT_GRAPH_MASL: int
|
|
33
|
+
ALT_MASK: int
|
|
34
|
+
BUTTON1_DOWN_MASK: int
|
|
35
|
+
BUTTOM1_MASK: int
|
|
36
|
+
BUTTON2_DOWN_MASK: int
|
|
37
|
+
BUTTON2_MASK: int
|
|
38
|
+
BUTTON3_DOWN_MASK: int
|
|
39
|
+
BUTTON3_MASK: int
|
|
40
|
+
CTRL_DOWN_MASK: int
|
|
41
|
+
CTRL_MASK: int
|
|
42
|
+
META_DOWN_MASK: int
|
|
43
|
+
META_MASK: int
|
|
44
|
+
SHIFT_DOWN_MASK: int
|
|
45
|
+
SHIFT_MASK: int
|
|
46
|
+
def consume(self) -> None: ...
|
|
47
|
+
@staticmethod
|
|
48
|
+
def getMaskForButton(button: int) -> int: ...
|
|
49
|
+
def getModifiersEx(self) -> int: ...
|
|
50
|
+
@staticmethod
|
|
51
|
+
def getModifiersExText(modifiers: int) -> Union[str, unicode]: ...
|
|
52
|
+
def getWhen(self) -> long: ...
|
|
53
|
+
def isAltDown(self) -> bool: ...
|
|
54
|
+
def isAltGraphDown(self) -> bool: ...
|
|
55
|
+
def isConsumed(self) -> bool: ...
|
|
56
|
+
def isControlDown(self) -> bool: ...
|
|
57
|
+
def isMetaDown(self) -> bool: ...
|
|
58
|
+
def isShiftDown(self) -> bool: ...
|
|
59
|
+
|
|
60
|
+
class MouseEvent(InputEvent):
|
|
61
|
+
BUTTON1: int
|
|
62
|
+
BUTTON2: int
|
|
63
|
+
BUTTON3: int
|
|
64
|
+
MOUSE_CLICKED: int
|
|
65
|
+
MOUSE_DRAGGED: int
|
|
66
|
+
MOUSE_ENTERED: int
|
|
67
|
+
MOUSE_EXITED: int
|
|
68
|
+
MOUSE_FIRST: int
|
|
69
|
+
MOUSE_LAST: int
|
|
70
|
+
MOUSE_MOVED: int
|
|
71
|
+
MOUSE_PRESSED: int
|
|
72
|
+
MOUSE_RELEASED: int
|
|
73
|
+
MOUSE_WHEEL: int
|
|
74
|
+
NOBUTTON: int
|
|
75
|
+
def __init__(self, source: Component, id: int, *args: Any) -> None: ...
|
|
76
|
+
def getButton(self) -> int: ...
|
|
77
|
+
def getClickCount(self) -> int: ...
|
|
78
|
+
def getLocationOnScreen(self) -> Point: ...
|
|
79
|
+
@staticmethod
|
|
80
|
+
def getMouseModifiersText(modifiers: int) -> Union[str, unicode]: ...
|
|
81
|
+
def getPoint(self) -> Point: ...
|
|
82
|
+
def getX(self) -> int: ...
|
|
83
|
+
def getXOnScreen(self) -> int: ...
|
|
84
|
+
def getY(self) -> int: ...
|
|
85
|
+
def getYOnScreen(self) -> int: ...
|
|
86
|
+
def isPopupTrigger(self) -> bool: ...
|
|
87
|
+
def translatePoint(self, x: int, y: int) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
class Dimension2D(Object):
|
|
6
|
+
def getHeight(self) -> float: ...
|
|
7
|
+
def getWidth(self) -> float: ...
|
|
8
|
+
def setSize(self, *args: Any) -> None: ...
|
|
9
|
+
|
|
10
|
+
class Point2D(Object):
|
|
11
|
+
class Double(Object):
|
|
12
|
+
x: float
|
|
13
|
+
y: float
|
|
14
|
+
def __init__(self, x: float = ..., y: float = ...) -> None: ...
|
|
15
|
+
def clone(self) -> Object: ...
|
|
16
|
+
def distance(self, *args: Any) -> float: ...
|
|
17
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
18
|
+
def getX(self) -> float: ...
|
|
19
|
+
def getY(self) -> float: ...
|
|
20
|
+
def setLocation(self, x: float, y: float) -> None: ...
|
|
21
|
+
|
|
22
|
+
class Float(Object):
|
|
23
|
+
x: float
|
|
24
|
+
y: float
|
|
25
|
+
def __init__(self, x: float = ..., y: float = ...) -> None: ...
|
|
26
|
+
def clone(self) -> Object: ...
|
|
27
|
+
def distance(self, *args: Any) -> float: ...
|
|
28
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
29
|
+
def getX(self) -> float: ...
|
|
30
|
+
def getY(self) -> float: ...
|
|
31
|
+
def setLocation(self, x: float, y: float) -> None: ...
|
|
32
|
+
|
|
33
|
+
def clone(self) -> Object: ...
|
|
34
|
+
def distance(self, *args: Any) -> float: ...
|
|
35
|
+
def distanceSq(self, *args: Any) -> float: ...
|
|
36
|
+
def getX(self) -> float: ...
|
|
37
|
+
def getY(self) -> float: ...
|
|
38
|
+
def setLocation(self, *args: Any) -> None: ...
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from typing import List
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
|
|
5
|
+
class PageFormat(Object):
|
|
6
|
+
LANDSCAPE: int
|
|
7
|
+
PORTRAIT: int
|
|
8
|
+
REVERSE_LANDSCAPE: int
|
|
9
|
+
def clone(self) -> Object: ...
|
|
10
|
+
def getHeight(self) -> float: ...
|
|
11
|
+
def getImageableHeight(self) -> float: ...
|
|
12
|
+
def getImageableWidth(self) -> float: ...
|
|
13
|
+
def getImageableX(self) -> float: ...
|
|
14
|
+
def getImageableY(self) -> float: ...
|
|
15
|
+
def getMatrix(self) -> List[float]: ...
|
|
16
|
+
def getOrientation(self) -> int: ...
|
|
17
|
+
def getPaper(self) -> Paper: ...
|
|
18
|
+
def setOrientation(self, orientation: int) -> None: ...
|
|
19
|
+
def setPaper(self, paper: Paper) -> None: ...
|
|
20
|
+
|
|
21
|
+
class Paper(Object):
|
|
22
|
+
def clone(self) -> Object: ...
|
|
23
|
+
def getHeight(self) -> float: ...
|
|
24
|
+
def getImageableHeight(self) -> float: ...
|
|
25
|
+
def getImageableWidth(self) -> float: ...
|
|
26
|
+
def getImageableX(self) -> float: ...
|
|
27
|
+
def getImageableY(self) -> float: ...
|
|
28
|
+
def getWidth(self) -> float: ...
|
|
29
|
+
def setImageableArea(
|
|
30
|
+
self, x: float, y: float, width: float, height: float
|
|
31
|
+
) -> None: ...
|
|
32
|
+
def setSize(self, width: float, height: float) -> None: ...
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
|
|
3
|
+
from java.lang import Object
|
|
4
|
+
from java.util import EventObject
|
|
5
|
+
|
|
6
|
+
class PropertyChangeEvent(EventObject):
|
|
7
|
+
def __init__(
|
|
8
|
+
self,
|
|
9
|
+
source: Object,
|
|
10
|
+
propertyName: Union[str, unicode],
|
|
11
|
+
oldValue: Object,
|
|
12
|
+
newValue: Object,
|
|
13
|
+
) -> None: ...
|
|
14
|
+
def getNewValue(self) -> Object: ...
|
|
15
|
+
def getOldValue(self) -> Object: ...
|
|
16
|
+
def getPropagationId(self) -> Object: ...
|
|
17
|
+
def setPropagationId(self, propagationId: Object) -> None: ...
|
|
18
|
+
|
|
19
|
+
class PropertyChangeListener:
|
|
20
|
+
def propertyChange(self, evt: PropertyChangeEvent) -> None: ...
|