Adds protected method #resetValues

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2284 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-04-07 19:48:39 +00:00 committed by gdombiak
parent 6155bf2227
commit 6c7d71e9ca
1 changed files with 10 additions and 0 deletions

View File

@ -263,6 +263,16 @@ public class FormField {
}
}
/**
* Removes all the values of the field.
*
*/
protected void resetValues() {
synchronized (values) {
values.removeAll(new ArrayList(values));
}
}
/**
* Adss an available options to the question that the user has in order to answer
* the question.