< prev index next >

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

Print this page

        

*** 960,972 **** * 2 * </pre> * <p> * A description of these layouts follows: * ! * <table border="1" ! * summary="Describes layouts VERTICAL, HORIZONTAL_WRAP, and VERTICAL_WRAP"> ! * <tr><th><p style="text-align:left">Value</p></th><th><p style="text-align:left">Description</p></th></tr> * <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 --- 960,976 ---- * 2 * </pre> * <p> * A description of these layouts follows: * ! * <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
*** 976,985 **** --- 980,990 ---- * <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:
< prev index next >