Class NumberProperty

    • Constructor Detail

      • NumberProperty

        public NumberProperty()
      • NumberProperty

        public NumberProperty​(String name)
    • Method Detail

      • setNumberValue

        protected abstract void setNumberValue​(Number n)
        Set the value of the property with a Number object.
        Parameters:
        n - the value to set
      • setNumberValue

        protected abstract void setNumberValue​(String n)
                                        throws NumberFormatException
        Set the value of the property with a String object.
        Parameters:
        n - the number to set as a string representation
        Throws:
        NumberFormatException - if the number n can not be converted to a Number
      • setObjectValue

        public void setObjectValue​(Object v)