Class DataSourceImageField

All Implemented Interfaces:
HasHandlers

public class DataSourceImageField extends DataSourceField
  • Constructor Details

    • DataSourceImageField

      public DataSourceImageField()
    • DataSourceImageField

      public DataSourceImageField(String name)
    • DataSourceImageField

      public DataSourceImageField(String name, String title)
    • DataSourceImageField

      public DataSourceImageField(String name, String title, int length)
    • DataSourceImageField

      public DataSourceImageField(String name, String title, int length, boolean required)
  • Method Details

    • setImageHeight

      public void setImageHeight(String imageHeight)
      Description copied from class: DataSourceField
      Height of the image-content of this field. If set as a string, represents the name of another field in the record that holds the imageHeight. Applicable only to fields of image type or fields that use a ViewFileItem as an editor.
      Overrides:
      setImageHeight in class DataSourceField
      Parameters:
      imageHeight - imageHeight Default value is null
    • setImageWidth

      public void setImageWidth(String imageWidth)
      Description copied from class: DataSourceField
      Width of the image-content of this field. If set as a string, represents the name of another field in the record that holds the imageWidth. Applicable only to fields of image type or fields that use a ViewFileItem as an editor.
      Overrides:
      setImageWidth in class DataSourceField
      Parameters:
      imageWidth - imageWidth Default value is null
    • setWidth

      public void setWidth(Integer length)
    • setImageURLPrefix

      public void setImageURLPrefix(String imageURLPrefix)
      Set the imageURLPrefix.
      Parameters:
      imageURLPrefix - the imageURLPrefix
    • getImageURLPrefix

      public String getImageURLPrefix()
      Return the imageURLPrefix.
      Returns:
      the imageURLPrefix