| Package | Description |
|---|---|
| com.smartsheet.api.models |
| Modifier and Type | Method and Description |
|---|---|
WidgetContent |
Widget.getContents()
Get the data that specifies the contents of the widget.
|
WidgetContent |
WidgetContent.setCellData(List<CellDataItem> cellData)
Set array of cell data
|
WidgetContent |
WidgetContent.setColumn(List<Column> column)
Set array of column objects
|
WidgetContent |
WidgetContent.setFileName(String fileName)
Set the file name of the image file
|
WidgetContent |
WidgetContent.setFormat(String format)
Set the format descriptor of the image
|
WidgetContent |
WidgetContent.setHeight(Integer height)
Set the original height of the image in pixels
|
WidgetContent |
WidgetContent.setHtml(String html)
Set widget content as HTML
|
WidgetContent |
WidgetContent.setHtmlContent(String htmlContent)
Set HTML snippet to render Report
|
WidgetContent |
WidgetContent.setHyperlink(Link hyperlink)
Set "when clicked" hyperlink
|
WidgetContent |
WidgetContent.setPrivateId(String privateId)
Set the image private Id
|
WidgetContent |
WidgetContent.setShortcutData(List<ShortcutDataItem> shortcutData)
Set the array of ShortcutDataItems
|
WidgetContent |
WidgetContent.setWidth(Integer width)
Set the original width of the image in pixels
|
| Modifier and Type | Method and Description |
|---|---|
Widget |
Widget.setContents(WidgetContent contents)
Get the data that specifies the contents of the widget.
|
Copyright © 2014–2017 Smartsheet. All rights reserved.