public interface ChatRoomConfigurationFormField
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_BOOLEAN
The boolean type means that the value of this field is of type Boolean.
|
static java.lang.String |
TYPE_ID_MULTI
The multi id type means that the value of this field is a list of ids.
|
static java.lang.String |
TYPE_ID_SINGLE
The id single type means that the value of this field is only one id
that can be selected.
|
static java.lang.String |
TYPE_LIST_MULTI
The list multi type means that the value of this field is a list that
allows multiple choice (i.e.
|
static java.lang.String |
TYPE_LIST_SINGLE
The list single type means that the value of this field is a list that
allows only one line to be selected at a time.
|
static java.lang.String |
TYPE_TEXT_FIXED
The fixed text type means that the value of this field is a text, that
could not be changed.
|
static java.lang.String |
TYPE_TEXT_MULTI
The multi lines text type means that the value of this field is a text
represented on multiple lines.
|
static java.lang.String |
TYPE_TEXT_PRIVATE
The private text type indicates that the text, contained in this field
should not be shown to the user in clear text, instead if should be
protected by showing '*'.
|
static java.lang.String |
TYPE_TEXT_SINGLE
The single line text type means that the value of this field is a text
represented on one line.
|
static java.lang.String |
TYPE_UNDEFINED
The undefined type is meant to be used by the implementation if they
don't know the type of the configuration property.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(java.lang.Object value)
Adds the given value to the values of this field.
|
java.lang.String |
getDescription()
Returns a description that provides extra clarification about the
field.
|
java.lang.String |
getLabel()
Returns the label of the field which should give enough information to
the user to fill out the form.
|
java.lang.String |
getName()
Returns the name of the field to be filled out.
|
java.util.Iterator<java.lang.String> |
getOptions()
Returns an Iterator for the available options that the user has in order
to answer the question.
|
java.lang.String |
getType()
Returns an indicative of the format for the data to answer.
|
java.util.Iterator<?> |
getValues()
Returns an Iterator for the default values of the field if the
field is part of a form to fill out.
|
boolean |
isRequired()
Returns true if the question must be answered in order to complete the
questionnaire
|
void |
setValues(java.lang.Object[] newValues)
Sets the list of values for this field.
|
static final java.lang.String TYPE_UNDEFINED
static final java.lang.String TYPE_TEXT_FIXED
static final java.lang.String TYPE_TEXT_PRIVATE
static final java.lang.String TYPE_BOOLEAN
static final java.lang.String TYPE_TEXT_MULTI
static final java.lang.String TYPE_TEXT_SINGLE
static final java.lang.String TYPE_LIST_MULTI
static final java.lang.String TYPE_LIST_SINGLE
static final java.lang.String TYPE_ID_MULTI
static final java.lang.String TYPE_ID_SINGLE
java.lang.String getName()
java.lang.String getDescription()
java.lang.String getLabel()
java.util.Iterator<java.lang.String> getOptions()
boolean isRequired()
java.lang.String getType()
java.util.Iterator<?> getValues()
void addValue(java.lang.Object value)
value
- the value to addvoid setValues(java.lang.Object[] newValues)
newValues
- the values of this field
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.