Class ViewSpecification.Column
Object
Column
- Enclosing class:
- ViewSpecification
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 specialcsidwhile all other columns have numeric incrementingcsid.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:
StringIntegerLongDoubleBooleanListwith all elements in the list being of supported parameter typeMapwith all keys in the map beingStrings and all values of supported parameter type
Class ViewSpecification.Column is immutable and thread-safe. To create or change a column,
use ViewSpecification.Column.Builder.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classViewSpecification.Column.Builderis used to create instances ofViewSpecification.Column, and also to convert them to JSON format. -
Method Summary