Module javafx.base

Class BooleanPropertyBase

    • Constructor Detail

      • BooleanPropertyBase

        public BooleanPropertyBase()
        The constructor of the BooleanPropertyBase.
      • BooleanPropertyBase

        public BooleanPropertyBase​(boolean initialValue)
        The constructor of the BooleanPropertyBase.
        Parameters:
        initialValue - the initial value of the wrapped value
    • Method Detail

      • invalidated

        protected void invalidated()
        The method invalidated() can be overridden to receive invalidation notifications. This is the preferred option in Objects defining the property, because it requires less memory. The default implementation is empty.
      • bind

        public void bind​(ObservableValue<? extends Boolean> rawObservable)
        Create a unidirection binding for this Property.

        Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated. Note:

        Parameters:
        rawObservable - The observable this Property should be bound to.
      • toString

        public String toString()
        Returns a string representation of this BooleanPropertyBase object.
        Overrides:
        toString in class BooleanProperty
        Returns:
        a string representation of this BooleanPropertyBase object.