Class NumberEditorConfig

  • All Implemented Interfaces:
    Serializable

    public class NumberEditorConfig
    extends Object
    implements Serializable
    Put here all immutable options used to init the number editor. Created on 11/23/14.
    Since:
    2.17
    Author:
    Tony Chemit - dev@tchemit.fr
    See Also:
    Serialized Form
    • Field Detail

      • property

        protected String property
        Optional property where to bind the number value in optional bean.
      • useSign

        protected boolean useSign
        Should you allowed signed number ?
      • useDecimal

        protected Boolean useDecimal
        Should you allowed decimal number ?
      • numberType

        protected Class<?> numberType
        Type of number.
      • selectAllTextOnError

        protected boolean selectAllTextOnError
        When a error occurs, previous valid value is repush in textField, with this flag setted to true then also reselect this content.
    • Constructor Detail

      • NumberEditorConfig

        public NumberEditorConfig()
    • Method Detail

      • getNumberType

        public Class<?> getNumberType()
      • setNumberType

        public void setNumberType​(Class<?> numberType)
      • getProperty

        public String getProperty()
      • setProperty

        public void setProperty​(String property)
      • isSelectAllTextOnError

        public boolean isSelectAllTextOnError()
      • setSelectAllTextOnError

        public void setSelectAllTextOnError​(boolean selectAllTextOnError)
      • isUseSign

        public boolean isUseSign()
      • setUseSign

        public void setUseSign​(boolean useSign)
      • getUseDecimal

        public Boolean getUseDecimal()
      • setUseDecimal

        public void setUseDecimal​(Boolean useDecimal)