Class FieldValuesModel

    • Method Detail

      • getAutoExtraField

        public boolean getAutoExtraField()
      • setAutoExtraField

        public void setAutoExtraField​(boolean autoExtraField)
      • getShowExtraField

        public boolean getShowExtraField()
      • getShowExtraFieldUserTriggered

        public boolean getShowExtraFieldUserTriggered()
      • setShowExtraField

        public void setShowExtraField​(boolean showExtraField,
                                      boolean userTriggered)
      • size

        public int size()
        Returns the number of values in the model. Note that the first one might not represent an actual value. Use getNumberOfValues() to get the real number of actual values in the model.
        Returns:
        the size of the model.
      • getNumberOfValues

        public int getNumberOfValues()
        Get the number of actual existing values. Number is either the same as size() or one less if the showExtraField is enabled.
        Returns:
        the number of actual values
      • containsExisting

        public boolean containsExisting()