module Tablo::Config::Controls
Overview
Default control values for Table and/or Column initialization, with associated getters and setters.
Defined in:
config.crConstant Summary
-
BODY_WRAP_RANGE =
1..8
-
Default range of allowable values for
body_wrap
Check is done by theTable#check_body_wrap
private method, when initializing a Table. -
COLUMN_WIDTH_RANGE =
1..128
-
Default range of allowable values for column
width
Check is done by theTable#check_width
private method, when initializing a Table. -
HEADER_FREQUENCY_RANGE =
0..64
-
Default range of allowable values for header frequency
Check is done by theTable#check_header_frequency
private method, when initializing a Table. -
HEADER_WRAP_RANGE =
1..8
-
Default range of allowable values for
header_wrap
Check is done by theTable#check_header_wrap
private method, when initializing a Table. -
LINE_BREAKS_RANGE =
0..8
-
Default range of allowable values for
line_breaks_before
andline_breaks_after
attributes
Check is done in 'Tablo::Frame` struct -
PADDING_WIDTH_RANGE =
0..8
-
Default range of allowable values for paddings (left or right)
Check is done by theTable#check_padding
private method, when initializing a Table or Column. -
ROUNDING_RANGE =
-8..8
-
Default range of allowable values for rounding in
Tablo::Functions.fp_align
Check is done insideTablo::Functions.fp_align
method -
ROW_DIVIDER_FREQUENCY_RANGE =
1..8
-
Default range of allowable values for
row_divider_frequency
Check is done by theTable#check_row_divider_frequency
private method, when initializing a Table.
Class Method Summary
-
.body_wrap_range : Range(Int32, Int32)
See
BODY_WRAP_RANGE
-
.body_wrap_range=(body_wrap_range : Range(Int32, Int32))
See
BODY_WRAP_RANGE
- .column_width_range : Range(Int32, Int32)
- .column_width_range=(column_width_range : Range(Int32, Int32))
- .header_frequency_range : Range(Int32, Int32)
- .header_frequency_range=(header_frequency_range : Range(Int32, Int32))
- .header_wrap_range : Range(Int32, Int32)
- .header_wrap_range=(header_wrap_range : Range(Int32, Int32))
- .line_breaks_range : Range(Int32, Int32)
- .line_breaks_range=(line_breaks_range : Range(Int32, Int32))
- .padding_width_range : Range(Int32, Int32)
- .padding_width_range=(padding_width_range : Range(Int32, Int32))
-
.rounding_range : Range(Int32, Int32)
see
ROUNDING_RANGE
-
.rounding_range=(rounding_range : Range(Int32, Int32))
see
ROUNDING_RANGE
- .row_divider_frequency_range : Range(Int32, Int32)
- .row_divider_frequency_range=(row_divider_frequency_range : Range(Int32, Int32))