Lines Matching refs:maximum

74  * Note that the actual maximum value of the scroll bar is the
75 * <code>maximum</code> minus the <code>visible amount</code>.
76 * In the previous example, because the <code>maximum</code> is
77 * 300 and the <code>visible amount</code> is 60, the actual maximum
182 * <code>maximum - visibleAmount</code>
191 * The maximum value of the <code>Scrollbar</code>.
199 int maximum;
203 * This value must be less than the <code>maximum</code>
330 * <td>maximum</td>
331 * <td>maximum value of the scroll bar</td>
381 * initial value, visible amount, and minimum and maximum values.
396 * @param maximum the maximum value of the scroll bar
405 int maximum) throws HeadlessException {
415 setValues(value, visible, minimum, maximum);
510 * or greater than the current <code>maximum - visibleAmount</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);
551 * is changed, and other values (including the maximum, the
558 * and synchronously sets the minimum, maximum, visible amount,
576 // minimum, maximum, visible amount, and value is enforced.
577 setValues(value, visibleAmount, newMinimum, maximum);
581 * Gets the maximum value of this scroll bar.
583 * @return the maximum value of this scroll bar
588 return maximum;
592 * Sets the maximum value of this scroll bar.
594 * When <code>setMaximum</code> is called, the maximum value
597 * are changed to be consistent with the new maximum.
599 * Normally, a program should change a scroll bar's maximum
602 * and synchronously sets the minimum, maximum, visible amount,
606 * Note that setting the maximum value to <code>Integer.MIN_VALUE</code>
607 * will result in the new maximum value being set to
610 * @param newMaximum the new maximum value
618 // enforce minimum and maximum checks here.
628 // minimum, maximum, visible amount, and value is enforced.
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>,
857 * <code>maximum - visibleAmount</code>
865 * @param maximum is the maximum value of the scroll bar
871 public void setValues(int value, int visible, int minimum, int maximum) {
877 if (maximum <= minimum) {
878 maximum = minimum + 1;
881 long maxMinusMin = (long) maximum - (long) minimum;
884 maximum = minimum + (int) maxMinusMin;
896 if (value > maximum - visible) {
897 value = maximum - visible;
904 this.maximum = maximum;
907 peer.setValues(value, visibleAmount, minimum, maximum);
1138 ",max=" + maximum +
1327 * Get the maximum accessible value of this object.
1329 * @return The maximum value of this object.