Class BooleanProperty

    • Constructor Detail

      • BooleanProperty

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

      • put

        public boolean put​(java.lang.Boolean value)
        Description copied from class: AbstractProperty
        Sets this property to the specified value.
        Overrides:
        put in class AbstractToStringProperty<java.lang.Boolean>
        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.Boolean t)
        Description copied from class: AbstractToStringProperty
        Converts the string to an object of the given type.
        Specified by:
        toString in class AbstractToStringProperty<java.lang.Boolean>
        Parameters:
        t - The object.
        Returns:
        The string representing the object