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

@Deprecated(since="5.0") @NonExtendable public class GomPicture extends GomFile
Deprecated.
since 5.0, use FS_REFERENCE instead
GOM implementation for pictures.
Since:
2.0
See Also:
  • Field Details

  • Constructor Details

    • GomPicture

      public GomPicture()
      Deprecated.
  • Method Details

    • getDefaultTag

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

      public YesNo getUpload()
      Deprecated.
      Description copied from class: GomFile
      Indicates if it is allowed to upload media.
      Overrides:
      getUpload in class GomFile
    • getUploadFolder

      @Deprecated public String getUploadFolder()
      Deprecated.
      Description copied from class: GomFile
      Store folder used for uploads, if upload is allowed
      Overrides:
      getUploadFolder in class GomFile
    • getImagePreview

      public YesNo getImagePreview()
      Deprecated.
      Indicates if a thumbnail is shown
      Since:
      3.0
    • setImagePreview

      public void setImagePreview(YesNo imagePreview)
      Deprecated.
      Sets if a thumbnail is shown
      Since:
      3.0
    • getLean

      public FormDisplayMode getLean()
      Deprecated.
      Defines the form fields to be shown
      Since:
      3.0
    • setLean

      public void setLean(FormDisplayMode lean)
      Deprecated.
      Sets the form fields to be shown
      Since:
      3.0
    • getAllowFolder

      public YesNo getAllowFolder()
      Deprecated.
      Description copied from class: GomFile
      Indicates if folders are allowed as selection
      Overrides:
      getAllowFolder in class GomFile
    • showsThumbnail

      public boolean showsThumbnail()
      Deprecated.
      Convenience API for getImagePreview() returning a boolean value
      Since:
      3.0
    • displayMode

      @NotNull public @NotNull FormDisplayMode displayMode()
      Deprecated.
      Convenience API for getLean() returning a non-null value
      Returns:
      the value of getLean() or FormDisplayMode.ALL if unset
      Since:
      3.0