Top Fields Constructors Methods
com.sun.media.jfxmediaimpl

pack-priv final Class NativeAudioEqualizer

extends Object
implements AudioEqualizer
Class Inheritance
All Implemented Interfaces
com.sun.media.jfxmedia.effects.AudioEqualizer
Imports
com.sun.media.jfxmedia.effects.AudioEqualizer, .EqualizerBand

Field Summary

Modifier and TypeField and Description
private final long
nativeRef

Handle to the native equalizer.

Constructor Summary

AccessConstructor and Description
pack-priv
NativeAudioEqualizer(long
A reference to the native component.
nativeRef
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public EqualizerBand
addBand(double centerFrequency, double bandwidth, double gain)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.addBand.

Adds a band to the equalizer.

public boolean
getEnabled()

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.getEnabled.

Returns whether equalization was enabled or not.

private native EqualizerBand
nativeAddBand(long nativeRef, double centerFrequency, double bandwidth, double gain)

private native boolean
nativeGetEnabled(long nativeRef)

private native int
nativeGetNumBands(long nativeRef)

private native boolean
nativeRemoveBand(long nativeRef, double centerFrequency)

private native void
nativeSetEnabled(long nativeRef, boolean enable)

public boolean
removeBand(double centerFrequency)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.removeBand.

Removes an equalizer band with the specified center frequency.

public void
setEnabled(boolean enable)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.setEnabled.

Turns on or off audio equalization.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nativeRefback to summary
private final long nativeRef

Handle to the native equalizer.

Constructor Detail

NativeAudioEqualizerback to summary
pack-priv NativeAudioEqualizer(long nativeRef)

Constructor.

Parameters
nativeRef:long

A reference to the native component.

Method Detail

addBandback to summary
public EqualizerBand addBand(double centerFrequency, double bandwidth, double gain)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.addBand.

Doc from com.sun.media.jfxmedia.effects.AudioEqualizer.addBand.

Adds a band to the equalizer.

Annotations
@Override
getEnabledback to summary
public boolean getEnabled()

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.getEnabled.

Doc from com.sun.media.jfxmedia.effects.AudioEqualizer.getEnabled.

Returns whether equalization was enabled or not.

Annotations
@Override
nativeAddBandback to summary
private native EqualizerBand nativeAddBand(long nativeRef, double centerFrequency, double bandwidth, double gain)
nativeGetEnabledback to summary
private native boolean nativeGetEnabled(long nativeRef)
nativeGetNumBandsback to summary
private native int nativeGetNumBands(long nativeRef)
nativeRemoveBandback to summary
private native boolean nativeRemoveBand(long nativeRef, double centerFrequency)
nativeSetEnabledback to summary
private native void nativeSetEnabled(long nativeRef, boolean enable)
removeBandback to summary
public boolean removeBand(double centerFrequency)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.removeBand.

Doc from com.sun.media.jfxmedia.effects.AudioEqualizer.removeBand.

Removes an equalizer band with the specified center frequency.

Annotations
@Override
setEnabledback to summary
public void setEnabled(boolean enable)

Implements com.sun.media.jfxmedia.effects.AudioEqualizer.setEnabled.

Doc from com.sun.media.jfxmedia.effects.AudioEqualizer.setEnabled.

Turns on or off audio equalization.

Annotations
@Override