< prev index next >

src/java.desktop/share/classes/javax/swing/JList.java

Print this page

        

*** 964,992 **** * * <table class="striped"> * <caption>Describes layouts VERTICAL,HORIZONTAL_WRAP, and VERTICAL_WRAP * </caption> * <thead> ! * <tr><th>Value</th><th>Description</th></tr> * </thead> * <tbody> ! * <tr><td><code>VERTICAL</code> * <td>Cells are layed out vertically in a single column. ! * <tr><td><code>HORIZONTAL_WRAP</code> * <td>Cells are layed out horizontally, wrapping to a new row as ! * necessary. If the {@code visibleRowCount} property is less than ! * or equal to zero, wrapping is determined by the width of the ! * list; otherwise wrapping is done in such a way as to ensure * {@code visibleRowCount} rows in the list. ! * <tr><td><code>VERTICAL_WRAP</code> * <td>Cells are layed out vertically, wrapping to a new column as ! * necessary. If the {@code visibleRowCount} property is less than ! * or equal to zero, wrapping is determined by the height of the ! * list; otherwise wrapping is done at {@code visibleRowCount} rows. * </tbody> * </table> ! * <p> * The default value of this property is <code>VERTICAL</code>. * * @param layoutOrientation the new layout orientation, one of: * {@code VERTICAL}, {@code HORIZONTAL_WRAP} or {@code VERTICAL_WRAP} * @see #getLayoutOrientation --- 964,997 ---- * * <table class="striped"> * <caption>Describes layouts VERTICAL,HORIZONTAL_WRAP, and VERTICAL_WRAP * </caption> * <thead> ! * <tr> ! * <th scope="col">Value ! * <th scope="col">Description * </thead> * <tbody> ! * <tr> ! * <th scope="row">{@code VERTICAL} * <td>Cells are layed out vertically in a single column. ! * <tr> ! * <th scope="row">{@code HORIZONTAL_WRAP} * <td>Cells are layed out horizontally, wrapping to a new row as ! * necessary. If the {@code visibleRowCount} property is less than or ! * equal to zero, wrapping is determined by the width of the list; ! * otherwise wrapping is done in such a way as to ensure * {@code visibleRowCount} rows in the list. ! * <tr> ! * <th scope="row">{@code VERTICAL_WRAP} * <td>Cells are layed out vertically, wrapping to a new column as ! * necessary. If the {@code visibleRowCount} property is less than or ! * equal to zero, wrapping is determined by the height of the list; ! * otherwise wrapping is done at {@code visibleRowCount} rows. * </tbody> * </table> ! * * The default value of this property is <code>VERTICAL</code>. * * @param layoutOrientation the new layout orientation, one of: * {@code VERTICAL}, {@code HORIZONTAL_WRAP} or {@code VERTICAL_WRAP} * @see #getLayoutOrientation
< prev index next >