Class Highpass
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.Highpass
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
- Direct Known Subclasses:
Lowpass
public class Highpass extends Optionable
Mapping options for the highpass filter.A highpass filter lets high frequencies through, but stops low frequencies, making the sound thinner.
- Since:
- 11.2.0.0
- Author:
- Jamson Chan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description Highpass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getFrequency()
Returns the Frequency or Number or String object of frequency, depend on what was set.Object
getResonance()
Returns the Resonance or Number or String object, depend on what was set.void
setFrequency(Number frequency)
Sets the Number object of frequency.void
setFrequency(String frequency)
Sets the String object of frequency.void
setFrequency(Frequency frequency)
Sets the Frequency object of frequency.void
setResonance(Number resonance)
Sets the Number object of resonance.void
setResonance(String resonance)
Sets the String object of resonance.void
setResonance(Resonance resonance)
Sets the Resonance object of resonance.-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
getFrequency
public Object getFrequency()
Returns the Frequency or Number or String object of frequency, depend on what was set.Map to filter frequency in Hertz from 1 to 20,000Hz.
Frequency in Hertz of notes. Overrides pitch mapping if set.
-
setFrequency
public void setFrequency(Frequency frequency)
Sets the Frequency object of frequency.Map to filter frequency in Hertz from 1 to 20,000Hz.
Frequency in Hertz of notes. Overrides pitch mapping if set.
-
setFrequency
public void setFrequency(Number frequency)
Sets the Number object of frequency.Map to filter frequency in Hertz from 1 to 20,000Hz.
Frequency in Hertz of notes. Overrides pitch mapping if set.
-
setFrequency
public void setFrequency(String frequency)
Sets the String object of frequency.Map to filter frequency in Hertz from 1 to 20,000Hz.
Frequency in Hertz of notes. Overrides pitch mapping if set.
-
getResonance
public Object getResonance()
Returns the Resonance or Number or String object, depend on what was set.Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.
-
setResonance
public void setResonance(Resonance resonance)
Sets the Resonance object of resonance.Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.
-
setResonance
public void setResonance(Number resonance)
Sets the Number object of resonance.Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.
-
setResonance
public void setResonance(String resonance)
Sets the String object of resonance.Map to filter resonance in dB. Can be negative to cause a dip, or positive to cause a bump.
-
-