FormFieldOption
com.boldchat.visitor.api
Class FormFieldOption
- java.lang.Object
-
- com.boldchat.visitor.api.FormFieldOption
-
public class FormFieldOption extends java.lang.Object
Container class for storing information about an option forFormFieldType.Select
orFormFieldType.Radio
.
-
-
Method Detail
-
isDefaultValue
public boolean isDefaultValue()
- Returns:
- true if the value is the default one for the
FormFieldType.Select
orFormFieldType.Radio
field.
-
getName
public java.lang.String getName()
- Returns:
- The name of the field, this is appropriate to show to a user.
-
getValue
public java.lang.String getValue()
- Returns:
- The value of the field, this is not appropriate to show to a user.
-
getAvailableLabel
public java.lang.String getAvailableLabel()
- Returns:
- For deparments selection fields that have online/offlinet status, this will return the status label to be displayed to the user.
-
isAvailable
public boolean isAvailable()
- Returns:
- For deparments selection fields that have online/offlinet status, this will indicate that the department is online.
-
-