1# -*- coding: utf-8 -*- 2# Copyright (C) 2006-2007 Søren Roug, European Environment Agency 3# 4# This library is free software; you can redistribute it and/or 5# modify it under the terms of the GNU Lesser General Public 6# License as published by the Free Software Foundation; either 7# version 2.1 of the License, or (at your option) any later version. 8# 9# This library is distributed in the hope that it will be useful, 10# but WITHOUT ANY WARRANTY; without even the implied warranty of 11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12# Lesser General Public License for more details. 13# 14# You should have received a copy of the GNU Lesser General Public 15# License along with this library; if not, write to the Free Software 16# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17# 18# Contributor(s): 19# 20 21 22from .namespaces import FORMNS 23from .element import Element 24 25 26# Autogenerated 27def Button(**args): 28 return Element(qname=(FORMNS,'button'), **args) 29 30 31def Checkbox(**args): 32 return Element(qname=(FORMNS,'checkbox'), **args) 33 34 35def Column(**args): 36 return Element(qname=(FORMNS,'column'), **args) 37 38 39def Combobox(**args): 40 return Element(qname=(FORMNS,'combobox'), **args) 41 42 43def ConnectionResource(**args): 44 return Element(qname=(FORMNS,'connection-resource'), **args) 45 46 47def Date(**args): 48 return Element(qname=(FORMNS,'date'), **args) 49 50 51def File(**args): 52 return Element(qname=(FORMNS,'file'), **args) 53 54 55def FixedText(**args): 56 return Element(qname=(FORMNS,'fixed-text'), **args) 57 58 59def Form(**args): 60 return Element(qname=(FORMNS,'form'), **args) 61 62 63def FormattedText(**args): 64 return Element(qname=(FORMNS,'formatted-text'), **args) 65 66 67def Frame(**args): 68 return Element(qname=(FORMNS,'frame'), **args) 69 70 71def GenericControl(**args): 72 return Element(qname=(FORMNS,'generic-control'), **args) 73 74 75def Grid(**args): 76 return Element(qname=(FORMNS,'grid'), **args) 77 78 79def Hidden(**args): 80 return Element(qname=(FORMNS,'hidden'), **args) 81 82 83def Image(**args): 84 return Element(qname=(FORMNS,'image'), **args) 85 86 87def ImageFrame(**args): 88 return Element(qname=(FORMNS,'image-frame'), **args) 89 90 91def Item(**args): 92 return Element(qname=(FORMNS,'item'), **args) 93 94 95def ListProperty(**args): 96 return Element(qname=(FORMNS,'list-property'), **args) 97 98 99def ListValue(**args): 100 return Element(qname=(FORMNS,'list-value'), **args) 101 102 103def Listbox(**args): 104 return Element(qname=(FORMNS,'listbox'), **args) 105 106 107def Number(**args): 108 return Element(qname=(FORMNS,'number'), **args) 109 110 111def Option(**args): 112 return Element(qname=(FORMNS,'option'), **args) 113 114 115def Password(**args): 116 return Element(qname=(FORMNS,'password'), **args) 117 118 119def Properties(**args): 120 return Element(qname=(FORMNS,'properties'), **args) 121 122 123def Property(**args): 124 return Element(qname=(FORMNS,'property'), **args) 125 126 127def Radio(**args): 128 return Element(qname=(FORMNS,'radio'), **args) 129 130 131def Text(**args): 132 return Element(qname=(FORMNS,'text'), **args) 133 134 135def Textarea(**args): 136 return Element(qname=(FORMNS,'textarea'), **args) 137 138 139def Time(**args): 140 return Element(qname=(FORMNS,'time'), **args) 141 142 143def ValueRange(**args): 144 return Element(qname=(FORMNS,'value-range'), **args) 145