Searched refs:maximum (Results 1 - 25 of 46) sorted by relevance

12

/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/
H A DUnacceptableNumberOfNonOptionsException.java69 private final int maximum; field in class:UnacceptableNumberOfNonOptionsException
72 UnacceptableNumberOfNonOptionsException( int minimum, int maximum, int actual ) { argument
76 this.maximum = maximum;
82 return String.format( "actual = %d, minimum = %d, maximum = %d", actual, minimum, maximum );
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/sampled/
H A DFloatControl.java43 * return string labels for the minimum, maximum, and midpoint positions of the
60 * The maximum supported value.
62 private final float maximum; field in class:FloatControl
87 * A label for the maximum value, such as "Right".
106 * @param maximum the largest value permitted for the control
119 * @param maxLabel the label for the maximum value, such as "Right" or
122 * {@code maximum} or {@code initialValue} does not fall within the
125 protected FloatControl(Type type, float minimum, float maximum, argument
131 if (minimum > maximum) {
133 + " exceeds maximum valu
179 FloatControl(Type type, float minimum, float maximum, float precision, int updatePeriod, float initialValue, String units) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DSpinnerNumberModel.java36 * <code>maximum</code>. The size of the increase or decrease
40 * <code>maximum</code> properties can be <code>null</code>
72 * <code>minimum</code>, or <code>maximum</code> properties changes.
87 // Both minimum and maximum are logically Comparable<? extends
96 private Comparable<?> minimum, maximum; field in class:SpinnerNumberModel
102 * numbers from <code>minimum</code> to <code>maximum</code>. The
110 * The <code>minimum</code> and <code>maximum</code> parameters
114 * or if both <code>minimum</code> and <code>maximum</code>
115 * are specified and <code>minimum &gt; maximum</code> then an
117 * Similarly if <code>(minimum &lt;= value &lt;= maximum</cod
130 SpinnerNumberModel(Number value, Comparable<?> minimum, Comparable<?> maximum, Number stepSize) argument
160 SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) argument
177 SpinnerNumberModel(double value, double minimum, double maximum, double stepSize) argument
276 setMaximum(Comparable<?> maximum) argument
[all...]
H A DSizeRequirements.java69 * <dt> <code>maximum</code>
117 * The maximum size allowed.
122 public int maximum; field in class:SizeRequirements
133 * and maximum sizes set to zero and an alignment value of 0.5
139 maximum = 0;
145 * and maximum sizes and the specified alignment.
149 * @param max the maximum size &gt;= 0
155 maximum = max;
160 * Returns a string describing the minimum, preferred, and maximum
166 return "[" + minimum + "," + preferred + "," + maximum
[all...]
H A DOverlayLayout.java170 * Returns the maximum dimensions needed to lay out the components
176 * @return a <code>Dimension</code> object containing the maximum
184 Dimension size = new Dimension(xTotal.maximum, yTotal.maximum);
/openjdk10/jdk/src/java.base/share/classes/sun/security/x509/
H A DGeneralSubtree.java38 * maximum [1] BaseDistance OPTIONAL
52 private int maximum = -1; field in class:GeneralSubtree
61 * @param max the maximum BaseDistance
66 this.maximum = max;
92 maximum = opt.getInteger();
118 * Return the maximum BaseDistance.
120 * @return the maximum BaseDistance, or -1 if not set.
123 return maximum;
139 if (maximum == -1) {
142 sb.append(maximum);
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/peer/
H A DScrollbarPeer.java46 * @param maximum the maximum value
50 void setValues(int value, int visible, int minimum, int maximum); argument
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DScrollbar.java74 * Note that the actual maximum value of the scroll bar is the
75 * {@code maximum} minus the {@code visible amount}.
76 * In the previous example, because the {@code maximum} is
77 * 300 and the {@code visible amount} is 60, the actual maximum
182 * {@code maximum - visibleAmount}
191 * The maximum value of the {@code Scrollbar}.
199 int maximum; field in class:Scrollbar
203 * This value must be less than the {@code maximum}
334 * <td>maximum</td>
335 * <td>maximum valu
409 Scrollbar(int orientation, int value, int visible, int minimum, int maximum) argument
899 setValues(int value, int visible, int minimum, int maximum) argument
[all...]
H A DScrollPaneAdjustable.java63 * and less than {@code maximum}
89 * The maximum value of this scrollbar.
96 private int maximum; field in class:ScrollPaneAdjustable
193 * {@code minimum}, {@code maximum} and
201 maximum = Math.max(max, minimum + 1);
202 visibleAmount = Math.min(visible, maximum - minimum);
247 return maximum;
321 * greater than the current maximum, then one of those values is
334 * greater than the current maximum, then one of those values is
343 v = Math.min(v, maximum
[all...]
/openjdk10/hotspot/src/share/vm/utilities/
H A DnumberSeq.hpp38 ** maximum, avg, sd, davg, and dsd are calculated over all its elements
67 virtual double maximum() const = 0; // maximum element in the sequence
94 double _maximum; // keep track of maximum value
100 virtual double maximum() const { return _maximum; } function in class:NumberSeq
124 virtual double maximum() const;
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/
H A DHighPrecisionJScrollBar.java34 minimum, maximum, unit increment, etc. Interaction with the
83 /** value, minimum and maximum should be positive */
84 public HighPrecisionJScrollBar(int orientation, BigInteger value, BigInteger minimum, BigInteger maximum) { argument
86 initialize(value, minimum, maximum);
127 public void setMaximumHP(BigInteger maximum) { argument
128 setRange(minimumHP, maximum);
227 private void initialize(BigInteger value, BigInteger minimum, BigInteger maximum) { argument
241 setRange(minimum, maximum);
253 private void setRange(BigInteger minimum, BigInteger maximum) { argument
254 if (minimum.compareTo(maximum) >
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DBlockView.java101 r.maximum -= margin;
144 r.maximum = max;
157 r.maximum -= margin;
207 r.minimum = r.preferred = r.maximum = (int) cssWidth.getValue();
212 r.minimum = r.preferred = r.maximum = (int) cssHeight.getValue();
382 * Determines the maximum span for this view along an
438 want.maximum = Math.max(want.maximum, min.maximum);
H A DTableView.java339 columnRequirements[i].maximum = Integer.MAX_VALUE;
361 * is the column maximum of the cells minimum, preferred, and
362 * maximum requested span
383 * maximum of minimum, preferred, and maximum spans along the
398 req.maximum = Integer.MAX_VALUE;
478 max += req.maximum;
501 req.maximum = Math.max(req.preferred, req.maximum);
524 req.maximum
[all...]
/openjdk10/jdk/test/sanity/client/SwingSet/src/
H A DProgressBarDemoTest.java77 int maximum = progressBar.getMaximum();
86 return value < maximum;
91 return "Progress < maximum (" + maximum + ")";
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA/
H A DObject.java112 * @param maximum the upper bound on the hash value returned by the ORB
115 int _hash(int maximum); argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DTableView.java296 * is the column maximum of the cells minimum, preferred, and
297 * maximum requested span
375 max += req.maximum;
379 r.maximum = (int) max;
384 totalColumnRequirements.maximum = r.maximum;
404 * maximum of minimum, preferred, and maximum spans along the
419 req.maximum = Integer.MAX_VALUE;
478 req.maximum
[all...]
H A DFieldView.java161 int maximum = Math.max(hspan, extent);
162 extent = (extent == 0) ? maximum : extent;
163 int value = maximum - extent;
165 if ((oldValue + extent) > maximum) {
166 oldValue = maximum - extent;
169 vis.setRangeProperties(value, extent, 0, maximum, false);
H A DBoxView.java302 (majorRequest.preferred != majorRequest.maximum)) {
307 (minorRequest.preferred != minorRequest.maximum)) {
580 * Determines the maximum span for this view along an
596 return ((float)majorRequest.maximum) + marginSpan;
598 return ((float)minorRequest.maximum) + marginSpan;
883 r.maximum = (int) max;
915 r.maximum = max;
1020 // descents at minimum, preferred, and maximum sizes
1028 // find the maximum of the preferred ascents and descents
1037 // maximum ascent
[all...]
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/
H A DLWScrollBarPeer.java80 final int maximum) {
83 getDelegate().setValues(value, visible, minimum, maximum);
79 setValues(final int value, final int visible, final int minimum, final int maximum) argument
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/scrolling/
H A DJSpinnerDriver.java82 Object maximum = ((JSpinnerOperator) oper).getMaximum();
83 if (maximum == null) {
84 throw (new JSpinnerOperator.SpinnerModelException("Impossible to get a maximum of JSpinner model.", oper.getSource()));
94 return "Spin to maximum";
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicTextFieldUI.java297 int maximum = Math.max(hspan, extent);
298 extent = (extent == 0) ? maximum : extent;
299 int value = maximum - extent;
301 if ((oldValue + extent) > maximum) {
302 oldValue = maximum - extent;
305 vis.setRangeProperties(value, extent, 0, maximum, false);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXScrollbar.java565 * <LI> The maximum must be greater than the minimum </LI>
567 * and less than or equal to the maximum minus the
570 * to the difference between the maximum and minimum values. </LI>
577 * @param maximum is the maximum value of the scrollbar
579 synchronized void setValues(int value, int visible, int minimum, int maximum) { argument
580 if (maximum <= minimum) {
581 maximum = minimum + 1;
583 if (visible > maximum - minimum) {
584 visible = maximum
611 setValues(int value, int visible, int minimum, int maximum, int unitSize, int blockSize) argument
[all...]
H A DXScrollbarPeer.java207 public void setValues(int value, int visible, int minimum, int maximum) { argument
209 tsb.setValues(value, visible, minimum, maximum);
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/spi/presentation/rmi/
H A DStubWrapper.java109 public int _hash(int maximum) argument
111 return object._hash( maximum ) ;
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA/portable/
H A DObjectImpl.java162 * @param maximum an <code>int</code> indicating the upper bound on the hash
167 public int _hash(int maximum) { argument
168 return _get_delegate().hash(this, maximum);

Completed in 308 milliseconds

12