Lines Matching defs:minimum
180 * This property must be greater than or equal to <code>minimum</code>
192 * This value must be greater than the <code>minimum</code>
202 * The minimum value of the <code>Scrollbar</code>.
210 int minimum;
325 * <td>minimum</td>
326 * <td>minimum value of the scroll bar</td>
381 * initial value, visible amount, and minimum and maximum values.
395 * @param minimum the minimum value of the scroll bar
404 public Scrollbar(int orientation, int value, int visible, int minimum,
415 setValues(value, visible, minimum, maximum);
509 * If the value supplied is less than the current <code>minimum</code>
511 * then either <code>minimum</code> or <code>maximum - visibleAmount</code>
517 * and synchronously sets the minimum, maximum, visible amount,
532 // minimum, maximum, visible amount, and value is enforced.
533 setValues(newValue, visibleAmount, minimum, maximum);
537 * Gets the minimum value of this scroll bar.
539 * @return the minimum value of this scroll bar
544 return minimum;
548 * Sets the minimum value of this scroll bar.
550 * When <code>setMinimum</code> is called, the minimum value
553 * are changed to be consistent with the new minimum.
555 * Normally, a program should change a scroll bar's minimum
558 * and synchronously sets the minimum, maximum, visible amount,
562 * Note that setting the minimum value to <code>Integer.MAX_VALUE</code>
563 * will result in the new minimum value being set to
566 * @param newMinimum the new minimum value for this scroll bar
572 // No checks are necessary in this method since minimum is
576 // minimum, maximum, visible amount, and value is enforced.
595 * is changed, and other values (including the minimum, the
602 * and synchronously sets the minimum, maximum, visible amount,
617 // minimum is checked first in setValues, so we need to
618 // enforce minimum and maximum checks here.
623 if (minimum >= newMaximum) {
624 minimum = newMaximum - 1;
628 // minimum, maximum, visible amount, and value is enforced.
629 setValues(value, visibleAmount, minimum, newMaximum);
686 * or greater than the current <code>maximum - minimum</code>,
687 * then either <code>one</code> or <code>maximum - minimum</code>
693 * and synchronously sets the minimum, maximum, visible amount,
704 // minimum, maximum, visible amount, and value is enforced.
705 setValues(value, newAmount, minimum, maximum);
841 * <code>minimum</code>, and <code>maximum</code>.
849 * <code>maximum</code> must be greater than <code>minimum</code>,
850 * <code>maximum - minimum</code> must not be greater
854 * <code>maximum - minimum</code>,
855 * <code>value</code> must not be less than <code>minimum</code>,
864 * @param minimum is the minimum value of the scroll bar
871 public void setValues(int value, int visible, int minimum, int maximum) {
874 if (minimum == Integer.MAX_VALUE) {
875 minimum = Integer.MAX_VALUE - 1;
877 if (maximum <= minimum) {
878 maximum = minimum + 1;
881 long maxMinusMin = (long) maximum - (long) minimum;
884 maximum = minimum + (int) maxMinusMin;
893 if (value < minimum) {
894 value = minimum;
903 this.minimum = minimum;
907 peer.setValues(value, visibleAmount, minimum, maximum);
1137 ",min=" + minimum +
1318 * Get the minimum accessible value of this object.
1320 * @return The minimum value of this object.