Source code for pyams_i18n.interfaces.widget

#
# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#

__docformat__ = 'restructuredtext'


# import standard library

# import interfaces
from z3c.form.interfaces import IWidget

# import packages


[docs]class II18nWidget(IWidget): """I18n base widget interface""" def set_mode(self, mode): """Set given mode to widget and all it's sub-widgets"""
[docs]class II18nTextLineWidget(II18nWidget): """I18n text line widget interface"""
[docs]class II18nSEOTextLineWidget(II18nTextLineWidget): """I18n text line widget wit SEO quality marker interface"""
[docs]class II18nTextWidget(II18nWidget): """I18n text widget interface"""
[docs]class II18nHTMLWidget(II18nWidget): """I18n HTML widget interface"""
[docs]class II18nFileWidget(II18nWidget): """I18n file widget interface"""