/** * Limit the number of list elements will be layed out along the X axis. * This is the number of logical columns, which may differ from the layout * columns used within each cell. * * <p>Note that when the columns are limited, rows are automatically unlimited. * * @param elementColumns the number of logical columns, between 1 and * {@link Integer#MAX_VALUE}. */ public void setElementColumns(int elementColumns) { if(elementColumns < 1) throw new IllegalArgumentException("elementColumns must be in the range [1, " + Integer.MAX_VALUE + "]"); listLayout.setElementColumns(elementColumns); }
/** * Limit the number of list elements will be layed out along the X axis. * This is the number of logical columns, which may differ from the layout * columns used within each cell. * * <p>Note that when the columns are limited, rows are automatically unlimited. * * @param elementColumns the number of logical columns, between 1 and * {@link Integer#MAX_VALUE}. */ public void setElementColumns(int elementColumns) { if(elementColumns < 1) throw new IllegalArgumentException("elementColumns must be in the range [1, " + Integer.MAX_VALUE + "]"); listLayout.setElementColumns(elementColumns); }
/** * Limit the number of list elements will be layed out along the X axis. * This is the number of logical columns, which may differ from the layout * columns used within each cell. * * <p>Note that when the columns are limited, rows are automatically unlimited. * * @param elementColumns the number of logical columns, between 1 and * {@link Integer#MAX_VALUE}. */ public void setElementColumns(int elementColumns) { if(elementColumns < 1) throw new IllegalArgumentException("elementColumns must be in the range [1, " + Integer.MAX_VALUE + "]"); listLayout.setElementColumns(elementColumns); }