public class ImageWidgetContent extends Object implements WidgetContent
| Constructor and Description |
|---|
ImageWidgetContent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Gets the name of the image file
|
Format |
getFormat()
Gets the formatDescriptor for the image file
|
Integer |
getHeight()
Gets the original height of the image in pixels
|
WidgetHyperlink |
getHyperlink()
Gets the hyperlink associated with this Widget
|
String |
getPrivateId()
Gets the image private ID
|
WidgetType |
getWidgetType()
Returns the type for this widget content object
|
Integer |
getWidth()
Gets the original width of the image in pixels
|
ImageWidgetContent |
setFileName(String fileName)
Sets the name of the image file
|
ImageWidgetContent |
setFormat(Format format)
Sets the formatDescriptor for the image file
|
ImageWidgetContent |
setHeight(Integer height)
Sets the original height of the image in pixels
|
ImageWidgetContent |
setHyperlink(WidgetHyperlink hyperlink)
Sets the hyperlink associated with this Widget
|
ImageWidgetContent |
setPrivateId(String privateId)
Sets the image private ID
|
ImageWidgetContent |
setWidth(Integer width)
Sets the original width of the image in pixels
|
public WidgetType getWidgetType()
getWidgetType in interface WidgetContentpublic String getPrivateId()
public ImageWidgetContent setPrivateId(String privateId)
privateId - public String getFileName()
public ImageWidgetContent setFileName(String fileName)
fileName - public Format getFormat()
public ImageWidgetContent setFormat(Format format)
format - public Integer getHeight()
public ImageWidgetContent setHeight(Integer height)
height - public WidgetHyperlink getHyperlink()
public ImageWidgetContent setHyperlink(WidgetHyperlink hyperlink)
hyperlink - public Integer getWidth()
public ImageWidgetContent setWidth(Integer width)
width - Copyright © 2014–2019 Smartsheet. All rights reserved.