Module javafx.base

Class SimpleBooleanProperty

    • Constructor Detail

      • 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 Detail

      • 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