-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
28 lines (20 loc) · 646 Bytes
/
__init__.py
File metadata and controls
28 lines (20 loc) · 646 Bytes
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
__all__ = ["ComponentUI", "DesktopPaneUI"]
from java.awt import Component, Graphics
from java.lang import Object
class ComponentUI(Object):
def __init__(self):
# type: () -> None
super(ComponentUI, self).__init__()
def contains(self, c, x, y):
# type: (Component, int, int) -> bool
return True
def paint(self, g, c):
# type: (Graphics, Component) -> None
pass
def update(self, g, c):
# type: (Graphics, Component) -> None
pass
class DesktopPaneUI(ComponentUI):
def __init__(self):
# type: () -> None
super(DesktopPaneUI, self).__init__()