public static class ViewSpecification.Column extends Object
Represents a single column configuration in the Structure widget.
Structure columns have the following properties:
csid
- mandatory property that should be an unique column ID within the view specification. Typically,
special columns have special csid
while all other columns have numeric incrementing csid
.key
- mandatory property that defines the class of the column, its behavior. As of Structure 2.0, there's a predefined
set of supported column keys. In the future, we plan to make it expandable.name
- optional property that defines the header of the column in the grid. If not set, default
header is used as decided by the column class.parameters
- an unbounded map of any parameters that make sense to the specific class of the column.
Supported parameter value types:
String
Integer
Long
Double
Boolean
List
with all elements in the list being of supported parameter typeMap
with all keys in the map being String
s and all values of supported parameter typeClass ViewSpecification.Column
is immutable and thread-safe. To create or change a column,
use ViewSpecification.Column.Builder
.
Modifier and Type | Class and Description |
---|---|
static class |
ViewSpecification.Column.Builder
ViewSpecification.Column.Builder is used to create instances of ViewSpecification.Column ,
and also to convert them to JSON format. |
Copyright © 2024 Tempo Software. All Rights Reserved.