class com.apple.laf.AquaSpinnerUI$SpinnerLayout implements java.awt.LayoutManager
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.apple.laf.AquaSpinnerUI$SpinnerLayout
super_class: java.lang.Object
{
private java.awt.Component nextButton;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component previousButton;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component editor;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component painter;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.nextButton:Ljava/awt/Component;
2: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.previousButton:Ljava/awt/Component;
3: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
4: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "Next"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 2
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.nextButton:Ljava/awt/Component;
2: goto 11
StackMap locals:
StackMap stack:
3: ldc "Previous"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 2
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.previousButton:Ljava/awt/Component;
5: goto 11
StackMap locals:
StackMap stack:
6: ldc "Editor"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
aload 2
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
8: goto 11
StackMap locals:
StackMap stack:
9: ldc "Painter"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: aload 0
aload 2
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 12 1 name Ljava/lang/String;
0 12 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
name final
c final
public void removeLayoutComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.nextButton:Ljava/awt/Component;
if_acmpne 3
1: aconst_null
astore 1
2: goto 11
StackMap locals:
StackMap stack:
3: aload 1
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.previousButton:Ljava/awt/Component;
if_acmpne 6
4: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.previousButton:Ljava/awt/Component;
5: goto 11
StackMap locals:
StackMap stack:
6: aload 1
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
if_acmpne 9
7: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
8: goto 11
StackMap locals:
StackMap stack:
9: aload 1
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
if_acmpne 11
10: aload 0
aconst_null
putfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 12 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
private java.awt.Dimension preferredSize(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Dimension;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.awt.Component.getPreferredSize:()Ljava/awt/Dimension;
StackMap locals:
StackMap stack: java.awt.Dimension
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 3 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c final
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.preferredSize:(Ljava/awt/Component;)Ljava/awt/Dimension;
astore 2
start local 2 1: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.preferredSize:(Ljava/awt/Component;)Ljava/awt/Dimension;
astore 3
start local 3 2: aload 2
aload 2
getfield java.awt.Dimension.height:I
iconst_1
iadd
iconst_2
idiv
iconst_2
imul
putfield java.awt.Dimension.height:I
3: new java.awt.Dimension
dup
aload 2
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Dimension.height:I
aload 2
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
invokespecial java.awt.Dimension.<init>:(II)V
astore 4
start local 4 4: aload 4
dup
getfield java.awt.Dimension.width:I
aload 3
getfield java.awt.Dimension.width:I
iadd
putfield java.awt.Dimension.width:I
5: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 6: aload 4
dup
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Insets.left:I
aload 5
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
7: aload 4
dup
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Insets.top:I
aload 5
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
8: aload 4
areturn
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 9 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 9 1 parent Ljava/awt/Container;
1 9 2 editorD Ljava/awt/Dimension;
2 9 3 painterD Ljava/awt/Dimension;
4 9 4 size Ljava/awt/Dimension;
6 9 5 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
parent final
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.preferredLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 1 1 parent Ljava/awt/Container;
MethodParameters:
Name Flags
parent final
private void setBounds(java.awt.Component, int, int, int, int);
descriptor: (Ljava/awt/Component;IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, 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 1
ifnull 2
1: aload 1
iload 2
iload 3
iload 4
iload 5
invokevirtual java.awt.Component.setBounds:(IIII)V
2: StackMap locals:
StackMap stack:
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 3 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 3 1 c Ljava/awt/Component;
0 3 2 x I
0 3 3 y I
0 3 4 width I
0 3 5 height I
MethodParameters:
Name Flags
c final
x final
y final
width final
height final
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.Container.getWidth:()I
aload 2
getfield java.awt.Insets.left:I
aload 2
getfield java.awt.Insets.right:I
iadd
isub
istore 3
start local 3 2: aload 1
invokevirtual java.awt.Container.getHeight:()I
aload 2
getfield java.awt.Insets.top:I
aload 2
getfield java.awt.Insets.bottom:I
iadd
isub
istore 4
start local 4 3: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.preferredSize:(Ljava/awt/Component;)Ljava/awt/Dimension;
astore 5
start local 5 4: iload 4
iconst_2
idiv
istore 6
start local 6 5: iload 4
iload 6
isub
istore 7
start local 7 6: aload 5
getfield java.awt.Dimension.width:I
istore 8
start local 8 7: iload 3
iload 8
isub
istore 9
start local 9 8: aload 1
invokevirtual java.awt.Container.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 12
9: aload 2
getfield java.awt.Insets.left:I
istore 10
start local 10 10: iload 10
iload 9
iadd
istore 11
start local 11 11: goto 14
end local 11 end local 10 12: StackMap locals: com.apple.laf.AquaSpinnerUI$SpinnerLayout java.awt.Container java.awt.Insets int int java.awt.Dimension int int int int
StackMap stack:
aload 2
getfield java.awt.Insets.left:I
istore 11
start local 11 13: iload 11
iload 8
iadd
istore 10
start local 10 14: StackMap locals: int int
StackMap stack:
aload 2
getfield java.awt.Insets.top:I
iload 6
iadd
istore 12
start local 12 15: iload 12
aload 5
getfield java.awt.Dimension.height:I
iconst_2
idiv
isub
istore 13
start local 13 16: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.editor:Ljava/awt/Component;
iload 10
aload 2
getfield java.awt.Insets.top:I
iload 9
iload 4
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.setBounds:(Ljava/awt/Component;IIII)V
17: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.nextButton:Ljava/awt/Component;
iload 11
aload 2
getfield java.awt.Insets.top:I
iload 8
iload 6
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.setBounds:(Ljava/awt/Component;IIII)V
18: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.previousButton:Ljava/awt/Component;
iload 11
iload 12
iload 8
iload 7
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.setBounds:(Ljava/awt/Component;IIII)V
19: aload 0
aload 0
getfield com.apple.laf.AquaSpinnerUI$SpinnerLayout.painter:Ljava/awt/Component;
iload 11
iload 13
iload 8
aload 5
getfield java.awt.Dimension.height:I
invokevirtual com.apple.laf.AquaSpinnerUI$SpinnerLayout.setBounds:(Ljava/awt/Component;IIII)V
20: return
end local 13 end local 12 end local 11 end local 10 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 21 0 this Lcom/apple/laf/AquaSpinnerUI$SpinnerLayout;
0 21 1 parent Ljava/awt/Container;
1 21 2 insets Ljava/awt/Insets;
2 21 3 availWidth I
3 21 4 availHeight I
4 21 5 painterD Ljava/awt/Dimension;
5 21 6 nextHeight I
6 21 7 previousHeight I
7 21 8 buttonsWidth I
8 21 9 editorWidth I
10 12 10 editorX I
14 21 10 editorX I
11 12 11 buttonsX I
13 21 11 buttonsX I
15 21 12 previousY I
16 21 13 painterTop I
MethodParameters:
Name Flags
parent final
}
SourceFile: "AquaSpinnerUI.java"
NestHost: com.apple.laf.AquaSpinnerUI
InnerClasses:
SpinnerLayout = com.apple.laf.AquaSpinnerUI$SpinnerLayout of com.apple.laf.AquaSpinnerUI