public class ScaleLabel extends Object
Constructor and Description |
---|
ScaleLabel() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getDisplay() |
Color |
getFontColor() |
String |
getFontFamily() |
BigDecimal |
getFontSize() |
FontStyle |
getFontStyle() |
String |
getLabelString() |
ScaleLabel |
setDisplay(Boolean display)
Default
false |
ScaleLabel |
setFontColor(Color fontColor)
Font color for the scale title.
|
ScaleLabel |
setFontFamily(String fontFamily)
Font family for the scale title, follows CSS font-family options.
|
ScaleLabel |
setFontSize(BigDecimal fontSize)
Font size for the scale title.
|
ScaleLabel |
setFontStyle(FontStyle fontStyle)
Font style for the scale title, follows CSS font-style options (i.e.
|
ScaleLabel |
setLabelString(String labelString)
The text for the title.
|
public Boolean getDisplay()
setDisplay(Boolean)
public ScaleLabel setDisplay(Boolean display)
Default false
public String getLabelString()
setLabelString(String)
public ScaleLabel setLabelString(String labelString)
The text for the title. (i.e. "# of People", "Response Choices")
Default ""
public Color getFontColor()
setFontColor(Color)
public ScaleLabel setFontColor(Color fontColor)
Font color for the scale title.
Default "#666"
public String getFontFamily()
setFontFamily(String)
public ScaleLabel setFontFamily(String fontFamily)
Font family for the scale title, follows CSS font-family options.
Default "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
public BigDecimal getFontSize()
setFontSize(BigDecimal)
public ScaleLabel setFontSize(BigDecimal fontSize)
Font size for the scale title.
Default 12
public FontStyle getFontStyle()
setFontStyle(FontStyle)
public ScaleLabel setFontStyle(FontStyle fontStyle)
Font style for the scale title, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
Default "normal"
Copyright © 2017. All rights reserved.