Enum Class FillMode

java.lang.Object
java.lang.Enum<FillMode>
com.inductiveautomation.ignition.common.FillMode
All Implemented Interfaces:
Serializable, Comparable<FillMode>, Constable

public enum FillMode extends Enum<FillMode>
What an aggregated key's window gets when its calculation leaves it without a value. A fill never sets the shape of the signal; the key's interpolation does. Typed surfaces reject a fill the aggregate does not take under its interpolation.
  • Enum Constant Details

    • AUTO

      public static final FillMode AUTO
      Leave empty: the calculation's own answer. With no edges a window without samples stays empty (a count is 0); with edges, the edge values answer it.
    • LINEAR

      public static final FillMode LINEAR
      Line between window results: the line from the previous window's result to the next's.
    • PREVIOUS

      public static final FillMode PREVIOUS
      Previous window's result, held.
    • NONE

      public static final FillMode NONE
      Omit: no row for a window without samples.
    • CONSTANT

      public static final FillMode CONSTANT
      The key's constant, marked as interpolated.
  • Method Details

    • values

      public static FillMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FillMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static Optional<FillMode> fromString(String value)
      Returns an Optional of FillMode that matches the given string. The match is case-insensitive. If no match is found, an empty Optional is returned.
      Parameters:
      value - The string to match.
      Returns:
      An Optional of FillMode.