Searched refs:spacing (Results 1 - 4 of 4) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java286 int spacing;
295 spacing = 3;
296 x += leftToRight ? -spacing -(buttonWidth+2) : spacing;
300 spacing = 4;
301 x += leftToRight ? -spacing -buttonWidth : spacing;
308 spacing = frame.isClosable() ? 10 : 4;
309 x += leftToRight ? -spacing -buttonWidth : spacing;
[all...]
H A DMetalTitlePane.java913 int spacing;
931 spacing = 5;
932 x = leftToRight ? spacing : w - buttonWidth - spacing;
938 spacing = 4;
939 x += leftToRight ? -spacing -buttonWidth : spacing;
950 spacing = 10;
951 x += leftToRight ? -spacing -buttonWidth : spacing;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DBorderFactory.java689 * the relative spacing between dash lines are equal to {@code 1}.
703 * relative {@code length}, and relative {@code spacing}.
711 * @param spacing the relative spacing between dash lines
715 * if the specified {@code spacing} is less than {@code 0}
718 public static Border createDashedBorder(Paint paint, float length, float spacing) { argument
719 return createDashedBorder(paint, 1.0f, length, spacing, false);
724 * line shape, relative {@code length}, and relative {@code spacing}.
731 * @param spacing the relative spacing betwee
740 createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java460 // "indicator-spacing" value in the size of the indicator icon,
571 // "scrollbar-spacing" style property to determine the padding
573 int spacing =
575 "scrollbar-spacing", 3);
577 insets.top += spacing;
580 insets.left += spacing;
582 insets.right += spacing;
854 // The iconTextGap value needs to include "indicator-spacing"
859 getClassSpecificIntValue(context, "indicator-spacing", 2);

Completed in 112 milliseconds