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

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java270 int spacing;
279 spacing = 3;
280 x += leftToRight ? -spacing -(buttonWidth+2) : spacing;
284 spacing = 4;
285 x += leftToRight ? -spacing -buttonWidth : spacing;
292 spacing = frame.isClosable() ? 10 : 4;
293 x += leftToRight ? -spacing -buttonWidth : spacing;
[all...]
H A DMetalTitlePane.java907 int spacing;
925 spacing = 5;
926 x = leftToRight ? spacing : w - buttonWidth - spacing;
932 spacing = 4;
933 x += leftToRight ? -spacing -buttonWidth : spacing;
944 spacing = 10;
945 x += leftToRight ? -spacing -buttonWidth : spacing;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBorderFactory.java685 * the relative spacing between dash lines are equal to {@code 1}.
699 * relative {@code length}, and relative {@code spacing}.
707 * @param spacing the relative spacing between dash lines
711 * if the specified {@code spacing} is less than {@code 0}
714 public static Border createDashedBorder(Paint paint, float length, float spacing) { argument
715 return createDashedBorder(paint, 1.0f, length, spacing, false);
720 * line shape, relative {@code length}, and relative {@code spacing}.
727 * @param spacing the relative spacing betwee
736 createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java446 // "indicator-spacing" value in the size of the indicator icon,
557 // "scrollbar-spacing" style property to determine the padding
559 int spacing =
561 "scrollbar-spacing", 3);
563 insets.top += spacing;
566 insets.left += spacing;
568 insets.right += spacing;
821 // The iconTextGap value needs to include "indicator-spacing"
826 getClassSpecificIntValue(context, "indicator-spacing", 2);

Completed in 51 milliseconds