FooWindowManager.py 1/7
[top][prev][next]
from WindowManager import WindowManager
class FooWindowManager(WindowManager):
"""Class FooWindowManager
"""
# Attributes:
# Operations
FooWindow.py 2/7
[top][prev][next]
from Window import Window
class FooWindow(Window):
"""Class FooWindow
"""
# Attributes:
# Operations
def redraw(self):
"""function redraw
returns void
"""
return None # should raise NotImplementedError()
Point.py 3/7
[top][prev][next]
class Point:
"""Class Point
"""
# Attributes:
__x = None # (float)
__y = None # (float)
# Operations
def Point(self, x, y):
"""function Point
x: float
y: float
returns
"""
return None # should raise NotImplementedError()
def getX(self):
"""function getX
returns float
"""
return None # should raise NotImplementedError()
def getY(self):
"""function getY
returns float
"""
return None # should raise NotImplementedError()
Rectangle.py 4/7
[top][prev][next]
from Point import Point
from Shape import Shape
class Rectangle(Shape):
"""Class Rectangle
"""
# Attributes:
# Operations
def getArea(self):
"""function getArea
returns float
"""
return None # should raise NotImplementedError()
Shape.py 5/7
[top][prev][next]
class Shape:
"""Abstract class Shape
"""
# Attributes:
# Operations
def getArea(self):
"""function getArea
returns float
"""
raise NotImplementedError()
WindowManager.py 6/7
[top][prev][next]
from Window import Window
class WindowManager:
"""Abstract class WindowManager
"""
# Attributes:
# Operations
Window.py 7/7
[top][prev][next]
from Shape import Shape
class Window:
"""Abstract class Window
"""
# Attributes:
__visualrep = None # (Shape)
# Operations
def redraw(self):
"""function redraw
returns void
"""
raise NotImplementedError()
Generated by GNU enscript 1.6.1.