Class ColumnsLayoutCache.LayoutInfo

java.lang.Object
io.github.palexdev.virtualizedfx.table.ColumnsLayoutCache.LayoutInfo
All Implemented Interfaces:
Comparable<ColumnsLayoutCache<T>.LayoutInfo>
Enclosing class:
ColumnsLayoutCache<T>

public class ColumnsLayoutCache.LayoutInfo extends Object implements Comparable<ColumnsLayoutCache<T>.LayoutInfo>
Wrapper class for layout data related to a specific VFXTableColumn. This stores: its index [init:-1], its width as a DoubleBinding, its x position [default:-1.0], and its visibility [default:null].

Width handling

For better performance, the column's width is stored as a binding, so the value is computed lazily (only upon request). Invalidation is handled "manually". Check createWidthBinding() for more details.

Null visibility? What?

This uses null as a possible visibility value, to indicate that it is invalid and thus must be computed.

  • Constructor Details

  • Method Details