Class TileRecord

All Implemented Interfaces:
HasHandlers

public class TileRecord extends DetailViewerRecord
A TileRecord is a JavaScript Object whose properties contain values for each TileField. A TileRecord may have additional properties which affect the record's appearance or behavior, or which hold data for use by custom logic or other, related components.
  • Constructor Details

    • TileRecord

      public TileRecord()
    • TileRecord

      public TileRecord(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static TileRecord getOrCreateRef(JavaScriptObject jsObj)
    • setMinimumImageFieldSize

      public TileRecord setMinimumImageFieldSize(int minimumImageFieldSize)
      By default, image-type fields shown in a Tile are auto-scaled to fit a tile's full width, and an equal share of tile-height not already required by other visible (non-image) fields. This attribute enforces a minimum image-height, below which a given image will not shrink when being scaled.
      Parameters:
      minimumImageFieldSize - New minimumImageFieldSize value. Default value is 16
      Returns:
      TileRecord instance, for chaining setter calls
    • getMinimumImageFieldSize

      public int getMinimumImageFieldSize()
      By default, image-type fields shown in a Tile are auto-scaled to fit a tile's full width, and an equal share of tile-height not already required by other visible (non-image) fields. This attribute enforces a minimum image-height, below which a given image will not shrink when being scaled.
      Returns:
      Current minimumImageFieldSize value. Default value is 16