public class Column extends IdentifiableModel<Long>
| Modifier and Type | Class and Description |
|---|---|
static class |
Column.AddColumnToSheetBuilder
A convenience class to help create a column object with the appropriate fields for adding to a sheet.
|
static class |
Column.UpdateColumnBuilder
The Class UpdateColumnBuilder.
|
| Constructor and Description |
|---|
Column() |
| Modifier and Type | Method and Description |
|---|---|
AutoNumberFormat |
getAutoNumberFormat()
Gets the format for the auto generated numbers.
|
List<Contact> |
getContactOptions()
Gets a list of contact options
|
Filter |
getFilter()
Gets the filter
|
Format |
getFormat() |
Boolean |
getHidden()
Gets the hidden flag.
|
Integer |
getIndex()
Gets the position of the column.
|
List<String> |
getOptions()
Gets the list of options for the column.
|
Boolean |
getPrimary()
Gets the primary flag for the column.
|
Symbol |
getSymbol()
Gets the symbol for the column.
|
SystemColumnType |
getSystemColumnType()
Gets the system column type.
|
List<ColumnTag> |
getTags()
Gets the tags that indicate a special type of column.
|
String |
getTitle()
Gets the title for the column.
|
ColumnType |
getType()
Gets the column type.
|
Boolean |
getValidation()
Gets the value of the validation flag
|
Integer |
getWidth()
Gets the width
|
Boolean |
isLocked()
Gets the locked flag
|
Boolean |
isLockedForUser()
Gets the locked for user flag
|
Column |
setAutoNumberFormat(AutoNumberFormat autoNumberFormat)
Sets the format for the auto generated numbers.
|
Column |
setContactOptions(List<Contact> contactOptions)
Sets the list of contact options
|
Column |
setFilter(Filter filter)
Sets the filter
|
Column |
setFormat(Format format) |
Column |
setHidden(Boolean hidden)
Sets the hidden flag.
|
Column |
setIndex(Integer index)
Sets the position of the column.
|
Column |
setLocked(Boolean locked)
Sets the locked flag
|
Column |
setLockedForUser(Boolean lockedForUser)
Sets the locked for user flag
|
Column |
setOptions(List<String> options)
Sets the list of options for the column.
|
Column |
setPrimary(Boolean primary)
Sets the primary flag for the column.
|
Column |
setSymbol(Symbol symbol)
Sets the symbol for the column.
|
Column |
setSystemColumnType(SystemColumnType systemColumnType)
Sets the system column type.
|
Column |
setTags(List<ColumnTag> tags)
Sets the tags to indicate a special type of column.
|
Column |
setTitle(String title)
Sets the title for the column.
|
Column |
setType(ColumnType type)
Sets the column type.
|
Column |
setValidation(Boolean validation)
Sets the value of the validation flag
|
Column |
setWidth(Integer width)
Sets the width
|
equals, getId, hashCode, setIdpublic Integer getIndex()
public Column setIndex(Integer index)
index - the new indexpublic String getTitle()
public Column setTitle(String title)
title - the new titlepublic Boolean getPrimary()
public Column setPrimary(Boolean primary)
primary - the new primary flagpublic ColumnType getType()
public Column setType(ColumnType type)
type - the new typepublic List<String> getOptions()
public Column setOptions(List<String> options)
options - the new optionspublic Boolean getHidden()
public Column setHidden(Boolean hidden)
hidden - the new hidden flagpublic Symbol getSymbol()
public Column setSymbol(Symbol symbol)
symbol - the new symbolpublic SystemColumnType getSystemColumnType()
public Column setSystemColumnType(SystemColumnType systemColumnType)
systemColumnType - the new system column typepublic AutoNumberFormat getAutoNumberFormat()
public Column setAutoNumberFormat(AutoNumberFormat autoNumberFormat)
autoNumberFormat - the new auto number formatpublic List<Contact> getContactOptions()
public Column setContactOptions(List<Contact> contactOptions)
contactOptions - the new list of contact optionspublic List<ColumnTag> getTags()
public Column setTags(List<ColumnTag> tags)
tags - the new tagspublic Boolean isLocked()
public Column setLocked(Boolean locked)
locked - the locked flagpublic Boolean isLockedForUser()
public Column setLockedForUser(Boolean lockedForUser)
lockedForUser - the locked for user flagpublic Integer getWidth()
public Filter getFilter()
public Boolean getValidation()
Copyright © 2014–2017 Smartsheet. All rights reserved.