Class AbstractSelectField

All Implemented Interfaces:
IFormField, IAbstractElement, IBlockElement, IElement, IPropertyContainer
Direct Known Subclasses:
ComboBoxField, ListBoxField

public abstract class AbstractSelectField extends FormField<AbstractSelectField>
An abstract class for fields that represents a control for selecting one or several of the provided options.
  • Constructor Details

    • AbstractSelectField

      protected AbstractSelectField (String id)
  • Method Details

    • addOption

      public void addOption (IBlockElement optionElement)
      Adds a container with option(s). This might be a container for options group.
      Parameters:
      optionElement - a container with option(s)
    • getOptions

      public List<IBlockElement> getOptions()
      Gets a list of containers with option(s). Every container might be a container for options group.
      Returns:
      a list of containers with option(s)