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