public static class Row.AddRowBuilder extends Object
RowWrapper with the necessary fields for inserting a Row or
set of rows.| Constructor and Description |
|---|
AddRowBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Row |
build()
Builds the row object
|
Boolean |
getAbove()
Gets the above flag
|
List<Cell> |
getCells()
Gets the list of cells
|
Boolean |
getExpanded()
Gets the expanded flag
|
Format |
getFormat()
Gets the format
|
Long |
getParentId()
Gets the parent id.
|
Long |
getSiblingId()
Gets the sibling id.
|
Boolean |
getToBottom()
Gets the to bottom.
|
Boolean |
getToTop()
Gets the to top.
|
Row.AddRowBuilder |
setAbove(Boolean above)
Sets the above flag
|
Row.AddRowBuilder |
setCells(List<Cell> cells)
Sets the list of cells
|
Row.AddRowBuilder |
setExpanded(Boolean expanded)
Sets the expanded flag
|
Row.AddRowBuilder |
setFormat(Format format)
Sets the format
|
Row.AddRowBuilder |
setParentId(Long parentId)
Sets the parent id that puts the row as the first child of the specified id.
|
Row.AddRowBuilder |
setSiblingId(Long siblingId)
Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.
|
Row.AddRowBuilder |
setToBottom(Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.
|
Row.AddRowBuilder |
setToTop(Boolean toTop)
Sets the to top flag that puts the row at the top of the sheet.
|
public Boolean getToTop()
public Row.AddRowBuilder setToTop(Boolean toTop)
toTop - the to top flagpublic Boolean getToBottom()
public Row.AddRowBuilder setToBottom(Boolean toBottom)
toBottom - the to bottompublic Long getParentId()
public Row.AddRowBuilder setParentId(Long parentId)
parentId - the parent idpublic Long getSiblingId()
public Row.AddRowBuilder setSiblingId(Long siblingId)
siblingId - the sibling idpublic Boolean getAbove()
public Row.AddRowBuilder setAbove(Boolean above)
above - the above flagpublic Format getFormat()
public Row.AddRowBuilder setFormat(Format format)
format - the formatpublic Boolean getExpanded()
public Row.AddRowBuilder setExpanded(Boolean expanded)
expanded - the expanded flagpublic Row.AddRowBuilder setCells(List<Cell> cells)
cells - the list of cellspublic Row build()
Copyright © 2014–2019 Smartsheet. All rights reserved.