Module javafx.media

Class AudioEqualizer

    • Property Detail

      • enabled

        public BooleanProperty enabledProperty
        Enables or disables AudioEqualizer. If the enabled property is set to false, AudioEqualizer settings are preserved but not taken into account during playback, which is equivalent to setting all EqualizerBand.gain properties to zero.
        Default value:
        true
        See Also:
        isEnabled(), setEnabled(boolean)
    • Field Detail

      • MAX_NUM_BANDS

        public static final int MAX_NUM_BANDS
        Maximum number of bands an AudioEqualizer may contain. In the current implementation this value is 64.
        See Also:
        Constant Field Values
    • Method Detail

      • setEnabled

        public final void setEnabled​(boolean value)
        Sets the value of the property enabled.
        Property description:
        Enables or disables AudioEqualizer. If the enabled property is set to false, AudioEqualizer settings are preserved but not taken into account during playback, which is equivalent to setting all EqualizerBand.gain properties to zero.
        Default value:
        true
      • isEnabled

        public final boolean isEnabled​()
        Gets the value of the property enabled.
        Property description:
        Enables or disables AudioEqualizer. If the enabled property is set to false, AudioEqualizer settings are preserved but not taken into account during playback, which is equivalent to setting all EqualizerBand.gain properties to zero.
        Default value:
        true
      • enabledProperty

        public BooleanProperty enabledProperty​()
        Enables or disables AudioEqualizer. If the enabled property is set to false, AudioEqualizer settings are preserved but not taken into account during playback, which is equivalent to setting all EqualizerBand.gain properties to zero.
        Default value:
        true
        See Also:
        isEnabled(), setEnabled(boolean)