/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test4252164.java | 41 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 D | LineBorder.java | 39 * 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 D | Underline.java | 53 * 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/javax/swing/ |
H A D | BorderFactory.java | 71 * @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/solaris/classes/sun/awt/X11/ |
H A D | XComponentPeer.java | 1038 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...] |
H A D | XFileDialogPeer.java | 851 public Separator(int length, int thickness, int orient) { argument 855 resize(length, thickness); 858 resize(thickness, length);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsIconFactory.java | 215 int thickness = Math.max(width / 15, 1); 254 g.fillRect(x, y, thickness, h); 255 g.fillRect(x+w-thickness, y, thickness, h); 256 g.fillRect(x, y+h-thickness, w, thickness); 259 g.fillRect(x+w/3, y, thickness, h/3); 260 g.fillRect(x+w-thickness, y, thickness, h-h/3); 261 g.fillRect(x+w-w/3, y+h-h/3-thickness, [all...] |
H A D | WindowsBorders.java | 255 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 D | WindowsProgressBarUI.java | 162 int thickness; 164 thickness = barRectWidth - 5; 166 thickness = barRectHeight - 5; 182 thickness, chunkSize, null); 187 chunkSize, thickness, null); 191 chunkSize, thickness, null);
|
H A D | XPStyle.java | 279 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/plaf/ |
H A D | BorderUIResource.java | 149 @ConstructorProperties({"lineColor", "thickness"}) 150 public LineBorderUIResource(Color color, int thickness) { argument 151 super(color, thickness);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthSeparatorUI.java | 211 int thickness = style.getInt(context, "Separator.thickness", 2); 216 size = new Dimension(insets.left + insets.right + thickness, 220 insets.top + insets.bottom + thickness);
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | FigureWidget.java | 208 int thickness = 1; 212 thickness = 1; 229 middleWidget.setBorder(BorderFactory.createLineBorder(borderColor, thickness));
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifBorders.java | 187 int thickness = (c instanceof JButton && ((JButton)c).isDefaultCapable())? 8 : 2; 188 insets.set(thickness, thickness, thickness, thickness);
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CTrayIcon.m | 45 CGFloat desiredHeight = [[NSStatusBar systemStatusBar] thickness] - 1.0;
|