Searched defs:thickness (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/test/javax/swing/border/
H A DTest4252164.java41 private int thickness; field in class:Test4252164
67 private void update(int thickness) { argument
68 this.thickness += thickness;
70 this.rounded.setBorder(new LineBorder(Color.RED, this.thickness, true));
71 this.straight.setBorder(new LineBorder(Color.RED, this.thickness, false));
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DLineBorder.java39 * A class which implements a line border of arbitrary thickness
58 protected int thickness; field in class:LineBorder
62 /** Convenience method for getting the Color.black LineBorder of thickness 1.
71 /** Convenience method for getting the Color.gray LineBorder of thickness 1.
82 * thickness = 1.
90 * Creates a line border with the specified color and thickness.
92 * @param thickness the thickness of the border
94 public LineBorder(Color color, int thickness) { argument
95 this(color, thickness, fals
107 LineBorder(Color color, int thickness, boolean roundedCorners) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DUnderline.java53 * Draws the underline into g2d. The thickness should be obtained
55 * thickness parameter.
59 float thickness,
67 abstract float getLowerDrawLimit(float thickness); argument
70 * Returns a Shape representing the underline. The thickness should be obtained
72 * thickness parameter.
74 abstract Shape getUnderlineShape(float thickness, argument
82 // IM Underlines ignore thickness param, and instead use
87 // whether to override the default thickness. These values clarify
99 // the actual line thickness i
58 drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) argument
143 getLineThickness(float thickness) argument
153 getStroke(float thickness) argument
167 drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) argument
180 getLowerDrawLimit(float thickness) argument
185 getUnderlineShape(float thickness, float x1, float x2, float y) argument
210 drawUnderline(Graphics2D g2d, float thickness, float x1, float x2, float y) argument
231 getLowerDrawLimit(float thickness) argument
236 getUnderlineShape(float thickness, float x1, float x2, float y) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsBorders.java255 public DashedBorder(Color color, int thickness) { argument
256 super(color, thickness);
264 for(i = 0; i < thickness; i++) {
307 int thickness) {
308 super(activeBorderColor, thickness);
305 InternalFrameLineBorder(Color activeBorderColor, Color inactiveBorderColor, int thickness) argument
H A DXPStyle.java279 int thickness = getInt(c, part, null, Prop.BORDERSIZE, 1);
281 border = new XPFillBorder(color, thickness);
283 border = new XPStatefulFillBorder(color, thickness, part, Prop.BORDERCOLOR);
309 XPFillBorder(Color color, int thickness) { argument
310 super(color, thickness);
327 insets.top = (margin != null? margin.top : 0) + thickness;
328 insets.left = (margin != null? margin.left : 0) + thickness;
329 insets.bottom = (margin != null? margin.bottom : 0) + thickness;
330 insets.right = (margin != null? margin.right : 0) + thickness;
339 XPStatefulFillBorder(Color color, int thickness, Par argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBorderFactory.java71 * @param thickness an integer specifying the width in pixels
74 public static Border createLineBorder(Color color, int thickness) { argument
75 return new LineBorder(color, thickness);
79 * Creates a line border with the specified color, thickness, and corner shape.
82 * @param thickness the thickness of the border
89 public static Border createLineBorder(Color color, int thickness, boolean rounded) { argument
90 return new LineBorder(color, thickness, rounded);
719 * Creates a dashed border of the specified {@code paint}, {@code thickness},
725 * @param thickness th
736 createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DBorderUIResource.java149 @ConstructorProperties({"lineColor", "thickness"})
150 public LineBorderUIResource(Color color, int thickness) { argument
151 super(color, thickness);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXFileDialogPeer.java851 public Separator(int length, int thickness, int orient) { argument
855 resize(length, thickness);
858 resize(thickness, length);
H A DXComponentPeer.java1038 void drawScrollbar(Graphics g, Color bg, int thickness, int length, argument
1041 double f = (double)(length - 2*(thickness-1)) / Math.max(1, ((max - min) + vis));
1042 int v1 = thickness + (int)(f * (val - min));
1044 int w2 = thickness-4;
1059 int ctr = thickness/2;
1071 g.fillRect(0, 0, length, thickness);
1073 g.fillRect(0, 0, thickness, length);
1081 g.fillRect(v1, 3, v2, thickness-3);
1083 g.fillRect(3, v1, thickness-3, v2);
1112 g.drawLine(1, thickness, lengt
[all...]

Completed in 45 milliseconds