Package com.smartsheet.api.models
Class TitleRichTextWidgetContent
- java.lang.Object
-
- com.smartsheet.api.models.TitleRichTextWidgetContent
-
- All Implemented Interfaces:
WidgetContent
public class TitleRichTextWidgetContent extends java.lang.Object implements WidgetContent
-
-
Constructor Summary
Constructors Constructor Description TitleRichTextWidgetContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBackgroundColor()
Gets the hex color for the backgroundjava.lang.String
getHtmlContent()
Gets the HTML snippet to render title or rich textWidgetType
getWidgetType()
Returns the type for this widget content objectTitleRichTextWidgetContent
setBackgroundColor(java.lang.String backgroundColor)
Sets the hex color for the backgroundTitleRichTextWidgetContent
setHtmlContent(java.lang.String htmlContent)
Sets the HTML snippet to render title or rich text
-
-
-
Method Detail
-
getWidgetType
public WidgetType getWidgetType()
Returns the type for this widget content object- Specified by:
getWidgetType
in interfaceWidgetContent
- Returns:
- TITLE
-
getBackgroundColor
public java.lang.String getBackgroundColor()
Gets the hex color for the background- Returns:
- the hex color
-
setBackgroundColor
public TitleRichTextWidgetContent setBackgroundColor(java.lang.String backgroundColor)
Sets the hex color for the background
-
getHtmlContent
public java.lang.String getHtmlContent()
Gets the HTML snippet to render title or rich text- Returns:
- the HTML snippet
-
setHtmlContent
public TitleRichTextWidgetContent setHtmlContent(java.lang.String htmlContent)
Sets the HTML snippet to render title or rich text
-
-