AudioEqualizer class provides audio equalization control for
a media player. It contains an ObservableList of EqualizerBand
elements. Each AudioEqualizer instance is connected to a
MediaPlayer and may be obtained using the
MediaPlayer.getAudioEqualizer method.
MediaPlayer, EqualizerBand
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ObservableList | |
| private final Object | |
| private BooleanProperty | |
| private AudioEqualizer | |
| public static final int | MAX_NUM_BANDS
Maximum number of bands an |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BooleanProperty | |
| public final ObservableList | Returns: ObservableList containingEqualizerBand elements.ObservableList containing |
| public final boolean | |
| pack-priv void | setAudioEqualizer(AudioEqualizer
- Instance of native equalizer jfxEqualizer)Called by NativePlayer when native part is ready |
| public final void |
| bands | back to summary |
|---|---|
| private final ObservableList<EqualizerBand> bands | |
| disposeLock | back to summary |
|---|---|
| private final Object disposeLock | |
| enabled | back to summary |
|---|---|
| private BooleanProperty enabled | |
| jfxEqualizer | back to summary |
|---|---|
| private AudioEqualizer jfxEqualizer | |
| MAX_NUM_BANDS | back to summary |
|---|---|
| public static final int MAX_NUM_BANDS Maximum number of bands an | |
| AudioEqualizer | back to summary |
|---|---|
| pack-priv AudioEqualizer() | |
| enabledProperty | back to summary |
|---|---|
| public BooleanProperty enabledProperty() Enables or disables
| |
| getBands | back to summary | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public final ObservableList ObservableList containing The constraints for a valid
The default set of bands is as in the following table; all bands have unity gain (0 dB).
| ||||||||||||||||||||||||||||||||||
| isEnabled | back to summary |
|---|---|
| public final boolean isEnabled() | |
| setAudioEqualizer | back to summary |
|---|---|
| pack-priv void setAudioEqualizer(AudioEqualizer jfxEqualizer) Called by NativePlayer when native part is ready
| |
| setEnabled | back to summary |
|---|---|
| public final void setEnabled(boolean value) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | onProposedChange(List<EqualizerBand> toBeAdded, int... toBeRemoved)
Implements abstract com. The type of the change can be observed from the combination of arguments. |
| Bands | back to summary |
|---|---|
| public Bands() | |
| onProposedChange | back to summary |
|---|---|
| protected void onProposedChange(List<EqualizerBand> toBeAdded, int... toBeRemoved) Implements abstract com. Doc from com. The type of the change can be observed from the combination of arguments.
| |