class
Sheen::TableResizer::Column
- Sheen::TableResizer::Column
- Reference
- Object
Overview
A single column's measured area during resizing.
Defined in:
sheen/table_resizer.crConstructors
-
.new(index : Int32, min : Int32, max : Int32, median : Int32)
Creates a column area tracker with the given index and initial min/max/median widths.
Instance Method Summary
- #fixed_width : Int32
- #fixed_width=(fixed_width : Int32)
- #index : Int32
- #index=(index : Int32)
- #max : Int32
- #max=(max : Int32)
- #median : Int32
- #median=(median : Int32)
- #min : Int32
- #min=(min : Int32)
- #rows : Array(Array(String))
- #rows=(rows : Array(Array(String)))
- #x_padding : Int32
- #x_padding=(x_padding : Int32)
Constructor Detail
def self.new(index : Int32, min : Int32, max : Int32, median : Int32)
#
Creates a column area tracker with the given index and initial min/max/median widths.