public class Widget extends IdentifiableModel<Long>
| Constructor and Description |
|---|
Widget() |
| Modifier and Type | Method and Description |
|---|---|
WidgetContent |
getContents()
Get the data that specifies the contents of the widget.
|
Integer |
getHeight()
Get the number of rows that the widget occupies
|
Boolean |
getShowTitle()
Get flag indicating if the client should display the widget title.
|
Boolean |
getShowTitleIcon()
Get flag indicating if the client should display the sheet icon.
|
String |
getTitle()
Get the title of the widget.
|
Format |
getTitleFormat()
Get the title format descriptor string
|
WidgetType |
getType()
Get the type of the widget
|
Integer |
getVersion()
Get the widget version number
|
Integer |
getWidth()
Get the number of columns that the widget occupies
|
Integer |
getXPosition()
Get the x-coordinate of widget's position on the sight.
|
Integer |
getYPosition()
Get the y-coordinate of widget's position on the sight.
|
Widget |
setContents(WidgetContent contents)
Get the data that specifies the contents of the widget.
|
Widget |
setHeight(Integer height)
Set the number of rows that the widget occupies
|
Widget |
setShowTitle(Boolean showTitle)
Set flag indicating if the client should display the widget title.
|
Widget |
setShowTitleIcon(Boolean showTitleIcon)
Set flag indicating if the client should display the sheet icon.
|
Widget |
setTitle(String title)
Set the title of the widget.
|
Widget |
setTitleFormat(Format titleFormat)
Set the title format descriptor string
|
Widget |
setType(WidgetType type)
Set the type of the widget
|
Widget |
setVersion(Integer version)
Set the widget version number
|
Widget |
setWidth(Integer width)
Set the number of columns that the widget occupies
|
Widget |
setXPosition(Integer xPosition)
Set the x-coordinate of widget's position on the sight.
|
Widget |
setYPosition(Integer yPosition)
Set the y-coordinate of widget's position on the sight.
|
equals, getId, hashCode, setIdpublic WidgetType getType()
public Widget setType(WidgetType type)
type - public String getTitle()
public Boolean getShowTitle()
public Widget setShowTitle(Boolean showTitle)
showTitle - public Boolean getShowTitleIcon()
public Widget setShowTitleIcon(Boolean showTitleIcon)
showTitleIcon - public Format getTitleFormat()
public Widget setTitleFormat(Format titleFormat)
titleFormat - public Integer getXPosition()
public Widget setXPosition(Integer xPosition)
xPosition - public Integer getYPosition()
public Widget setYPosition(Integer yPosition)
yPosition - public Integer getHeight()
public Widget setHeight(Integer height)
height - public Integer getWidth()
public Widget setWidth(Integer width)
width - public Integer getVersion()
public Widget setVersion(Integer version)
version - public WidgetContent getContents()
public Widget setContents(WidgetContent contents)
contents - Copyright © 2014–2019 Smartsheet. All rights reserved.