|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.ChatRoomConfigurationFormFieldJabberImpl
public class ChatRoomConfigurationFormFieldJabberImpl
The Jabber protocol implementation of the ChatRoomConfigurationFormField. This implementation is based on the smack Form and FormField types.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.protocol.ChatRoomConfigurationFormField |
|---|
TYPE_BOOLEAN, TYPE_LIST_MULTI, TYPE_LIST_SINGLE, TYPE_TEXT_FIXED, TYPE_TEXT_MULTI, TYPE_TEXT_PRIVATE, TYPE_TEXT_SINGLE, TYPE_UNDEFINED |
| Constructor Summary | |
|---|---|
ChatRoomConfigurationFormFieldJabberImpl(org.jivesoftware.smackx.FormField formField,
org.jivesoftware.smackx.Form submitForm)
Creates an instance of ChatRoomConfigurationFormFieldJabberImpl by passing to it the smack form field and the smack submit form, which are the base of this implementation. |
|
| Method Summary | |
|---|---|
void |
addValue(Object value)
Adds the given value to the list of values of this field. |
String |
getDescription()
Returns the description of the corresponding smack property. |
String |
getLabel()
Returns the label of the corresponding smack property. |
String |
getName()
Returns the variable name of the corresponding smack property. |
Iterator<String> |
getOptions()
Returns the options of the corresponding smack property. |
String |
getType()
For each of the smack form field types returns the corresponding ChatRoomConfigurationFormField type. |
Iterator<?> |
getValues()
Returns an Iterator over the list of values of this field. |
boolean |
isRequired()
Returns the isRequired property of the corresponding smack property. |
void |
setValues(Object[] newValues)
Sets the given list of values to this field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChatRoomConfigurationFormFieldJabberImpl(org.jivesoftware.smackx.FormField formField,
org.jivesoftware.smackx.Form submitForm)
formField - the smack form fieldsubmitForm - the smack submit form| Method Detail |
|---|
public String getName()
getName in interface ChatRoomConfigurationFormFieldpublic String getDescription()
getDescription in interface ChatRoomConfigurationFormFieldpublic String getLabel()
getLabel in interface ChatRoomConfigurationFormFieldpublic Iterator<String> getOptions()
getOptions in interface ChatRoomConfigurationFormFieldpublic boolean isRequired()
isRequired in interface ChatRoomConfigurationFormFieldpublic String getType()
getType in interface ChatRoomConfigurationFormFieldpublic Iterator<?> getValues()
getValues in interface ChatRoomConfigurationFormFieldpublic void addValue(Object value)
addValue in interface ChatRoomConfigurationFormFieldvalue - the value to addpublic void setValues(Object[] newValues)
setValues in interface ChatRoomConfigurationFormFieldnewValues - the list of values to set
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||