Package org.zkoss.chart.plotOptions
Class WordCloudRotation
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.plotOptions.WordCloudRotation
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class WordCloudRotation extends Optionable
Rotation options for the words in the wordcloud.- Since:
- 7.2.1.0
- Author:
- rudyhuang
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description WordCloudRotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getFrom()
Returns the smallest degree of rotation for a word.Number
getOrientations()
Returns the number of possible orientations for a word, within the range offrom
andto
.Number
getTo()
Returns the largest degree of rotation for a word.void
setFrom(Number from)
Sets the smallest degree of rotation for a word.void
setOrientations(Number orientations)
Sets the number of possible orientations for a word, within the range offrom
andto
.void
setTo(Number to)
Sets the largest degree of rotation for a word.-
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
-
getFrom
public Number getFrom()
Returns the smallest degree of rotation for a word.Default: 0
-
setFrom
public void setFrom(Number from)
Sets the smallest degree of rotation for a word.
-
getOrientations
public Number getOrientations()
Returns the number of possible orientations for a word, within the range offrom
andto
. Must be a number larger than 0.Default: 2
-
setOrientations
public void setOrientations(Number orientations)
Sets the number of possible orientations for a word, within the range offrom
andto
. Must be a number larger than 0.
-
getTo
public Number getTo()
Returns the largest degree of rotation for a word.Default: 90
-
setTo
public void setTo(Number to)
Sets the largest degree of rotation for a word.
-
-