public class javax.swing.border.BevelBorder extends javax.swing.border.AbstractBorder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.border.BevelBorder
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 bevelType;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color highlightOuter;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color highlightInner;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color shadowInner;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color shadowOuter;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
iload 1
putfield javax.swing.border.BevelBorder.bevelType:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/border/BevelBorder;
0 3 1 bevelType I
MethodParameters:
Name Flags
bevelType
public void <init>(int, java.awt.Color, java.awt.Color);
descriptor: (ILjava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
aload 2
aload 3
aload 3
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokespecial javax.swing.border.BevelBorder.<init>:(ILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/border/BevelBorder;
0 2 1 bevelType I
0 2 2 highlight Ljava/awt/Color;
0 2 3 shadow Ljava/awt/Color;
MethodParameters:
Name Flags
bevelType
highlight
shadow
public void <init>(int, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (ILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
invokespecial javax.swing.border.BevelBorder.<init>:(I)V
1: aload 0
aload 2
putfield javax.swing.border.BevelBorder.highlightOuter:Ljava/awt/Color;
2: aload 0
aload 3
putfield javax.swing.border.BevelBorder.highlightInner:Ljava/awt/Color;
3: aload 0
aload 4
putfield javax.swing.border.BevelBorder.shadowOuter:Ljava/awt/Color;
4: aload 0
aload 5
putfield javax.swing.border.BevelBorder.shadowInner:Ljava/awt/Color;
5: return
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 6 0 this Ljavax/swing/border/BevelBorder;
0 6 1 bevelType I
0 6 2 highlightOuterColor Ljava/awt/Color;
0 6 3 highlightInnerColor Ljava/awt/Color;
0 6 4 shadowOuterColor Ljava/awt/Color;
0 6 5 shadowInnerColor Ljava/awt/Color;
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"bevelType", "highlightOuterColor", "highlightInnerColor", "shadowOuterColor", "shadowInnerColor"})
MethodParameters:
Name Flags
bevelType
highlightOuterColor
highlightInnerColor
shadowOuterColor
shadowInnerColor
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=7, locals=7, 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.BevelBorder.bevelType:I
ifne 3
1: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual javax.swing.border.BevelBorder.paintRaisedBevel:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
getfield javax.swing.border.BevelBorder.bevelType:I
iconst_1
if_icmpne 5
4: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual javax.swing.border.BevelBorder.paintLoweredBevel:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
5: StackMap locals:
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 6 0 this Ljavax/swing/border/BevelBorder;
0 6 1 c Ljava/awt/Component;
0 6 2 g Ljava/awt/Graphics;
0 6 3 x I
0 6 4 y I
0 6 5 width I
0 6 6 height 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/BevelBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
insets
public java.awt.Color getHighlightOuterColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.border.BevelBorder.getHighlightOuterColor:()Ljava/awt/Color;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
2: StackMap locals: java.awt.Color
StackMap stack:
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
3: StackMap locals:
StackMap stack: java.awt.Color
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/BevelBorder;
0 4 1 c Ljava/awt/Component;
1 4 2 highlight Ljava/awt/Color;
MethodParameters:
Name Flags
c
public java.awt.Color getHighlightInnerColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.border.BevelBorder.getHighlightInnerColor:()Ljava/awt/Color;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
2: StackMap locals: java.awt.Color
StackMap stack:
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
3: StackMap locals:
StackMap stack: java.awt.Color
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/BevelBorder;
0 4 1 c Ljava/awt/Component;
1 4 2 highlight Ljava/awt/Color;
MethodParameters:
Name Flags
c
public java.awt.Color getShadowInnerColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.border.BevelBorder.getShadowInnerColor:()Ljava/awt/Color;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
2: StackMap locals: java.awt.Color
StackMap stack:
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
3: StackMap locals:
StackMap stack: java.awt.Color
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/BevelBorder;
0 4 1 c Ljava/awt/Component;
1 4 2 shadow Ljava/awt/Color;
MethodParameters:
Name Flags
c
public java.awt.Color getShadowOuterColor(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.border.BevelBorder.getShadowOuterColor:()Ljava/awt/Color;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
2: StackMap locals: java.awt.Color
StackMap stack:
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
3: StackMap locals:
StackMap stack: java.awt.Color
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/border/BevelBorder;
0 4 1 c Ljava/awt/Component;
1 4 2 shadow Ljava/awt/Color;
MethodParameters:
Name Flags
c
public java.awt.Color getHighlightOuterColor();
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.BevelBorder.highlightOuter:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/BevelBorder;
public java.awt.Color getHighlightInnerColor();
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.BevelBorder.highlightInner:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/BevelBorder;
public java.awt.Color getShadowInnerColor();
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.BevelBorder.shadowInner:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/BevelBorder;
public java.awt.Color getShadowOuterColor();
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.BevelBorder.shadowOuter:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/BevelBorder;
public int getBevelType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.border.BevelBorder.bevelType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/border/BevelBorder;
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/BevelBorder;
protected void paintRaisedBevel(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, 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 2
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 7
start local 7 1: iload 6
istore 8
start local 8 2: iload 5
istore 9
start local 9 3: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
4: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getHighlightOuterColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 2
iconst_0
iconst_0
iconst_0
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
6: aload 2
iconst_1
iconst_0
iload 9
iconst_2
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
7: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getHighlightInnerColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 2
iconst_1
iconst_1
iconst_1
iload 8
iconst_3
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
9: aload 2
iconst_2
iconst_1
iload 9
iconst_3
isub
iconst_1
invokevirtual java.awt.Graphics.drawLine:(IIII)V
10: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getShadowOuterColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 2
iconst_0
iload 8
iconst_1
isub
iload 9
iconst_1
isub
iload 8
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
12: aload 2
iload 9
iconst_1
isub
iconst_0
iload 9
iconst_1
isub
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
13: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getShadowInnerColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 2
iconst_1
iload 8
iconst_2
isub
iload 9
iconst_2
isub
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
15: aload 2
iload 9
iconst_2
isub
iconst_1
iload 9
iconst_2
isub
iload 8
iconst_3
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
16: aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
17: aload 2
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: return
end local 9 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 19 0 this Ljavax/swing/border/BevelBorder;
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
1 19 7 oldColor Ljava/awt/Color;
2 19 8 h I
3 19 9 w I
MethodParameters:
Name Flags
c
g
x
y
width
height
protected void paintLoweredBevel(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, 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 2
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 7
start local 7 1: iload 6
istore 8
start local 8 2: iload 5
istore 9
start local 9 3: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
4: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getShadowInnerColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
5: aload 2
iconst_0
iconst_0
iconst_0
iload 8
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
6: aload 2
iconst_1
iconst_0
iload 9
iconst_1
isub
iconst_0
invokevirtual java.awt.Graphics.drawLine:(IIII)V
7: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getShadowOuterColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 2
iconst_1
iconst_1
iconst_1
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
9: aload 2
iconst_2
iconst_1
iload 9
iconst_2
isub
iconst_1
invokevirtual java.awt.Graphics.drawLine:(IIII)V
10: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getHighlightOuterColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 2
iconst_1
iload 8
iconst_1
isub
iload 9
iconst_1
isub
iload 8
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
12: aload 2
iload 9
iconst_1
isub
iconst_1
iload 9
iconst_1
isub
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
13: aload 2
aload 0
aload 1
invokevirtual javax.swing.border.BevelBorder.getHighlightInnerColor:(Ljava/awt/Component;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 2
iconst_2
iload 8
iconst_2
isub
iload 9
iconst_2
isub
iload 8
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
15: aload 2
iload 9
iconst_2
isub
iconst_2
iload 9
iconst_2
isub
iload 8
iconst_3
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
16: aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
17: aload 2
aload 7
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: return
end local 9 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 19 0 this Ljavax/swing/border/BevelBorder;
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
1 19 7 oldColor Ljava/awt/Color;
2 19 8 h I
3 19 9 w I
MethodParameters:
Name Flags
c
g
x
y
width
height
}
SourceFile: "BevelBorder.java"