Searched refs:fixedCellWidth (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJList.java202 * To avoid these calculations, you can set a {@code fixedCellWidth} and
213 * // compute values for the fixedCellWidth and fixedCellHeight
314 private int fixedCellWidth = -1; field in class:JList
565 * to update the fixedCellWidth and fixedCellHeight properties from the
568 * This method sets fixedCellWidth and fixedCellHeight but does <b>not</b>
592 fixedCellWidth = d.width;
614 * is {@code non-null}), computes the {@code fixedCellWidth} and
625 * {@code fixedCellHeight}, and {@code fixedCellWidth} properties may be
637 * <code>fixedCellWidth</code> and
653 * then recompute fixedCellWidth an
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java533 * the yellow focus outline. Similarly if fixedCellWidth is
1320 * values of fixedCellWidth, fixedCellHeight, and prototypeCellValue.
1326 /* If both JList fixedCellWidth and fixedCellHeight have been
1332 int fixedCellWidth = list.getFixedCellWidth();
1334 cellWidth = (fixedCellWidth != -1) ? fixedCellWidth : -1;
1345 /* If either of JList fixedCellWidth and fixedCellHeight haven't
1352 if ((fixedCellWidth == -1) || (fixedCellHeight == -1)) {
1364 if (fixedCellWidth == -1) {
1387 updateHorizontalLayoutState(fixedCellWidth, fixedCellHeigh
1399 updateHorizontalLayoutState(int fixedCellWidth, int fixedCellHeight) argument
[all...]

Completed in 53 milliseconds