public class WidgetContent extends Object
| Constructor and Description |
|---|
WidgetContent() |
| Modifier and Type | Method and Description |
|---|---|
List<CellDataItem> |
getCellData()
Get array of cell data
|
List<Column> |
getColumn()
Get array of column objects
|
String |
getFileName()
Get the file name of the image file
|
String |
getFormat()
Get the format descriptor of the image
|
Integer |
getHeight()
Get the original height of the image in pixels
|
String |
getHtml()
Get widget content as HTML
|
String |
getHtmlContent()
Get HTML snippet to render Report
|
Link |
getHyperlink()
Get "when clicked" hyperlink
|
String |
getPrivateId()
Get the image private Id
|
List<ShortcutDataItem> |
getShortcutData()
Get array of ShortcutDataItem objects.
|
Integer |
getWidth()
Get the original width of the image in pixels
|
WidgetContent |
setCellData(List<CellDataItem> cellData)
Set array of cell data
|
WidgetContent |
setColumn(List<Column> column)
Set array of column objects
|
WidgetContent |
setFileName(String fileName)
Set the file name of the image file
|
WidgetContent |
setFormat(String format)
Set the format descriptor of the image
|
WidgetContent |
setHeight(Integer height)
Set the original height of the image in pixels
|
WidgetContent |
setHtml(String html)
Set widget content as HTML
|
WidgetContent |
setHtmlContent(String htmlContent)
Set HTML snippet to render Report
|
WidgetContent |
setHyperlink(Link hyperlink)
Set "when clicked" hyperlink
|
WidgetContent |
setPrivateId(String privateId)
Set the image private Id
|
WidgetContent |
setShortcutData(List<ShortcutDataItem> shortcutData)
Set the array of ShortcutDataItems
|
WidgetContent |
setWidth(Integer width)
Set the original width of the image in pixels
|
public Link getHyperlink()
public WidgetContent setHyperlink(Link hyperlink)
hyperlink - public List<CellDataItem> getCellData()
public WidgetContent setCellData(List<CellDataItem> cellData)
cellData - public WidgetContent setColumn(List<Column> column)
column - public String getHtml()
public WidgetContent setHtml(String html)
html - public List<ShortcutDataItem> getShortcutData()
public WidgetContent setShortcutData(List<ShortcutDataItem> shortcutData)
shortcutData - public String getHtmlContent()
public WidgetContent setHtmlContent(String htmlContent)
htmlContent - public String getPrivateId()
public WidgetContent setPrivateId(String privateId)
privateId - public Integer getHeight()
public WidgetContent setHeight(Integer height)
height - public Integer getWidth()
public WidgetContent setWidth(Integer width)
width - public String getFileName()
public WidgetContent setFileName(String fileName)
fileName - public String getFormat()
public WidgetContent setFormat(String format)
format - Copyright © 2014–2017 Smartsheet. All rights reserved.