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 | |
---|---|
MetaInterface |
__implements__ = formless.iformless.ITyped |
bool |
complexType = False
|
str |
requiredFailMessage = 'Please enter a value'
|
bool |
strip = False
|
Class Variable Details |
---|
complexType
|
requiredFailMessage
|
strip
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri May 6 14:58:10 2005 | http://epydoc.sf.net |