Files
@ 49f72f9d4cc9
Branch filter:
Location: volker/graph_components/src/graph/interfaces.py - annotation
49f72f9d4cc9
648 B
text/x-python
Initial version
49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 49f72f9d4cc9 |
from zope.interface import Interface
# ADAPTER BASE CLASSES
class IBaseAdapter(Interface):
"""
Base of all adapters
"""
def __init__(self, obj):
"""
Gets an Object to be adapted
"""
class IAxis(Interface):
"""
Axis interface
"""
def __init__(self, parent):
"""
createed with knowledge of its parent component
"""
class ITickLabelAdapter(Interface):
"""
An adapter that produces tick labels for an axis
"""
class IViewBox(Interface):
"""
Container to display some components
"""
class IImage(Interface):
"""
Some xy data
"""
|