public class javax.swing.plaf.metal.MetalBorders$ToolBarBorder extends javax.swing.border.AbstractBorder implements javax.swing.plaf.UIResource, javax.swing.SwingConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalBorders$ToolBarBorder
super_class: javax.swing.border.AbstractBorder
{
private javax.swing.plaf.metal.MetalBumps bumps;
descriptor: Ljavax/swing/plaf/metal/MetalBumps;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
new javax.swing.plaf.metal.MetalBumps
dup
bipush 10
bipush 10
2: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlHighlight:()Ljavax/swing/plaf/ColorUIResource;
3: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
4: ldc "ToolBar.background"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
5: invokespecial javax.swing.plaf.metal.MetalBumps.<init>:(IILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
putfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
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=8, 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 1
instanceof javax.swing.JToolBar
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
3: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.isFloatable:()Z
ifeq 18
4: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 16
5: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 6
iconst_m1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: aload 0
getfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
bipush 10
iload 6
iconst_4
isub
invokevirtual javax.swing.plaf.metal.MetalBumps.setBumpArea:(II)V
9: aload 1
invokestatic javax.swing.plaf.metal.MetalUtils.isLeftToRight:(Ljava/awt/Component;)Z
ifeq 12
10: aload 0
getfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
aload 1
aload 2
iconst_2
iconst_2
iload 7
iadd
invokevirtual javax.swing.plaf.metal.MetalBumps.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
11: goto 18
12: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
aload 1
aload 2
iload 5
bipush 12
isub
13: iconst_2
iload 7
iadd
14: invokevirtual javax.swing.plaf.metal.MetalBumps.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
end local 7 15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
iload 5
iconst_4
isub
bipush 10
invokevirtual javax.swing.plaf.metal.MetalBumps.setBumpArea:(II)V
17: aload 0
getfield javax.swing.plaf.metal.MetalBorders$ToolBarBorder.bumps:Ljavax/swing/plaf/metal/MetalBumps;
aload 1
aload 2
iconst_2
iconst_2
invokevirtual javax.swing.plaf.metal.MetalBumps.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
18: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 24
19: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 24
20: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControl:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
21: aload 2
iconst_0
iload 6
iconst_2
isub
iload 5
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
22: aload 2
ldc "ToolBar.borderColor"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
23: aload 2
iconst_0
iload 6
iconst_1
isub
iload 5
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
24: StackMap locals:
StackMap stack:
aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
25: 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 26 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
0 26 1 c Ljava/awt/Component;
0 26 2 g Ljava/awt/Graphics;
0 26 3 x I
0 26 4 y I
0 26 5 w I
0 26 6 h I
8 15 7 shift I
MethodParameters:
Name Flags
c
g
x
y
w
h
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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 3
1: aload 2
iconst_1
iconst_2
iconst_3
iconst_2
invokevirtual java.awt.Insets.set:(IIII)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
aload 2
aload 2
aload 2
iconst_2
dup_x1
putfield java.awt.Insets.right:I
dup_x1
putfield java.awt.Insets.bottom:I
dup_x1
putfield java.awt.Insets.left:I
putfield java.awt.Insets.top:I
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.JToolBar
ifne 6
5: aload 2
areturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.isFloatable:()Z
ifeq 14
7: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 13
8: aload 1
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 11
9: aload 2
bipush 16
putfield java.awt.Insets.left:I
10: goto 14
11: StackMap locals:
StackMap stack:
aload 2
bipush 16
putfield java.awt.Insets.right:I
12: goto 14
13: StackMap locals:
StackMap stack:
aload 2
bipush 16
putfield java.awt.Insets.top:I
14: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getMargin:()Ljava/awt/Insets;
astore 3
start local 3 15: aload 3
ifnull 20
16: aload 2
dup
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Insets.left:I
17: aload 2
dup
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Insets.top:I
18: aload 2
dup
getfield java.awt.Insets.right:I
aload 3
getfield java.awt.Insets.right:I
iadd
putfield java.awt.Insets.right:I
19: aload 2
dup
getfield java.awt.Insets.bottom:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
putfield java.awt.Insets.bottom:I
20: StackMap locals: java.awt.Insets
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
0 21 1 c Ljava/awt/Component;
0 21 2 newInsets Ljava/awt/Insets;
15 21 3 margin Ljava/awt/Insets;
MethodParameters:
Name Flags
c
newInsets
}
SourceFile: "MetalBorders.java"
NestHost: javax.swing.plaf.metal.MetalBorders
InnerClasses:
public ToolBarBorder = javax.swing.plaf.metal.MetalBorders$ToolBarBorder of javax.swing.plaf.metal.MetalBorders