Searched refs:rounded (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test4252164.java | 27 * @summary Tests rounded LineBorder for components 42 private JLabel rounded; field in class:Test4252164 55 this.rounded = new JLabel("ROUNDED"); // NON-NLS: the label for rounded border 59 panel.add(this.rounded); 70 this.rounded.setBorder(new LineBorder(Color.RED, this.thickness, true));
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | BorderFactory.java | 83 * @param rounded whether or not border corners should be round 89 public static Border createLineBorder(Color color, int thickness, boolean rounded) { argument 90 return new LineBorder(color, thickness, rounded); 686 * A dash line is not rounded. 703 * A dash line is not rounded. 728 * @param rounded whether or not line ends should be round 736 public static Border createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) { argument 737 boolean shared = !rounded && (paint == null) && (thickness == 1.0f) && (length == 1.0f) && (spacing == 1.0f); 750 int cap = rounded ? BasicStroke.CAP_ROUND : BasicStroke.CAP_SQUARE; 751 int join = rounded [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | HashMap.java | 303 int rounded = number >= MAXIMUM_CAPACITY 305 : (rounded = Integer.highestOneBit(number)) != 0 306 ? (Integer.bitCount(number) > 1) ? rounded << 1 : rounded 309 return rounded;
|
/openjdk7/jdk/src/share/classes/java/math/ |
H A D | BigDecimal.java | 108 * rounded to the number of digits specified by the precision setting 168 * occasionally differ from the rounded mathematical result by more 926 * 10<sup>-scale</sup>)</tt>, rounded according to the 1125 * the other number, rounded if necessary, is used as the result. 1129 * @return {@code this + augend}, rounded as necessary. 1143 // If either number is zero then the other number, rounded and 1194 * equal to the rounded sum of the {@code BigDecimal} arguments. 1274 * If {@code subtrahend} is zero then this, rounded if necessary, is used as the 1279 * @return {@code this - subtrahend}, rounded as necessary. 1340 * @return {@code this * multiplicand}, rounded a [all...] |
Completed in 80 milliseconds