class javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle extends sun.swing.DefaultLayoutStyle
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle
super_class: sun.swing.DefaultLayoutStyle
{
private static javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle INSTANCE;
descriptor: Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile int[] $SWITCH_TABLE$javax$swing$LayoutStyle$ComponentPlacement;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle
dup
invokespecial javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.<init>:()V
putstatic javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.INSTANCE:Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.swing.DefaultLayoutStyle.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
public int getPreferredGap(javax.swing.JComponent, javax.swing.JComponent, javax.swing.LayoutStyle$ComponentPlacement, int, java.awt.Container);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljavax/swing/LayoutStyle$ComponentPlacement;ILjava/awt/Container;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iload 4
1: aload 5
2: invokespecial sun.swing.DefaultLayoutStyle.getPreferredGap:(Ljavax/swing/JComponent;Ljavax/swing/JComponent;Ljavax/swing/LayoutStyle$ComponentPlacement;ILjava/awt/Container;)I
pop
3: iconst_0
istore 6
start local 6 4: invokestatic javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.$SWITCH_TABLE$javax$swing$LayoutStyle$ComponentPlacement:()[I
aload 3
invokevirtual javax.swing.LayoutStyle$ComponentPlacement.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 11
2: 31
3: 5
default: 32
}
5: StackMap locals: int
StackMap stack:
iload 4
iconst_3
if_icmpeq 7
6: iload 4
bipush 7
if_icmpne 11
7: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 4
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getIndent:(Ljavax/swing/JComponent;I)I
istore 7
start local 7 8: iload 7
ifle 10
9: iload 7
ireturn
10: StackMap locals: int
StackMap stack:
bipush 12
ireturn
end local 7 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JComponent.getUIClassID:()Ljava/lang/String;
ldc "ToggleButtonUI"
if_acmpne 29
12: aload 2
invokevirtual javax.swing.JComponent.getUIClassID:()Ljava/lang/String;
ldc "ToggleButtonUI"
if_acmpne 29
13: aload 1
checkcast javax.swing.JToggleButton
14: invokevirtual javax.swing.JToggleButton.getModel:()Ljavax/swing/ButtonModel;
15: astore 7
start local 7 16: aload 2
checkcast javax.swing.JToggleButton
17: invokevirtual javax.swing.JToggleButton.getModel:()Ljavax/swing/ButtonModel;
18: astore 8
start local 8 19: aload 7
instanceof javax.swing.DefaultButtonModel
ifeq 26
20: aload 8
instanceof javax.swing.DefaultButtonModel
ifeq 26
21: aload 7
checkcast javax.swing.DefaultButtonModel
invokevirtual javax.swing.DefaultButtonModel.getGroup:()Ljavax/swing/ButtonGroup;
22: aload 8
checkcast javax.swing.DefaultButtonModel
invokevirtual javax.swing.DefaultButtonModel.getGroup:()Ljavax/swing/ButtonGroup;
23: if_acmpne 26
24: aload 7
checkcast javax.swing.DefaultButtonModel
invokevirtual javax.swing.DefaultButtonModel.getGroup:()Ljavax/swing/ButtonGroup;
ifnull 26
25: iconst_2
ireturn
26: StackMap locals: javax.swing.ButtonModel javax.swing.ButtonModel
StackMap stack:
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 28
27: bipush 6
ireturn
28: StackMap locals:
StackMap stack:
iconst_5
ireturn
end local 8 end local 7 29: StackMap locals:
StackMap stack:
bipush 6
istore 6
30: goto 32
31: StackMap locals:
StackMap stack:
bipush 12
istore 6
32: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 4
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.isLabelAndNonlabel:(Ljavax/swing/JComponent;Ljavax/swing/JComponent;I)Z
ifeq 36
33: aload 0
aload 1
aload 2
iload 4
34: iload 6
bipush 6
iadd
35: invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonGap:(Ljavax/swing/JComponent;Ljavax/swing/JComponent;II)I
ireturn
36: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 4
iload 6
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonGap:(Ljavax/swing/JComponent;Ljavax/swing/JComponent;II)I
ireturn
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 37 0 this Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
0 37 1 component1 Ljavax/swing/JComponent;
0 37 2 component2 Ljavax/swing/JComponent;
0 37 3 type Ljavax/swing/LayoutStyle$ComponentPlacement;
0 37 4 position I
0 37 5 parent Ljava/awt/Container;
4 37 6 offset I
8 11 7 indent I
16 29 7 sourceModel Ljavax/swing/ButtonModel;
19 29 8 targetModel Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
component1
component2
type
position
parent
public int getContainerGap(javax.swing.JComponent, int, java.awt.Container);
descriptor: (Ljavax/swing/JComponent;ILjava/awt/Container;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
invokespecial sun.swing.DefaultLayoutStyle.getContainerGap:(Ljavax/swing/JComponent;ILjava/awt/Container;)I
pop
1: aload 0
aload 1
iload 2
bipush 12
2: aload 0
aload 1
iload 2
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonAdjustment:(Ljavax/swing/JComponent;I)I
isub
3: invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonGap:(Ljavax/swing/JComponent;II)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
0 4 1 component Ljavax/swing/JComponent;
0 4 2 position I
0 4 3 parent Ljava/awt/Container;
MethodParameters:
Name Flags
component
position
parent
protected int getButtonGap(javax.swing.JComponent, javax.swing.JComponent, int, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/JComponent;II)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial sun.swing.DefaultLayoutStyle.getButtonGap:(Ljavax/swing/JComponent;Ljavax/swing/JComponent;II)I
istore 4
1: iload 4
ifle 8
2: aload 0
aload 1
iload 3
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonAdjustment:(Ljavax/swing/JComponent;I)I
istore 5
start local 5 3: iload 5
ifne 7
4: aload 0
5: aload 2
aload 0
iload 3
invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.flipDirection:(I)I
6: invokevirtual javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.getButtonAdjustment:(Ljavax/swing/JComponent;I)I
istore 5
7: StackMap locals: int
StackMap stack:
iload 4
iload 5
isub
istore 4
end local 5 8: StackMap locals:
StackMap stack:
iload 4
ifge 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
0 11 1 source Ljavax/swing/JComponent;
0 11 2 target Ljavax/swing/JComponent;
0 11 3 position I
0 11 4 offset I
3 8 5 buttonAdjustment I
MethodParameters:
Name Flags
source
target
position
offset
private int getButtonAdjustment(javax.swing.JComponent, int);
descriptor: (Ljavax/swing/JComponent;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.JComponent.getUIClassID:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "ButtonUI"
if_acmpeq 2
aload 3
ldc "ToggleButtonUI"
if_acmpne 6
2: StackMap locals: java.lang.String
StackMap stack:
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifne 10
iload 2
iconst_3
if_icmpeq 4
3: iload 2
iconst_5
if_icmpne 10
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 10
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iload 2
iconst_5
if_icmpne 10
7: aload 3
ldc "RadioButtonUI"
if_acmpeq 8
aload 3
ldc "CheckBoxUI"
if_acmpne 10
8: StackMap locals:
StackMap stack:
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifne 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/metal/MetalLookAndFeel$MetalLayoutStyle;
0 11 1 source Ljavax/swing/JComponent;
0 11 2 edge I
1 11 3 classID Ljava/lang/String;
MethodParameters:
Name Flags
source
edge
static int[] $SWITCH_TABLE$javax$swing$LayoutStyle$ComponentPlacement();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.$SWITCH_TABLE$javax$swing$LayoutStyle$ComponentPlacement:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javax.swing.LayoutStyle$ComponentPlacement.values:()[Ljavax/swing/LayoutStyle$ComponentPlacement;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javax.swing.LayoutStyle$ComponentPlacement.INDENT:Ljavax/swing/LayoutStyle$ComponentPlacement;
invokevirtual javax.swing.LayoutStyle$ComponentPlacement.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javax.swing.LayoutStyle$ComponentPlacement.RELATED:Ljavax/swing/LayoutStyle$ComponentPlacement;
invokevirtual javax.swing.LayoutStyle$ComponentPlacement.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javax.swing.LayoutStyle$ComponentPlacement.UNRELATED:Ljavax/swing/LayoutStyle$ComponentPlacement;
invokevirtual javax.swing.LayoutStyle$ComponentPlacement.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle.$SWITCH_TABLE$javax$swing$LayoutStyle$ComponentPlacement:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "MetalLookAndFeel.java"
NestHost: javax.swing.plaf.metal.MetalLookAndFeel
InnerClasses:
public final ComponentPlacement = javax.swing.LayoutStyle$ComponentPlacement of javax.swing.LayoutStyle
private MetalLayoutStyle = javax.swing.plaf.metal.MetalLookAndFeel$MetalLayoutStyle of javax.swing.plaf.metal.MetalLookAndFeel