Class SimpleBooleanProperty

All Implemented Interfaces:
Observable, Property<Boolean>, ReadOnlyProperty<Boolean>, ObservableBooleanValue, ObservableValue<Boolean>, WritableBooleanValue, WritableValue<Boolean>

public class SimpleBooleanProperty extends BooleanPropertyBase
This class provides a full implementation of a Property wrapping a boolean value.
Since:
JavaFX 2.0
See Also:
  • Constructor Details

    • SimpleBooleanProperty

      public SimpleBooleanProperty()
      The constructor of BooleanProperty
    • SimpleBooleanProperty

      public SimpleBooleanProperty(boolean initialValue)
      The constructor of BooleanProperty
      Parameters:
      initialValue - the initial value of the wrapped value
    • SimpleBooleanProperty

      public SimpleBooleanProperty(Object bean, String name)
      The constructor of BooleanProperty
      Parameters:
      bean - the bean of this BooleanProperty
      name - the name of this BooleanProperty
    • SimpleBooleanProperty

      public SimpleBooleanProperty(Object bean, String name, boolean initialValue)
      The constructor of BooleanProperty
      Parameters:
      bean - the bean of this BooleanProperty
      name - the name of this BooleanProperty
      initialValue - the initial value of the wrapped value
  • Method Details

    • getBean

      public Object getBean()
      Returns the Object that contains this property. If this property is not contained in an Object, null is returned.
      Returns:
      the containing Object or null
    • getName

      public String getName()
      Returns the name of this property. If the property does not have a name, this method returns an empty String.
      Returns:
      the name or an empty String