Top Fields Constructors Methods
com.sun.media.jfxmediaimpl

pack-priv final Class NativeEqualizerBand

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

Field Summary

Modifier and TypeField and Description
private final long

Constructor Summary

AccessConstructor and Description
private
NativeEqualizerBand(long bandRef)

Method Summary

Modifier and TypeMethod and Description
public double
getBandwidth()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getBandwidth.

Gets the bandwith (of frequencies) of this band.

public double
getCenterFrequency()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getCenterFrequency.

Gets the center frequency of this band.

public double
getGain()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getGain.

Gets the gain value for this bandwidth.

private native double
nativeGetBandwidth(long bandRef)

private native double
private native double
nativeGetGain(long bandRef)

private native void
nativeSetBandwidth(long bandRef, double bandwidth)

private native void
nativeSetCenterFrequency(long bandRef, double centerFrequency)

private native void
nativeSetGain(long bandRef, double gain)

public void
setBandwidth(double
float value
bandwidth
)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setBandwidth.

Sets the bandwidth of this band.

public void
setCenterFrequency(double
float value
centerFrequency
)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setCenterFrequency.

Sets the center frequency of this band.

public void
setGain(double
float value in dB
gain
)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setGain.

Sets the gain value for this bandwidth.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bandRefback to summary
private final long bandRef

Constructor Detail

NativeEqualizerBandback to summary
private NativeEqualizerBand(long bandRef)

Method Detail

getBandwidthback to summary
public double getBandwidth()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getBandwidth.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.getBandwidth.

Gets the bandwith (of frequencies) of this band.

Returns:double

float value

Annotations
@Override
getCenterFrequencyback to summary
public double getCenterFrequency()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getCenterFrequency.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.getCenterFrequency.

Gets the center frequency of this band. Half of the bandwidth is to the left of this frequncy and half is to the right.

Returns:double

float value

Annotations
@Override
getGainback to summary
public double getGain()

Implements com.sun.media.jfxmedia.effects.EqualizerBand.getGain.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.getGain.

Gets the gain value for this bandwidth. Gains are in decibels.

Returns:double

float value for dB

Annotations
@Override
nativeGetBandwidthback to summary
private native double nativeGetBandwidth(long bandRef)
nativeGetCenterFrequencyback to summary
private native double nativeGetCenterFrequency(long bandRef)
nativeGetGainback to summary
private native double nativeGetGain(long bandRef)
nativeSetBandwidthback to summary
private native void nativeSetBandwidth(long bandRef, double bandwidth)
nativeSetCenterFrequencyback to summary
private native void nativeSetCenterFrequency(long bandRef, double centerFrequency)
nativeSetGainback to summary
private native void nativeSetGain(long bandRef, double gain)
setBandwidthback to summary
public void setBandwidth(double bandwidth)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setBandwidth.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.setBandwidth.

Sets the bandwidth of this band.

Parameters
bandwidth:double

float value

Annotations
@Override
setCenterFrequencyback to summary
public void setCenterFrequency(double centerFrequency)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setCenterFrequency.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.setCenterFrequency.

Sets the center frequency of this band. Half of the bandwidth is to the left of this frequncy and half is to the right.

Parameters
centerFrequency:double

float value

Annotations
@Override
setGainback to summary
public void setGain(double gain)

Implements com.sun.media.jfxmedia.effects.EqualizerBand.setGain.

Doc from com.sun.media.jfxmedia.effects.EqualizerBand.setGain.

Sets the gain value for this bandwidth. Gains are in decibels.

Parameters
gain:double

float value in dB

Annotations
@Override