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
{
protected javax.swing.plaf.metal.MetalBumps bumps;
descriptor: Ljavax/swing/plaf/metal/MetalBumps;
flags: (0x0004) ACC_PROTECTED
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 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
1: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.isFloatable:()Z
ifeq 16
2: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 14
3: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 4
iconst_m1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 7
start local 7 6: 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
7: aload 1
invokestatic javax.swing.plaf.metal.MetalUtils.isLeftToRight:(Ljava/awt/Component;)Z
ifeq 10
8: 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
9: goto 16
10: 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
11: iconst_2
iload 7
iadd
12: invokevirtual javax.swing.plaf.metal.MetalBumps.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
end local 7 13: goto 16
14: 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
15: 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
16: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 22
17: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 22
18: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControl:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
19: aload 2
iconst_0
iload 6
iconst_2
isub
iload 5
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
20: 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
21: aload 2
iconst_0
iload 6
iconst_1
isub
iload 5
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawLine:(IIII)V
22: StackMap locals:
StackMap stack:
aload 2
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics.translate:(II)V
23: 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 24 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
0 24 1 c Ljava/awt/Component;
0 24 2 g Ljava/awt/Graphics;
0 24 3 x I
0 24 4 y I
0 24 5 w I
0 24 6 h I
6 13 7 shift I
MethodParameters:
Name Flags
c
g
x
y
w
h
public java.awt.Insets getBorderInsets(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
invokevirtual javax.swing.plaf.metal.MetalBorders$ToolBarBorder.getBorderInsets:(Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
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
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.isFloatable:()Z
ifeq 12
5: aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 11
6: aload 1
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 9
7: aload 2
bipush 16
putfield java.awt.Insets.left:I
8: goto 12
9: StackMap locals:
StackMap stack:
aload 2
bipush 16
putfield java.awt.Insets.right:I
10: goto 12
11: StackMap locals:
StackMap stack:
aload 2
bipush 16
putfield java.awt.Insets.top:I
12: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getMargin:()Ljava/awt/Insets;
astore 3
start local 3 13: aload 3
ifnull 18
14: aload 2
dup
getfield java.awt.Insets.left:I
aload 3
getfield java.awt.Insets.left:I
iadd
putfield java.awt.Insets.left:I
15: aload 2
dup
getfield java.awt.Insets.top:I
aload 3
getfield java.awt.Insets.top:I
iadd
putfield java.awt.Insets.top:I
16: aload 2
dup
getfield java.awt.Insets.right:I
aload 3
getfield java.awt.Insets.right:I
iadd
putfield java.awt.Insets.right:I
17: aload 2
dup
getfield java.awt.Insets.bottom:I
aload 3
getfield java.awt.Insets.bottom:I
iadd
putfield java.awt.Insets.bottom:I
18: 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 19 0 this Ljavax/swing/plaf/metal/MetalBorders$ToolBarBorder;
0 19 1 c Ljava/awt/Component;
0 19 2 newInsets Ljava/awt/Insets;
13 19 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