Class StringProperty

    • Constructor Detail

      • StringProperty

        public StringProperty​(java.lang.String key,
                              java.lang.String defaultValue)
        Constructs a new StringProperty.
        Parameters:
        key - The property key
        defaultValue - The default value
    • Method Detail

      • put

        public boolean put​(java.lang.String value)
        Description copied from class: AbstractProperty
        Sets this property to the specified value.
        Overrides:
        put in class AbstractToStringProperty<java.lang.String>
        Parameters:
        value - The new value of this property
        Returns:
        true if something has changed (i.e. value is different than before)
      • toString

        protected java.lang.String toString​(java.lang.String string)
        Description copied from class: AbstractToStringProperty
        Converts the string to an object of the given type.
        Specified by:
        toString in class AbstractToStringProperty<java.lang.String>
        Parameters:
        string - The object.
        Returns:
        The string representing the object