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.StringgetBackgroundColor()Gets the hex color for the backgroundjava.lang.StringgetHtmlContent()Gets the HTML snippet to render title or rich textWidgetTypegetWidgetType()Returns the type for this widget content objectTitleRichTextWidgetContentsetBackgroundColor(java.lang.String backgroundColor)Sets the hex color for the backgroundTitleRichTextWidgetContentsetHtmlContent(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:
getWidgetTypein 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
-
-