-
public class TextSettings extends SettingsWithMargin
Class representing text settings for resource list items.
-
-
Constructor Summary
Constructors Constructor Description TextSettings(String jsChart)
-
Method Summary
Modifier and Type Method Description static TextSettingsinstantiate()StringgetJsBase()voidfontColor()Getter for the font color. TextSettingsfontColor(String color)Setter for the font color. voidfontDecoration()Getter for the text font decoration. TextSettingsfontDecoration(Decoration type)Setter for the text font decoration. TextSettingsfontDecoration(String type)Setter for the text font decoration. voidfontFamily()Getter for the font family. TextSettingsfontFamily(String fontFamily)Setter for the font family. voidfontOpacity()Getter for the font opacity. TextSettingsfontOpacity(Number opacity)Setter for the font opacity. voidfontSize()Getter for the text font size. TextSettingsfontSize(String size)Setter for the text font size text. TextSettingsfontSize(Number size)Setter for the text font size text. voidfontStyle()Getter for the font style. TextSettingsfontStyle(FontStyle style)Setter for the font style. TextSettingsfontStyle(String style)Setter for the font style. voidfontVariant()Getter for the font variant. TextSettingsfontVariant(FontVariant type)Setter for the font variant. TextSettingsfontVariant(String type)Setter for the font variant. voidfontWeight()Getter for the font weight. TextSettingsfontWeight(String weight)Setter for the font weight. TextSettingsfontWeight(Number weight)Setter for the font weight. voidhAlign()Getter for the font horizontal align. TextSettingshAlign(HAlign align)Setter for the font horizontal align. TextSettingshAlign(String align)Setter for the font horizontal align. voidletterSpacing()Getter for the letter spacing. TextSettingsletterSpacing(String spacing)Setter for the letter spacing. TextSettingsletterSpacing(Number spacing)Setter for the letter spacing. voidlineHeight()Getter for the font line height. TextSettingslineHeight(String height)Setter for the font line height. TextSettingslineHeight(Number height)Setter for the font line height. Marginmargin()Getter for the margin. TextSettingsmargin(Array<Number> margin)Setter for the margin using a single value. TextSettingsmargin(Array<String> margin)Setter for the margin using a single value. TextSettingsmargin(String margin)Setter for the margin using a single value. TextSettingsmargin(String value1, String value2, String value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, String value2, String value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, String value2, Number value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, String value2, Number value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, Number value2, String value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, Number value2, String value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, Number value2, Number value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(String value1, Number value2, Number value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, String value2, String value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, String value2, String value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, String value2, Number value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, String value2, Number value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, Number value2, String value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, Number value2, String value3, Number value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, Number value2, Number value3, String value4)Setter for the callout margin using several values. TextSettingsmargin(Number value1, Number value2, Number value3, Number value4)Setter for the callout margin using several values. voidselectable()Getter for the text selectable. TextSettingsselectable(Boolean enabled)Setter for the text selectable. voidtextDirection()Getter for the text direction. TextSettingstextDirection(Direction type)Setter for the text direction. TextSettingstextDirection(String type)Setter for the text direction. voidtextIndent()Getter for text indent settings. TextSettingstextIndent(Number indent)Setter for text indent settings. voidtextOverflow()Getter for text overflow settings. TextSettingstextOverflow(TextOverflow value)Setter for text overflow settings. TextSettingstextOverflow(String value)Setter for text overflow settings. voiduseHtml()Getter for the useHTML flag. TextSettingsuseHtml(Boolean enabled)Setter for the useHTML flag. voidvAlign()Getter for the font vertical align. TextSettingsvAlign(VAlign align)Setter for the font vertical align. TextSettingsvAlign(String align)Setter for the font vertical align. voidwordBreak()Getter for the word-break mode. TextSettingswordBreak(WordBreak mode)Setter for the word-break mode. TextSettingswordBreak(String mode)Setter for the word-break mode. voidwordWrap()Getter for the word-wrap mode. TextSettingswordWrap(WordWrap mode)Setter for the word-wrap mode. TextSettingswordWrap(String mode)Setter for the word-wrap mode. -
Methods inherited from class com.anychart.core.resource.resourcelist.SettingsWithMargin
instantiate, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin, margin -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TextSettings
TextSettings(String jsChart)
-
-
Method Detail
-
instantiate
static TextSettings instantiate()
-
fontColor
void fontColor()
Getter for the font color.
-
fontColor
TextSettings fontColor(String color)
Setter for the font color.
-
fontDecoration
void fontDecoration()
Getter for the text font decoration.
-
fontDecoration
TextSettings fontDecoration(Decoration type)
Setter for the text font decoration.
-
fontDecoration
TextSettings fontDecoration(String type)
Setter for the text font decoration.
-
fontFamily
void fontFamily()
Getter for the font family.
-
fontFamily
TextSettings fontFamily(String fontFamily)
Setter for the font family.
-
fontOpacity
void fontOpacity()
Getter for the font opacity.
-
fontOpacity
TextSettings fontOpacity(Number opacity)
Setter for the font opacity.
-
fontSize
void fontSize()
Getter for the text font size.
-
fontSize
TextSettings fontSize(String size)
Setter for the text font size text.
-
fontSize
TextSettings fontSize(Number size)
Setter for the text font size text.
-
fontStyle
void fontStyle()
Getter for the font style.
-
fontStyle
TextSettings fontStyle(FontStyle style)
Setter for the font style.
-
fontStyle
TextSettings fontStyle(String style)
Setter for the font style.
-
fontVariant
void fontVariant()
Getter for the font variant.
-
fontVariant
TextSettings fontVariant(FontVariant type)
Setter for the font variant.
-
fontVariant
TextSettings fontVariant(String type)
Setter for the font variant.
-
fontWeight
void fontWeight()
Getter for the font weight.
-
fontWeight
TextSettings fontWeight(String weight)
Setter for the font weight.
-
fontWeight
TextSettings fontWeight(Number weight)
Setter for the font weight.
-
hAlign
void hAlign()
Getter for the font horizontal align.
-
hAlign
TextSettings hAlign(HAlign align)
Setter for the font horizontal align.
-
hAlign
TextSettings hAlign(String align)
Setter for the font horizontal align.
-
letterSpacing
void letterSpacing()
Getter for the letter spacing.
-
letterSpacing
TextSettings letterSpacing(String spacing)
Setter for the letter spacing.
-
letterSpacing
TextSettings letterSpacing(Number spacing)
Setter for the letter spacing.
-
lineHeight
void lineHeight()
Getter for the font line height.
-
lineHeight
TextSettings lineHeight(String height)
Setter for the font line height.
-
lineHeight
TextSettings lineHeight(Number height)
Setter for the font line height.
-
margin
TextSettings margin(Array<Number> margin)
Setter for the margin using a single value.
-
margin
TextSettings margin(Array<String> margin)
Setter for the margin using a single value.
-
margin
TextSettings margin(String margin)
Setter for the margin using a single value.
-
margin
TextSettings margin(String value1, String value2, String value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, String value2, String value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, String value2, Number value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, String value2, Number value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, Number value2, String value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, Number value2, String value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, Number value2, Number value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(String value1, Number value2, Number value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, String value2, String value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, String value2, String value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, String value2, Number value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, String value2, Number value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, Number value2, String value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, Number value2, String value3, Number value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, Number value2, Number value3, String value4)
Setter for the callout margin using several values.
-
margin
TextSettings margin(Number value1, Number value2, Number value3, Number value4)
Setter for the callout margin using several values.
-
selectable
void selectable()
Getter for the text selectable.
-
selectable
TextSettings selectable(Boolean enabled)
Setter for the text selectable.
-
textDirection
void textDirection()
Getter for the text direction.
-
textDirection
TextSettings textDirection(Direction type)
Setter for the text direction.
-
textDirection
TextSettings textDirection(String type)
Setter for the text direction.
-
textIndent
void textIndent()
Getter for text indent settings.
-
textIndent
TextSettings textIndent(Number indent)
Setter for text indent settings.
-
textOverflow
void textOverflow()
Getter for text overflow settings.
-
textOverflow
TextSettings textOverflow(TextOverflow value)
Setter for text overflow settings.
-
textOverflow
TextSettings textOverflow(String value)
Setter for text overflow settings.
-
useHtml
void useHtml()
Getter for the useHTML flag.
-
useHtml
TextSettings useHtml(Boolean enabled)
Setter for the useHTML flag.
-
vAlign
void vAlign()
Getter for the font vertical align.
-
vAlign
TextSettings vAlign(VAlign align)
Setter for the font vertical align.
-
vAlign
TextSettings vAlign(String align)
Setter for the font vertical align.
-
wordBreak
void wordBreak()
Getter for the word-break mode.
-
wordBreak
TextSettings wordBreak(WordBreak mode)
Setter for the word-break mode.
-
wordBreak
TextSettings wordBreak(String mode)
Setter for the word-break mode.
-
wordWrap
void wordWrap()
Getter for the word-wrap mode.
-
wordWrap
TextSettings wordWrap(WordWrap mode)
Setter for the word-wrap mode.
-
wordWrap
TextSettings wordWrap(String mode)
Setter for the word-wrap mode.
-
-
-
-