Class Tremolo
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.Tremolo
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class Tremolo extends Optionable
Mapping options for tremolo effects.Tremolo is repeated changes of volume over time.
- 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 Tremolo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDepth()
Returns the Depth or Number or String object of depth, depend on what was set.Object
getSpeed()
Returns the Speed or Number or String object of speed, depend on what was set.void
setDepth(Number depth)
Sets the Number object of depth.void
setDepth(String depth)
Sets the String object of depth.void
setDepth(Depth depth)
Sets the Depth object of depth.void
setSpeed(Number speed)
Sets the Number object of speed.void
setSpeed(String speed)
Sets the String object of speed.void
setSpeed(Speed speed)
Sets the Speed object of speed.-
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
-
getDepth
public Object getDepth()
Returns the Depth or Number or String object of depth, depend on what was set.Map to tremolo depth, from 0 to 1.
This determines the intensity of the tremolo effect, how much the volume changes.
-
setDepth
public void setDepth(Depth depth)
Sets the Depth object of depth.Map to tremolo depth, from 0 to 1.
This determines the intensity of the tremolo effect, how much the volume changes.
-
setDepth
public void setDepth(Number depth)
Sets the Number object of depth.Map to tremolo depth, from 0 to 1.
This determines the intensity of the tremolo effect, how much the volume changes.
-
setDepth
public void setDepth(String depth)
Sets the String object of depth.Map to tremolo depth, from 0 to 1.
This determines the intensity of the tremolo effect, how much the volume changes.
-
getSpeed
public Object getSpeed()
Returns the Speed or Number or String object of speed, depend on what was set.Map to tremolo depth, from 0 to 1.
This determines the speed of the tremolo effect, how fast the volume changes.
-
setSpeed
public void setSpeed(Speed speed)
Sets the Speed object of speed.Map to tremolo depth, from 0 to 1.
This determines the speed of the tremolo effect, how fast the volume changes.
-
setSpeed
public void setSpeed(Number speed)
Sets the Number object of speed.Map to tremolo depth, from 0 to 1.
This determines the speed of the tremolo effect, how fast the volume changes.
-
setSpeed
public void setSpeed(String speed)
Sets the String object of speed.Map to tremolo depth, from 0 to 1.
This determines the speed of the tremolo effect, how fast the volume changes.
-
-