Class FloatSetting


  • public final class FloatSetting
    extends Setting
    • Constructor Detail

      • FloatSetting

        public FloatSetting​(java.lang.String id,
                            java.lang.String name)
    • Method Detail

      • getDefaultValue

        public java.lang.Double getDefaultValue()
        Returns:
        default value
      • setDefaultValue

        public FloatSetting setDefaultValue​(java.lang.Double defaultValue)
        Parameters:
        defaultValue - default value
        Returns:
        this
      • getMinValue

        public java.lang.Double getMinValue()
        Returns:
        minimum accepted value
      • setMinValue

        public FloatSetting setMinValue​(java.lang.Double minValue)
        Parameters:
        minValue - minimum accepted value
        Returns:
        this
      • getMaxValue

        public java.lang.Double getMaxValue()
        Returns:
        maximum accepted value
      • setMaxValue

        public FloatSetting setMaxValue​(java.lang.Double maxValue)
        Parameters:
        maxValue - maximum accepted value
        Returns:
        this
      • isRequired

        public boolean isRequired()
        Returns:
        true if setting is required
      • setIsRequired

        public FloatSetting setIsRequired​(boolean isRequired)
        Parameters:
        isRequired - true if setting is required
        Returns:
        this