All Implemented Interfaces:
Cloneable<GomFormElement>, OptionFactoryProvider, GomCheckable, GomElement, GomEntryProvider, GomFormElement, GomHideable, GomLangInfoProvider, GomSearchRelevancy, GomSingleLineable, LineBreakable, RelationEnabling, TextGomFormElement, Serializable, Cloneable

@NonExtendable public class GomCombobox extends AbstractGomCombobox implements TextGomFormElement, GomSingleLineable
A GOM element for combo-boxes.
Since:
2.0
See Also:
  • Field Details

  • Constructor Details

    • GomCombobox

      public GomCombobox()
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getEditable

      public YesNo getEditable()
      Indicates whether the value may be manually edited
      Since:
      3.1
    • setEditable

      public void setEditable(YesNo editable)
      Sets whether the value may be manually edited.
      Since:
      3.1
    • getSingleLine

      public YesNo getSingleLine()
      Indicates if the component is single-line instead of being framed
      Since:
      4.0
    • setSingleLine

      public void setSingleLine(YesNo singleLine)
      Sets if the component is single-line instead of being framed
      Specified by:
      setSingleLine in interface GomSingleLineable
      Since:
      4.0
    • editable

      public boolean editable()
      Convenience API for getEditable() returning a boolean value
      Returns:
      true if the form is editable, false otherwise
      Since:
      3.1
    • singleLine

      public boolean singleLine()
      Convenience API for getSingleLine() returning a boolean value
      Returns:
      true if the form is single-line, false otherwise
      Since:
      4.0