Package org.zkoss.chart
Class NoteDuration
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.Frequency
-
- org.zkoss.chart.NoteDuration
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class NoteDuration extends Frequency
Note duration determines for how long a note plays, in milliseconds.It only affects instruments that are able to play continuous sustained notes. Examples of these instruments from the presets include flute, saxophone, trumpet, sawsynth, wobble, basic1, basic2, sine, sineGlide, triangle, square, sawtooth, noise, filteredNoise, and wind.
Can be set to a fixed value, a prop to map to, a function, or a mapping object.
- 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 NoteDuration()
-
Method Summary
-
Methods inherited from class org.zkoss.chart.Frequency
getMapFunction, getMapTo, getMax, getMin, getValue, getWithin, setMapFunction, setMapTo, setMax, setMin, setValue, setWithin
-
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
-
-