Package co.ecg.alpaca.core.table
Class AlpacaTableColumn
- java.lang.Object
-
- co.ecg.alpaca.core.table.AlpacaTableColumn
-
public class AlpacaTableColumn extends Object
A column for an AlpacaTable- Version:
- $Id: $Id
- Author:
- jpuckett on 3/27/17.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlpacaTableColumn.ColumnType
-
Constructor Summary
Constructors Constructor Description AlpacaTableColumn(AlpacaTableColumn.ColumnType type, String heading)
Constructor for AlpacaTableColumn.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlpacaTableColumn
addDateFormat(String dateFormat)
addDateFormat.String
getDateFormat()
Getter for the fielddateFormat
.String
getHeading()
Getter for the fieldheading
.AlpacaTableColumn.ColumnType
getType()
Getter for the fieldtype
.void
setHeading(String heading)
Setter for the fieldheading
.void
setType(AlpacaTableColumn.ColumnType type)
Setter for the fieldtype
.
-
-
-
Constructor Detail
-
AlpacaTableColumn
public AlpacaTableColumn(AlpacaTableColumn.ColumnType type, String heading)
Constructor for AlpacaTableColumn.
- Parameters:
type
- aAlpacaTableColumn.ColumnType
object.heading
- aString
object.
-
-
Method Detail
-
getType
public AlpacaTableColumn.ColumnType getType()
Getter for the field
type
.- Returns:
- a
AlpacaTableColumn.ColumnType
object.
-
setType
public void setType(AlpacaTableColumn.ColumnType type)
Setter for the field
type
.- Parameters:
type
- aAlpacaTableColumn.ColumnType
object.
-
setHeading
public void setHeading(String heading)
Setter for the field
heading
.- Parameters:
heading
- aString
object.
-
addDateFormat
public AlpacaTableColumn addDateFormat(String dateFormat)
addDateFormat.
- Parameters:
dateFormat
- aString
object.- Returns:
- a
AlpacaTableColumn
object.
-
-