public class javax.swing.border.LineBorder extends javax.swing.border.AbstractBorder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.border.LineBorder
super_class: javax.swing.border.AbstractBorder
{
private static javax.swing.border.Border blackLine;
descriptor: Ljavax/swing/border/Border;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.swing.border.Border grayLine;
descriptor: Ljavax/swing/border/Border;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected int thickness;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color lineColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected boolean roundedCorners;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public static javax.swing.border.Border createBlackLineBorder();
descriptor: ()Ljavax/swing/border/Border;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic javax.swing.border.LineBorder.blackLine:Ljavax/swing/border/Border;
ifnonnull 2
1: new javax.swing.border.LineBorder
dup
getstatic java.awt.Color.black:Ljava/awt/Color;
iconst_1
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;I)V
putstatic javax.swing.border.LineBorder.blackLine:Ljavax/swing/border/Border;
2: StackMap locals:
StackMap stack:
getstatic javax.swing.border.LineBorder.blackLine:Ljavax/swing/border/Border;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.swing.border.Border createGrayLineBorder();
descriptor: ()Ljavax/swing/border/Border;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic javax.swing.border.LineBorder.grayLine:Ljavax/swing/border/Border;
ifnonnull 2
1: new javax.swing.border.LineBorder
dup
getstatic java.awt.Color.gray:Ljava/awt/Color;
iconst_1
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;I)V
putstatic javax.swing.border.LineBorder.grayLine:Ljavax/swing/border/Border;
2: StackMap locals:
StackMap stack:
getstatic javax.swing.border.LineBorder.grayLine:Ljavax/swing/border/Border;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
iconst_0
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/LineBorder;
0 2 1 color Ljava/awt/Color;
MethodParameters:
Name Flags
color
public void <init>(java.awt.Color, int);
descriptor: (Ljava/awt/Color;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
iconst_0
invokespecial javax.swing.border.LineBorder.<init>:(Ljava/awt/Color;IZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/LineBorder;
0 2 1 color Ljava/awt/Color;
0 2 2 thickness I
MethodParameters:
Name Flags
color
thickness
public void <init>(java.awt.Color, int, boolean);
descriptor: (Ljava/awt/Color;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
aload 1
putfield javax.swing.border.LineBorder.lineColor:Ljava/awt/Color;
2: aload 0
iload 2
putfield javax.swing.border.LineBorder.thickness:I
3: aload 0
iload 3
putfield javax.swing.border.LineBorder.roundedCorners:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/border/LineBorder;
0 5 1 color Ljava/awt/Color;
0 5 2 thickness I
0 5 3 roundedCorners Z
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"lineColor", "thickness", "roundedCorners"})
MethodParameters:
Name Flags
color
thickness
roundedCorners
public void paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=14, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield javax.swing.border.LineBorder.thickness:I
ifle 18
aload 2
instanceof java.awt.Graphics2D
ifeq 18
1: aload 2
checkcast java.awt.Graphics2D
astore 7
start local 7 2: aload 7
invokevirtual java.awt.Graphics2D.getColor:()Ljava/awt/Color;
astore 8
start local 8 3: aload 7
aload 0
getfield javax.swing.border.LineBorder.lineColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
4: aload 0
getfield javax.swing.border.LineBorder.thickness:I
istore 11
start local 11 5: iload 11
iload 11
iadd
istore 12
start local 12 6: aload 0
getfield javax.swing.border.LineBorder.roundedCorners:Z
ifeq 11
7: ldc 0.2
iload 11
i2f
fmul
fstore 13
start local 13 8: new java.awt.geom.RoundRectangle2D$Float
dup
iload 3
i2f
iload 4
i2f
iload 5
i2f
iload 6
i2f
iload 11
i2f
iload 11
i2f
invokespecial java.awt.geom.RoundRectangle2D$Float.<init>:(FFFFFF)V
astore 9
start local 9 9: new java.awt.geom.RoundRectangle2D$Float
dup
iload 3
iload 11
iadd
i2f
iload 4
iload 11
iadd
i2f
iload 5
iload 12
isub
i2f
iload 6
iload 12
isub
i2f
fload 13
fload 13
invokespecial java.awt.geom.RoundRectangle2D$Float.<init>:(FFFFFF)V
astore 10
end local 13 start local 10 10: goto 13
end local 10 end local 9 11: StackMap locals: javax.swing.border.LineBorder java.awt.Component java.awt.Graphics int int int int java.awt.Graphics2D java.awt.Color top top int int
StackMap stack:
new java.awt.geom.Rectangle2D$Float
dup
iload 3
i2f
iload 4
i2f
iload 5
i2f
iload 6
i2f
invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
astore 9
start local 9 12: new java.awt.geom.Rectangle2D$Float
dup
iload 3
iload 11
iadd
i2f
iload 4
iload 11
iadd
i2f
iload 5
iload 12
isub
i2f
iload 6
iload 12
isub
i2f
invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
astore 10
start local 10 13: StackMap locals: javax.swing.border.LineBorder java.awt.Component java.awt.Graphics int int int int java.awt.Graphics2D java.awt.Color java.awt.Shape java.awt.Shape int int
StackMap stack:
new java.awt.geom.Path2D$Float
dup
iconst_0
invokespecial java.awt.geom.Path2D$Float.<init>:(I)V
astore 13
start local 13 14: aload 13
aload 9
iconst_0
invokevirtual java.awt.geom.Path2D.append:(Ljava/awt/Shape;Z)V
15: aload 13
aload 10
iconst_0
invokevirtual java.awt.geom.Path2D.append:(Ljava/awt/Shape;Z)V
16: aload 7
aload 13
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
17: aload 7
aload 8
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 18: StackMap locals: javax.swing.border.LineBorder java.awt.Component java.awt.Graphics int int int int
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/border/LineBorder;
0 19 1 c Ljava/awt/Component;
0 19 2 g Ljava/awt/Graphics;
0 19 3 x I
0 19 4 y I
0 19 5 width I
0 19 6 height I
2 18 7 g2d Ljava/awt/Graphics2D;
3 18 8 oldColor Ljava/awt/Color;
9 11 9 outer Ljava/awt/Shape;
12 18 9 outer Ljava/awt/Shape;
10 11 10 inner Ljava/awt/Shape;
13 18 10 inner Ljava/awt/Shape;
5 18 11 offs I
6 18 12 size I
8 10 13 arc F
14 18 13 path Ljava/awt/geom/Path2D;
MethodParameters:
Name Flags
c
g
x
y
width
height
public java.awt.Insets getBorderInsets(java.awt.Component, java.awt.Insets);
descriptor: (Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield javax.swing.border.LineBorder.thickness:I
aload 0
getfield javax.swing.border.LineBorder.thickness:I
aload 0
getfield javax.swing.border.LineBorder.thickness:I
aload 0
getfield javax.swing.border.LineBorder.thickness:I
invokevirtual java.awt.Insets.set:(IIII)V
1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/LineBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
insets
public java.awt.Color getLineColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.LineBorder.lineColor:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/LineBorder;
public int getThickness();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.LineBorder.thickness:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/LineBorder;
public boolean getRoundedCorners();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.LineBorder.roundedCorners:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/LineBorder;
public boolean isBorderOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.LineBorder.roundedCorners:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/border/LineBorder;
}
SourceFile: "LineBorder.java"
InnerClasses:
public Float = java.awt.geom.Path2D$Float of java.awt.geom.Path2D
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D
public Float = java.awt.geom.RoundRectangle2D$Float of java.awt.geom.RoundRectangle2D