[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/browser -
widget.py:1.1.2.2
Dave Fregon
axxs at axxs.org
Sat Feb 7 23:58:25 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interfaces/browser
In directory cvs.zope.org:/tmp/cvs-serv2155/src/zope/app/interfaces/browser
Modified Files:
Tag: ozzope-widgets-branch
widget.py
Log Message:
Setup of interfaces for widgets
=== Zope3/src/zope/app/interfaces/browser/widget.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/browser/widget.py:1.1.2.1 Sat Feb 7 21:56:26 2004
+++ Zope3/src/zope/app/interfaces/browser/widget.py Sat Feb 7 23:58:25 2004
@@ -12,3 +12,128 @@
extra = Attribute("XXX - needs documentation")
default = Attribute("XXX - needs documentation")
+
+
+class ITextWidget(IBrowserWidget, IEditWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+ displayMaxWidth = Attribute("XXX - needs documentation")
+ extra = Attribute("XXX - needs documentation")
+ default = Attribute("XXX - needs documentation")
+
+
+class IIntWidget(IBrowserWidget, IEditWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class IFloatWidget(IBrowserWidget, IEditWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class IBytesWidget(ITextWidget):
+
+ """Single line data (string) input."""
+
+
+class IASCIIWidget(IBytesWidget):
+
+ """Single line data (string) input."""
+
+
+class IFloatWidget(ITextWidget):
+
+ """Single line data (string) input."""
+
+
+class IIntWidget(ITextWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class IDatetimeWidget(ITextWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class IDateWidget(ITextWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class ITextAreaWidget(IBrowserWidget, IEditWidget):
+
+ width = Attribute("XXX - needs documentation")
+ height = Attribute("XXX - needs documentation")
+ extra = Attribute("XXX - needs documentation")
+
+
+class IBytesAreaWidget(ITextAreaWidget):
+
+ """Multi-line string input."""
+
+
+class IPasswordWidget(ITextWidget):
+
+ displayWidth = Attribute("XXX - needs documentation")
+
+
+class IFileWidget(ITextWidget):
+
+ displayMaxWidth = Attribute("XXX - needs documentation")
+
+
+class IItemsWidget(IBrowserWidget, IEditWidget):
+
+ """Widget that holds a number of items"""
+
+class ISingleItemsWidget(IItemsWidget):
+
+ default = Attribute("XXX - needs documentation")
+ firstItem = Attribute("XXX - needs documentation")
+
+class IListWidget(ISingleItemsWidget):
+
+ firstItem = Attribute("XXX - needs documentation")
+ items = Attribute("XXX - needs documentation")
+ size = Attribute("XXX - needs documentation")
+ extra = Attribute("XXX - needs documentation")
+
+
+class IRadioWidget(ISingleItemsWidget):
+
+ firstItem = Attribute("XXX - needs documentation")
+ orientation = Attribute("XXX - needs documentation")
+
+
+class IMultiItemsWidget(IItemsWidget):
+
+ default = Attribute("XXX - needs documentation")
+
+
+class IMultiListWidget(IMultiItemsWidget):
+
+ size = Attribute("XXX - needs documentation")
+ extra = Attribute("XXX - needs documentation")
+
+
+class IMultiCheckBoxWidget(IMultiItemsWidget):
+
+ orientation = Attribute("XXX - needs documentation")
+
+
+class ISequenceWidget(IBrowserWidget, IEditWidget):
+
+ orientation = Attribute("XXX - needs documentation")
+
+class IListSequenceWidget(ISequenceWidget):
+
+ """XXX - needs documentation"""
+
+
+class IObjectWidget(IBrowserWidget, IEditWidget):
+
+ orientation = Attribute("XXX - needs documentation")
+
+
More information about the Zope3-Checkins
mailing list