From a9f712be2f7374df66c5d149680101e1a510ffea Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Mon, 26 Apr 2004 02:34:29 +0000 Subject: [PATCH] New constructor for fields of type FIXED git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2300 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/FormField.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/org/jivesoftware/smackx/FormField.java b/source/org/jivesoftware/smackx/FormField.java index 76717212c..244791a56 100644 --- a/source/org/jivesoftware/smackx/FormField.java +++ b/source/org/jivesoftware/smackx/FormField.java @@ -91,6 +91,15 @@ public class FormField { this.variable = variable; } + /** + * Creates a new FormField of type FIXED. The fields of type FIXED do not define a variable + * name. + * + */ + public FormField() { + this.type = FormField.TYPE_FIXED; + } + /** * Returns a description that provides extra clarification about the question. This information * could be presented to the user either in tool-tip, help button, or as a section of text