Class ChartTextStyle
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.Charts.ChartTextStyle
-
public class ChartTextStyle extends java.lang.Object
This class represent chart styling.
-
-
Constructor Summary
Constructors Constructor Description ChartTextStyle(java.lang.Boolean italic, java.lang.Boolean bold, java.lang.String color, java.lang.String font)
Contains the styling options for the text of the chart.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getBold()
java.lang.String
getColor()
java.lang.String
getFont()
java.lang.Boolean
getItalic()
com.google.gson.JsonObject
getJSON()
void
setBold(java.lang.Boolean bold)
void
setColor(java.lang.String color)
void
setFont(java.lang.String font)
void
setItalic(java.lang.Boolean italic)
-
-
-
Constructor Detail
-
ChartTextStyle
public ChartTextStyle(java.lang.Boolean italic, java.lang.Boolean bold, java.lang.String color, java.lang.String font)
Contains the styling options for the text of the chart.- Parameters:
italic
- Whether the text is in italic.bold
- Whether the text is in bold.color
- Color of the text.font
- Font of the text.
-
-
Method Detail
-
getItalic
public java.lang.Boolean getItalic()
- Returns:
- Whether the chart text is in italic.
-
setItalic
public void setItalic(java.lang.Boolean italic)
- Parameters:
italic
- Whether the chart text is in italic.
-
getBold
public java.lang.Boolean getBold()
- Returns:
- Whether the chart text is in bold.
-
setBold
public void setBold(java.lang.Boolean bold)
- Parameters:
bold
- Whether the chart text is in bold.
-
getColor
public java.lang.String getColor()
- Returns:
- Color of the text.
-
setColor
public void setColor(java.lang.String color)
- Parameters:
color
- Color of the text.
-
getFont
public java.lang.String getFont()
- Returns:
- Font of the text.
-
setFont
public void setFont(java.lang.String font)
- Parameters:
font
- Font of the text.
-
getJSON
public com.google.gson.JsonObject getJSON()
- Returns:
- JSONObject with the tags for this element for the Cloud Office Print server.
-
-