Interface AttributeConfig

All Superinterfaces:
ComponentConfig, PropertyConfig

public interface AttributeConfig extends PropertyConfig
Describes an attribute for display in an attribute panel
Supported API: true

Extendable: false
  • Method Details

    • getColPos

      Integer getColPos()
      Returns the column position for the attribute in a multi-column layout

      Supported API: true
      Returns:
      String
    • getRowPos

      Integer getRowPos()
      Returns the ros position for the attribute

      Supported API: true
      Returns:
      String
    • setColPos

      void setColPos(Integer colPos)
      Sets the column position for the attribute in a multi-column layout

      Supported API: true
      Parameters:
      colPos - The desired column position for the attribute
    • setRowPos

      void setRowPos(Integer rowPos)
      Sets the row position for the attribute

      Supported API: true
      Parameters:
      rowPos - The desired row position of the attribute
    • setColSpan

      void setColSpan(Integer colSpan)
      Sets the column span of the attribute. This will be the number of "attribute columns" this attribute should span when shown in an attribute group configured to have grid layout. Each "attribute column" is a name/value pair. The default value is 1.
      In the below image "Health Benefits" attribute in the first group has colspan=2 and "Description" attribute in the second group has colspan=3, all other attributes have the default colspan=1.

      Note, the colspan value used in the resulting html will not match this column span value set here. The renderers will use this column span value to calculate an appropriate html colspan for the resulting number of <td>s.

      Supported API: true
      Parameters:
      colSpan - The number of "attribute columns" this attribute should span.
    • getColSpan

      Integer getColSpan()
      Gets the column span of the attribute

      Supported API: true
      Returns:
      column Span