Class LbsDataSubRecord.LbsDropData

  • All Implemented Interfaces:
    org.apache.poi.common.Duplicatable, GenericRecord
    Enclosing class:
    LbsDataSubRecord

    public static class LbsDataSubRecord.LbsDropData
    extends java.lang.Object
    implements org.apache.poi.common.Duplicatable, GenericRecord
    This structure specifies properties of the dropdown list control
    • Field Detail

      • STYLE_COMBO_DROPDOWN

        public static final int STYLE_COMBO_DROPDOWN
        Combo dropdown control
        See Also:
        Constant Field Values
      • STYLE_COMBO_EDIT_DROPDOWN

        public static final int STYLE_COMBO_EDIT_DROPDOWN
        Combo Edit dropdown control
        See Also:
        Constant Field Values
      • STYLE_COMBO_SIMPLE_DROPDOWN

        public static final int STYLE_COMBO_SIMPLE_DROPDOWN
        Simple dropdown control (just the dropdown button)
        See Also:
        Constant Field Values
    • Method Detail

      • setStyle

        public void setStyle​(int style)
        Set the style of this dropdown.

        Possible values:

        • 0: Combo dropdown control
        • 1: Combo Edit dropdown control
        • 2: Simple dropdown control (just the dropdown button)
        Parameters:
        style - the style - see possible values
      • setNumLines

        public void setNumLines​(int num)
        Set the number of lines to be displayed in the dropdown.
        Parameters:
        num - the number of lines to be displayed in the dropdown
      • getDataSize

        public int getDataSize()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getGenericProperties

        public java.util.Map<java.lang.String,​java.util.function.Supplier<?>> getGenericProperties()
        Specified by:
        getGenericProperties in interface GenericRecord