public class Format extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Format.FormatBuilder
Builder class for a Format object
|
static class |
Format.FormatSerializer |
| Constructor and Description |
|---|
Format()
Creates a
Format object with default values. |
Format(String original)
Constructs a
Format object using the format string provided by the Smartsheet API. |
| Modifier and Type | Method and Description |
|---|---|
Color |
getBackgroundColor() |
Bold |
getBold() |
Currency |
getCurrency() |
DecimalCount |
getDecimalCount() |
FontFamily |
getFontFamily() |
FontSize |
getFontSize() |
protected <T extends Enum<?>> |
getFormatValue(com.smartsheet.api.models.format.Format.FormatAttribute attribute,
T[] values) |
HorizontalAlignment |
getHorizontalAlignment() |
Italic |
getItalic() |
NumberFormat |
getNumberFormat() |
Strikethrough |
getStrikethrough() |
Color |
getTaskbarColor() |
Color |
getTextColor() |
TextWrap |
getTextWrap() |
ThousandsSeparator |
getThousandsSeparator() |
Underline |
getUnderline() |
VerticalAlignment |
getVerticalAlignment() |
public Format(String original)
Format object using the format string provided by the Smartsheet API.
The format of the string is a comma separated list. See
http://www.smartsheet.com/developers/api-documentation#h.mf6r2e3k3ftb
for detailsoriginal - the originalpublic Format()
Format object with default values.protected <T extends Enum<?>> T getFormatValue(com.smartsheet.api.models.format.Format.FormatAttribute attribute, T[] values)
public FontFamily getFontFamily()
FontFamily.public Strikethrough getStrikethrough()
Strikethrough statuspublic HorizontalAlignment getHorizontalAlignment()
HorizontalAlignmentpublic VerticalAlignment getVerticalAlignment()
VerticalAlignmentpublic DecimalCount getDecimalCount()
DecimalCountpublic ThousandsSeparator getThousandsSeparator()
ThousandsSeparatorpublic NumberFormat getNumberFormat()
NumberFormatCopyright © 2014–2017 Smartsheet. All rights reserved.