public abstract class com.apple.laf.AquaButtonLabeledUI extends com.apple.laf.AquaButtonToggleUI implements com.apple.laf.AquaUtilControlSize$Sizeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.apple.laf.AquaButtonLabeledUI
super_class: com.apple.laf.AquaButtonToggleUI
{
protected static com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon regularIcon;
descriptor: Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon smallIcon;
descriptor: Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon miniIcon;
descriptor: Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected com.apple.laf.AquaButtonBorder widgetBorder;
descriptor: Lcom/apple/laf/AquaButtonBorder;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon
dup
bipush 18
invokespecial com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.<init>:(I)V
putstatic com.apple.laf.AquaButtonLabeledUI.regularIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
1: new com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon
dup
bipush 16
invokespecial com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.<init>:(I)V
putstatic com.apple.laf.AquaButtonLabeledUI.smallIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
2: new com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon
dup
bipush 14
invokespecial com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.<init>:(I)V
putstatic com.apple.laf.AquaButtonLabeledUI.miniIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.apple.laf.AquaButtonToggleUI.<init>:()V
1: aload 0
aload 0
invokevirtual com.apple.laf.AquaButtonLabeledUI.getPainter:()Lcom/apple/laf/AquaButtonBorder;
putfield com.apple.laf.AquaButtonLabeledUI.widgetBorder:Lcom/apple/laf/AquaButtonBorder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonLabeledUI;
public void applySizeFor(javax.swing.JComponent, apple.laf.JRSUIConstants$Size);
descriptor: (Ljavax/swing/JComponent;Lapple/laf/JRSUIConstants$Size;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.apple.laf.AquaButtonToggleUI.applySizeFor:(Ljavax/swing/JComponent;Lapple/laf/JRSUIConstants$Size;)V
1: aload 0
aload 0
getfield com.apple.laf.AquaButtonLabeledUI.widgetBorder:Lcom/apple/laf/AquaButtonBorder;
aload 2
invokevirtual com.apple.laf.AquaButtonBorder.deriveBorderForSize:(Lapple/laf/JRSUIConstants$Size;)Lcom/apple/laf/AquaBorder;
checkcast com.apple.laf.AquaButtonBorder
putfield com.apple.laf.AquaButtonLabeledUI.widgetBorder:Lcom/apple/laf/AquaButtonBorder;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonLabeledUI;
0 3 1 c Ljavax/swing/JComponent;
0 3 2 newSize Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
c final
newSize final
public javax.swing.Icon getDefaultIcon(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.apple.laf.AquaUtilControlSize.getUserSizeFrom:(Ljavax/swing/JComponent;)Lapple/laf/JRSUIConstants$Size;
astore 2
start local 2 1: aload 2
getstatic apple.laf.JRSUIConstants$Size.REGULAR:Lapple/laf/JRSUIConstants$Size;
if_acmpne 2
getstatic com.apple.laf.AquaButtonLabeledUI.regularIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
invokevirtual com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.get:()Ljava/lang/Object;
checkcast javax.swing.Icon
areturn
2: StackMap locals: apple.laf.JRSUIConstants$Size
StackMap stack:
aload 2
getstatic apple.laf.JRSUIConstants$Size.SMALL:Lapple/laf/JRSUIConstants$Size;
if_acmpne 3
getstatic com.apple.laf.AquaButtonLabeledUI.smallIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
invokevirtual com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.get:()Ljava/lang/Object;
checkcast javax.swing.Icon
areturn
3: StackMap locals:
StackMap stack:
aload 2
getstatic apple.laf.JRSUIConstants$Size.MINI:Lapple/laf/JRSUIConstants$Size;
if_acmpne 4
getstatic com.apple.laf.AquaButtonLabeledUI.miniIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
invokevirtual com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.get:()Ljava/lang/Object;
checkcast javax.swing.Icon
areturn
4: StackMap locals:
StackMap stack:
getstatic com.apple.laf.AquaButtonLabeledUI.regularIcon:Lcom/apple/laf/AquaButtonLabeledUI$RecyclableSizingIcon;
invokevirtual com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon.get:()Ljava/lang/Object;
checkcast javax.swing.Icon
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaButtonLabeledUI;
0 5 1 c Ljavax/swing/JComponent;
1 5 2 componentSize Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
c final
protected void setThemeBorder(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.apple.laf.AquaButtonToggleUI.setThemeBorder:(Ljavax/swing/AbstractButton;)V
1: aload 1
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
instanceof javax.swing.plaf.UIResource
ifeq 4
3: StackMap locals: javax.swing.border.Border
StackMap stack:
aload 1
invokestatic com.apple.laf.AquaButtonBorder.getBevelButtonBorder:()Lcom/apple/laf/AquaButtonBorder;
invokevirtual javax.swing.AbstractButton.setBorder:(Ljavax/swing/border/Border;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaButtonLabeledUI;
0 5 1 b Ljavax/swing/AbstractButton;
2 5 2 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
b final
protected abstract com.apple.laf.AquaButtonBorder getPainter();
descriptor: ()Lcom/apple/laf/AquaButtonBorder;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public synchronized void paint(java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=12, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast javax.swing.AbstractButton
astore 3
start local 3 1: aload 3
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 4
start local 4 2: aload 2
invokevirtual javax.swing.JComponent.getFont:()Ljava/awt/Font;
astore 5
start local 5 3: aload 1
aload 5
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
4: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 6
start local 6 5: aload 3
invokevirtual javax.swing.AbstractButton.getSize:()Ljava/awt/Dimension;
astore 7
start local 7 6: aload 2
invokevirtual javax.swing.JComponent.getInsets:()Ljava/awt/Insets;
astore 8
start local 8 7: new java.awt.Rectangle
dup
aload 3
invokevirtual javax.swing.AbstractButton.getWidth:()I
aload 3
invokevirtual javax.swing.AbstractButton.getHeight:()I
invokespecial java.awt.Rectangle.<init>:(II)V
astore 9
start local 9 8: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 10
start local 10 9: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 11
start local 11 10: aload 3
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 12
start local 12 11: aload 2
invokevirtual javax.swing.JComponent.getParent:()Ljava/awt/Container;
instanceof javax.swing.CellRendererPane
istore 13
start local 13 12: aload 3
invokevirtual javax.swing.AbstractButton.isOpaque:()Z
ifne 13
iload 13
ifeq 15
13: StackMap locals: com.apple.laf.AquaButtonLabeledUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle javax.swing.Icon int
StackMap stack:
aload 1
aload 3
invokevirtual javax.swing.AbstractButton.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 1
iconst_0
iconst_0
aload 7
getfield java.awt.Dimension.width:I
aload 7
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: StackMap locals:
StackMap stack:
aload 2
checkcast javax.swing.AbstractButton
invokevirtual javax.swing.AbstractButton.isBorderPainted:()Z
ifeq 19
iload 13
ifne 19
16: aload 2
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
astore 14
start local 14 17: aload 14
instanceof com.apple.laf.AquaButtonBorder
ifeq 19
18: aload 14
checkcast com.apple.laf.AquaButtonBorder
aload 2
aload 1
aload 9
getfield java.awt.Rectangle.x:I
aload 9
getfield java.awt.Rectangle.y:I
aload 9
getfield java.awt.Rectangle.width:I
aload 9
getfield java.awt.Rectangle.height:I
invokevirtual com.apple.laf.AquaButtonBorder.paintButton:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
end local 14 19: StackMap locals:
StackMap stack:
aload 9
aload 8
getfield java.awt.Insets.left:I
putfield java.awt.Rectangle.x:I
20: aload 9
aload 8
getfield java.awt.Insets.top:I
putfield java.awt.Rectangle.y:I
21: aload 9
aload 3
invokevirtual javax.swing.AbstractButton.getWidth:()I
aload 8
getfield java.awt.Insets.right:I
aload 9
getfield java.awt.Rectangle.x:I
iadd
isub
putfield java.awt.Rectangle.width:I
22: aload 9
aload 3
invokevirtual javax.swing.AbstractButton.getHeight:()I
aload 8
getfield java.awt.Insets.bottom:I
aload 9
getfield java.awt.Rectangle.y:I
iadd
isub
putfield java.awt.Rectangle.height:I
23: aload 2
aload 6
aload 3
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
aload 12
ifnull 24
aload 12
goto 25
StackMap locals: com.apple.laf.AquaButtonLabeledUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle javax.swing.Icon int
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String
24: aload 0
aload 3
invokevirtual com.apple.laf.AquaButtonLabeledUI.getDefaultIcon:(Ljavax/swing/JComponent;)Ljavax/swing/Icon;
StackMap locals: com.apple.laf.AquaButtonLabeledUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle javax.swing.Icon int
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon
25: aload 3
invokevirtual javax.swing.AbstractButton.getVerticalAlignment:()I
aload 3
invokevirtual javax.swing.AbstractButton.getHorizontalAlignment:()I
aload 3
invokevirtual javax.swing.AbstractButton.getVerticalTextPosition:()I
aload 3
invokevirtual javax.swing.AbstractButton.getHorizontalTextPosition:()I
aload 9
aload 10
aload 11
aload 3
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
ifnonnull 26
iconst_0
goto 27
StackMap locals: com.apple.laf.AquaButtonLabeledUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle javax.swing.Icon int
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
26: aload 3
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
StackMap locals: com.apple.laf.AquaButtonLabeledUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Dimension java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle javax.swing.Icon int
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle int
27: invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
astore 14
start local 14 28: aload 12
ifnonnull 31
29: aload 0
getfield com.apple.laf.AquaButtonLabeledUI.widgetBorder:Lcom/apple/laf/AquaButtonBorder;
aload 2
aload 1
aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.y:I
aload 10
getfield java.awt.Rectangle.width:I
aload 10
getfield java.awt.Rectangle.height:I
invokevirtual com.apple.laf.AquaButtonBorder.paintButton:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
30: goto 55
31: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 37
32: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 35
33: aload 3
invokevirtual javax.swing.AbstractButton.getDisabledSelectedIcon:()Ljavax/swing/Icon;
astore 12
34: goto 52
35: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.getDisabledIcon:()Ljavax/swing/Icon;
astore 12
36: goto 52
StackMap locals:
StackMap stack:
37: aload 4
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 42
aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 42
38: aload 3
invokevirtual javax.swing.AbstractButton.getPressedIcon:()Ljavax/swing/Icon;
astore 12
39: aload 12
ifnonnull 52
40: aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 12
41: goto 52
StackMap locals:
StackMap stack:
42: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 50
43: aload 3
invokevirtual javax.swing.AbstractButton.isRolloverEnabled:()Z
ifeq 48
aload 4
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 48
44: aload 3
invokevirtual javax.swing.AbstractButton.getRolloverSelectedIcon:()Ljavax/swing/Icon;
astore 12
45: aload 12
ifnonnull 52
46: aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 12
47: goto 52
48: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 12
49: goto 52
StackMap locals:
StackMap stack:
50: aload 3
invokevirtual javax.swing.AbstractButton.isRolloverEnabled:()Z
ifeq 52
aload 4
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 52
51: aload 3
invokevirtual javax.swing.AbstractButton.getRolloverIcon:()Ljavax/swing/Icon;
astore 12
52: StackMap locals:
StackMap stack:
aload 12
ifnonnull 54
53: aload 3
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 12
54: StackMap locals:
StackMap stack:
aload 12
aload 2
aload 1
aload 10
getfield java.awt.Rectangle.x:I
aload 10
getfield java.awt.Rectangle.y:I
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
55: StackMap locals:
StackMap stack:
aload 14
ifnull 61
56: aload 2
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 15
start local 15 57: aload 15
ifnull 60
58: aload 15
aload 1
aload 11
invokevirtual javax.swing.text.View.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
59: goto 61
60: StackMap locals: javax.swing.text.View
StackMap stack:
aload 0
aload 1
aload 3
aload 11
aload 14
invokevirtual com.apple.laf.AquaButtonLabeledUI.paintText:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;Ljava/lang/String;)V
end local 15 61: StackMap locals:
StackMap stack:
return
end local 14 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 62 0 this Lcom/apple/laf/AquaButtonLabeledUI;
0 62 1 g Ljava/awt/Graphics;
0 62 2 c Ljavax/swing/JComponent;
1 62 3 b Ljavax/swing/AbstractButton;
2 62 4 model Ljavax/swing/ButtonModel;
3 62 5 f Ljava/awt/Font;
5 62 6 fm Ljava/awt/FontMetrics;
6 62 7 size Ljava/awt/Dimension;
7 62 8 i Ljava/awt/Insets;
8 62 9 viewRect Ljava/awt/Rectangle;
9 62 10 iconRect Ljava/awt/Rectangle;
10 62 11 textRect Ljava/awt/Rectangle;
11 62 12 altIcon Ljavax/swing/Icon;
12 62 13 isCellEditor Z
17 19 14 border Ljavax/swing/border/Border;
28 62 14 text Ljava/lang/String;
57 61 15 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
g final
c final
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifle 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.AbstractButton
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aload 0
aload 2
invokevirtual com.apple.laf.AquaButtonLabeledUI.getDefaultIcon:(Ljavax/swing/JComponent;)Ljavax/swing/Icon;
astore 4
6: StackMap locals: javax.swing.AbstractButton java.lang.String javax.swing.Icon
StackMap stack:
aload 2
invokevirtual javax.swing.AbstractButton.getFont:()Ljava/awt/Font;
astore 5
start local 5 7: aload 2
aload 5
invokevirtual javax.swing.AbstractButton.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 6
start local 6 8: new java.awt.Rectangle
dup
sipush 32767
sipush 32767
invokespecial java.awt.Rectangle.<init>:(II)V
astore 7
start local 7 9: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 8
start local 8 10: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 9
start local 9 11: aload 1
aload 6
aload 3
aload 4
aload 2
invokevirtual javax.swing.AbstractButton.getVerticalAlignment:()I
aload 2
invokevirtual javax.swing.AbstractButton.getHorizontalAlignment:()I
aload 2
invokevirtual javax.swing.AbstractButton.getVerticalTextPosition:()I
aload 2
invokevirtual javax.swing.AbstractButton.getHorizontalTextPosition:()I
aload 7
aload 8
aload 9
aload 3
ifnonnull 12
iconst_0
goto 13
StackMap locals: com.apple.laf.AquaButtonLabeledUI javax.swing.JComponent javax.swing.AbstractButton java.lang.String javax.swing.Icon java.awt.Font java.awt.FontMetrics java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
12: aload 2
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
StackMap locals: com.apple.laf.AquaButtonLabeledUI javax.swing.JComponent javax.swing.AbstractButton java.lang.String javax.swing.Icon java.awt.Font java.awt.FontMetrics java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle int
13: invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
pop
14: aload 8
getfield java.awt.Rectangle.x:I
aload 9
getfield java.awt.Rectangle.x:I
invokestatic java.lang.Math.min:(II)I
istore 10
start local 10 15: aload 8
getfield java.awt.Rectangle.x:I
aload 8
getfield java.awt.Rectangle.width:I
iadd
aload 9
getfield java.awt.Rectangle.x:I
aload 9
getfield java.awt.Rectangle.width:I
iadd
invokestatic java.lang.Math.max:(II)I
istore 11
start local 11 16: aload 8
getfield java.awt.Rectangle.y:I
aload 9
getfield java.awt.Rectangle.y:I
invokestatic java.lang.Math.min:(II)I
istore 12
start local 12 17: aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
aload 9
getfield java.awt.Rectangle.y:I
aload 9
getfield java.awt.Rectangle.height:I
iadd
invokestatic java.lang.Math.max:(II)I
istore 13
start local 13 18: iload 11
iload 10
isub
istore 14
start local 14 19: iload 13
iload 12
isub
istore 15
start local 15 20: aload 2
invokevirtual javax.swing.AbstractButton.getInsets:()Ljava/awt/Insets;
astore 16
start local 16 21: iload 14
aload 16
getfield java.awt.Insets.left:I
aload 16
getfield java.awt.Insets.right:I
iadd
iadd
istore 14
22: iload 15
aload 16
getfield java.awt.Insets.top:I
aload 16
getfield java.awt.Insets.bottom:I
iadd
iadd
istore 15
23: new java.awt.Dimension
dup
iload 14
iload 15
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 16 end local 15 end local 14 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 24 0 this Lcom/apple/laf/AquaButtonLabeledUI;
0 24 1 c Ljavax/swing/JComponent;
2 24 2 b Ljavax/swing/AbstractButton;
3 24 3 text Ljava/lang/String;
4 24 4 buttonIcon Ljavax/swing/Icon;
7 24 5 font Ljava/awt/Font;
8 24 6 fm Ljava/awt/FontMetrics;
9 24 7 prefViewRect Ljava/awt/Rectangle;
10 24 8 prefIconRect Ljava/awt/Rectangle;
11 24 9 prefTextRect Ljava/awt/Rectangle;
15 24 10 x1 I
16 24 11 x2 I
17 24 12 y1 I
18 24 13 y2 I
19 24 14 width I
20 24 15 height I
21 24 16 prefInsets Ljava/awt/Insets;
MethodParameters:
Name Flags
c final
}
SourceFile: "AquaButtonLabeledUI.java"
NestMembers:
com.apple.laf.AquaButtonLabeledUI$LabeledButtonBorder com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon
InnerClasses:
public Size = apple.laf.JRSUIConstants$Size of apple.laf.JRSUIConstants
public abstract LabeledButtonBorder = com.apple.laf.AquaButtonLabeledUI$LabeledButtonBorder of com.apple.laf.AquaButtonLabeledUI
protected RecyclableSizingIcon = com.apple.laf.AquaButtonLabeledUI$RecyclableSizingIcon of com.apple.laf.AquaButtonLabeledUI
abstract Sizeable = com.apple.laf.AquaUtilControlSize$Sizeable of com.apple.laf.AquaUtilControlSize