private void setColumnsSize ( final double min , final double max , final String ... columnPropertyIds ) { for ( final String columnPropertyId : columnPropertyIds ) { getColumn ( columnPropertyId ) . setMinimumWidth ( min ) ; getColumn ( columnPropertyId ) . setMaximumWidth ( max ) ; } }
Conveniently sets min - and max - width for a bunch of columns .