public class javax.swing.border.EtchedBorder extends javax.swing.border.AbstractBorder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.border.EtchedBorder
super_class: javax.swing.border.AbstractBorder
{
public static final int RAISED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int LOWERED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected int etchType;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color highlight;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color shadow;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial javax.swing.border.EtchedBorder.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/EtchedBorder;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
aconst_null
invokespecial javax.swing.border.EtchedBorder.<init>:(ILjava/awt/Color;Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/EtchedBorder;
0 2 1 etchType I
MethodParameters:
Name Flags
etchType
public void <init>(java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/Color;Ljava/awt/Color;)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
iconst_1
aload 1
aload 2
invokespecial javax.swing.border.EtchedBorder.<init>:(ILjava/awt/Color;Ljava/awt/Color;)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/EtchedBorder;
0 2 1 highlight Ljava/awt/Color;
0 2 2 shadow Ljava/awt/Color;
MethodParameters:
Name Flags
highlight
shadow
public void <init>(int, java.awt.Color, java.awt.Color);
descriptor: (ILjava/awt/Color;Ljava/awt/Color;)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
iload 1
putfield javax.swing.border.EtchedBorder.etchType:I
2: aload 0
aload 2
putfield javax.swing.border.EtchedBorder.highlight:Ljava/awt/Color;
3: aload 0
aload 3
putfield javax.swing.border.EtchedBorder.shadow:Ljava/awt/Color;
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/EtchedBorder;
0 5 1 etchType I
0 5 2 highlight Ljava/awt/Color;
0 5 3 shadow Ljava/awt/Color;
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"etchType", "highlightColor", "shadowColor"})
MethodParameters:
Name Flags
etchType
highlight
shadow
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=6, locals=9, 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: iload 5
istore 7
start local 7 1: iload 6
istore 8
start local 8 2: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
3: aload 2
aload 0
getfield javax.swing.border.EtchedBorder.etchType:I
iconst_1
if_icmpne 4
aload 0
aload 1
invokevirtual javax.swing.border.EtchedBorder.getShadowColor:(Ljava/awt/Component;)Ljava/awt/Color;
goto 5
StackMap locals: javax.swing.border.EtchedBorder java.awt.Component java.awt.Graphics int int int int int int
StackMap stack: java.awt.Graphics
4: aload 0
aload 1
invokevirtual javax.swing.border.EtchedBorder.getHighlightColor:(Ljava/awt/Component;)Ljava/awt/Color;
StackMap locals: javax.swing.border.EtchedBorder java.awt.Component java.awt.Graphics int int int int int int
StackMap stack: java.awt.Graphics java.awt.Color
5: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: aload 2
iconst_0
iconst_0
iload 7
iconst_2
isub
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
7: aload 2
aload 0
getfield javax.swing.border.EtchedBorder.etchType:I
iconst_1
if_icmpne 8
aload 0
aload 1
invokevirtual javax.swing.border.EtchedBorder.getHighlightColor:(Ljava/awt/Component;)Ljava/awt/Color;
goto 9
StackMap locals:
StackMap stack: java.awt.Graphics
8: aload 0
aload 1
invokevirtual javax.swing.border.EtchedBorder.getShadowColor:(Ljava/awt/Component;)Ljava/awt/Color;
StackMap locals: javax.swing.border.EtchedBorder java.awt.Component java.awt.Graphics int int int int int int
StackMap stack: java.awt.Graphics java.awt.Color
9: invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 2
iconst_1
iload 8
iconst_3
isub
iconst_1
iconst_1
invokevirtual java.awt.Graphics.drawLine:(IIII)V
11: aload 2
iconst_1
iconst_1
iload 7
iconst_3
isub
iconst_1
invokevirtual java.awt.Graphics.drawLine:(IIII)V
12: aload 2
iconst_0
iload 8
iconst_1
isub
iload 7
iconst_1
isub
iload 8
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
13: aload 2
iload 7
iconst_1
isub
iload 8
iconst_1
isub
iload 7
iconst_1
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
14: aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
15: return
end local 8 end local 7 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 16 0 this Ljavax/swing/border/EtchedBorder;
0 16 1 c Ljava/awt/Component;
0 16 2 g Ljava/awt/Graphics;
0 16 3 x I
0 16 4 y I
0 16 5 width I
0 16 6 height I
1 16 7 w I
2 16 8 h I
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
iconst_2
iconst_2
iconst_2
iconst_2
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/EtchedBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
insets
public boolean isBorderOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/EtchedBorder;
public int getEtchType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.EtchedBorder.etchType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/EtchedBorder;
public java.awt.Color getHighlightColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.border.EtchedBorder.highlight:Ljava/awt/Color;
ifnull 1
aload 0
getfield javax.swing.border.EtchedBorder.highlight:Ljava/awt/Color;
goto 2
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
2: StackMap locals:
StackMap stack: java.awt.Color
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/border/EtchedBorder;
0 3 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
public java.awt.Color getHighlightColor();
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.EtchedBorder.highlight:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/EtchedBorder;
public java.awt.Color getShadowColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.border.EtchedBorder.shadow:Ljava/awt/Color;
ifnull 1
aload 0
getfield javax.swing.border.EtchedBorder.shadow:Ljava/awt/Color;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
StackMap locals:
StackMap stack: java.awt.Color
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/border/EtchedBorder;
0 3 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
public java.awt.Color getShadowColor();
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.EtchedBorder.shadow:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/EtchedBorder;
}
SourceFile: "EtchedBorder.java"