Home | Trees | Index | Help |
|
---|
Package formless :: Module annotate :: Class Typed |
|
object
--+
|
Typed
String
A typed value. Subclasses of Typed are constructed inside of TypedInterface class definitions to describe the types of properties, the parameter types to method calls, and method return types. label: The short label which will describe this parameter/proerties purpose to the user. description: A long description which further describes the sort of input the user is expected to provide. default: A default value that may be used as an initial value in the form. required: Whether the user is required to provide a value null: The value which will be produced if required is False and the user does not provide a value
Method Summary | |
---|---|
__init__(self,
label,
description,
default,
required,
requiredFailMessage,
null,
**attributes)
| |
coerce(self,
val,
configurable)
| |
getAttribute(self,
name,
default)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy formless.annotate.Typed...
|
MetaInterface |
__implements__ = <MetaInterface formless.iformless.IType...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
bool |
complexType = False
|
str |
requiredFailMessage = 'Please enter a value'
|
bool |
strip = False
|
Class Variable Details |
---|
__implemented__
|
__implements__
|
__providedBy__
|
__provides__
|
complexType
|
requiredFailMessage
|
strip
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jul 25 16:22:13 2005 | http://epydoc.sf.net |