Class GomMultipleMediaChooser

All Implemented Interfaces:
GomCheckable, GomElement, GomFormElement, GomHideable, GomLangInfoProvider, GomProjectProvider, GomSearchRelevancy, LineBreakable, Serializable

@NonExtendable public class GomMultipleMediaChooser extends GomFile
MultipleMediaChooser editor
Since:
4.0.12
See Also:
  • Field Details

  • Constructor Details

    • GomMultipleMediaChooser

      public GomMultipleMediaChooser()
  • Method Details

    • getDefaultTag

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

      public MediaType getMediaTypes()
      Allowed media types
      Since:
      4.0.13
    • setMediaTypes

      public void setMediaTypes(MediaType value)
      Set allowed media types
      Since:
      4.0.13
    • getCountPerPage

      @NotNull public @NotNull Integer getCountPerPage()
      Count of media rendered on one page (0 = all media on one page)
      Since:
      4.0.15
    • setCountPerPage

      public void setCountPerPage(Integer value)
      Sets the count of media rendered on one page
      Since:
      4.0.15
    • mediaTypes

      @NotNull public @NotNull MediaType mediaTypes()
      Convenience API for getMediaTypes() returning a non-null value
      Returns:
      The value of getMediaTypes() or MediaType.PICTURE if unset
      Since:
      4.0.13