public class com.apple.laf.AquaButtonUI extends javax.swing.plaf.basic.BasicButtonUI implements com.apple.laf.AquaUtilControlSize$Sizeable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaButtonUI
super_class: javax.swing.plaf.basic.BasicButtonUI
{
private static final java.lang.String BUTTON_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JButton.buttonType"
private static final java.lang.String SEGMENTED_BUTTON_POSITION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JButton.segmentPosition"
private static final com.apple.laf.AquaUtils$RecyclableSingleton<com.apple.laf.AquaButtonUI> buttonUI;
descriptor: Lcom/apple/laf/AquaUtils$RecyclableSingleton;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/apple/laf/AquaUtils$RecyclableSingleton<Lcom/apple/laf/AquaButtonUI;>;
private boolean defaults_initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Color defaultDisabledTextColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private static final com.apple.laf.AquaUtils$RecyclableSingleton<com.apple.laf.AquaButtonUI$AquaHierarchyButtonListener> fHierListener;
descriptor: Lcom/apple/laf/AquaUtils$RecyclableSingleton;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/apple/laf/AquaUtils$RecyclableSingleton<Lcom/apple/laf/AquaButtonUI$AquaHierarchyButtonListener;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor
dup
ldc Lcom/apple/laf/AquaButtonUI;
invokespecial com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor.<init>:(Ljava/lang/Class;)V
putstatic com.apple.laf.AquaButtonUI.buttonUI:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
1: new com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor
dup
ldc Lcom/apple/laf/AquaButtonUI$AquaHierarchyButtonListener;
invokespecial com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor.<init>:(Ljava/lang/Class;)V
putstatic com.apple.laf.AquaButtonUI.fHierListener:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
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 javax.swing.plaf.basic.BasicButtonUI.<init>:()V
1: aload 0
iconst_0
putfield com.apple.laf.AquaButtonUI.defaults_initialized:Z
2: aload 0
aconst_null
putfield com.apple.laf.AquaButtonUI.defaultDisabledTextColor:Ljava/awt/Color;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaButtonUI;
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.apple.laf.AquaButtonUI.buttonUI:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
invokevirtual com.apple.laf.AquaUtils$RecyclableSingleton.get:()Ljava/lang/Object;
checkcast javax.swing.plaf.ComponentUI
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected void installDefaults(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.AquaButtonUI.getPropertyPrefix:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.apple.laf.AquaButtonUI.defaults_initialized:Z
ifne 4
2: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "disabledText"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield com.apple.laf.AquaButtonUI.defaultDisabledTextColor:Ljava/awt/Color;
3: aload 0
iconst_1
putfield com.apple.laf.AquaButtonUI.defaults_initialized:Z
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "margin"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getInsets:(Ljava/lang/Object;)Ljava/awt/Insets;
invokevirtual com.apple.laf.AquaButtonUI.setButtonMarginIfNeeded:(Ljavax/swing/AbstractButton;Ljava/awt/Insets;)V
5: aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "background"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "foreground"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "font"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 1
ldc "opaque"
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "opaque"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
7: aload 1
ldc "JButton.buttonType"
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 8: iconst_0
istore 4
start local 4 9: aload 3
ifnull 11
10: aload 0
aload 1
aload 3
invokevirtual com.apple.laf.AquaButtonUI.setButtonType:(Ljavax/swing/AbstractButton;Ljava/lang/Object;)Z
istore 4
11: StackMap locals: java.lang.Object int
StackMap stack:
iload 4
ifne 12
aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.setThemeBorder:(Ljavax/swing/AbstractButton;)V
12: StackMap locals:
StackMap stack:
aload 1
ldc "JButton.segmentPosition"
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 13: aload 5
ifnull 17
14: aload 1
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
astore 6
start local 6 15: aload 6
instanceof com.apple.laf.AquaBorder
ifne 16
return
16: StackMap locals: java.lang.Object javax.swing.border.Border
StackMap stack:
aload 1
aload 1
aload 1
ldc "JButton.buttonType"
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
aload 5
invokestatic com.apple.laf.AquaButtonExtendedTypes.getBorderForPosition:(Ljavax/swing/AbstractButton;Ljava/lang/Object;Ljava/lang/Object;)Ljavax/swing/border/Border;
invokevirtual javax.swing.AbstractButton.setBorder:(Ljavax/swing/border/Border;)V
end local 6 17: 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 18 0 this Lcom/apple/laf/AquaButtonUI;
0 18 1 b Ljavax/swing/AbstractButton;
1 18 2 pp Ljava/lang/String;
8 18 3 borderProp Ljava/lang/Object;
9 18 4 hasBorder Z
13 18 5 segmentProp Ljava/lang/Object;
15 17 6 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
b final
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=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaButtonUI;
0 1 1 c Ljavax/swing/JComponent;
0 1 2 size Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
c final
size final
protected void setThemeBorder(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.AbstractButton.getUI:()Ljavax/swing/plaf/ButtonUI;
astore 2
start local 2 1: aload 2
instanceof com.apple.laf.AquaButtonUI
ifne 2
return
2: StackMap locals: javax.swing.plaf.ButtonUI
StackMap stack:
aload 2
checkcast com.apple.laf.AquaButtonUI
astore 3
start local 3 3: aload 1
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
astore 4
start local 4 4: aload 3
aload 1
invokevirtual com.apple.laf.AquaButtonUI.isBorderFromProperty:(Ljavax/swing/AbstractButton;)Z
ifne 21
aload 4
ifnull 5
aload 4
instanceof javax.swing.plaf.UIResource
ifne 5
aload 4
instanceof com.apple.laf.AquaButtonBorder
ifeq 21
5: StackMap locals: com.apple.laf.AquaButtonUI javax.swing.border.Border
StackMap stack:
iconst_1
istore 5
start local 5 6: aload 1
invokestatic com.apple.laf.AquaButtonUI.isOnToolbar:(Ljavax/swing/AbstractButton;)Z
ifeq 12
7: aload 1
instanceof javax.swing.JToggleButton
ifeq 10
8: invokestatic com.apple.laf.AquaButtonBorder.getToolBarButtonBorder:()Ljavax/swing/border/Border;
astore 4
9: goto 17
10: StackMap locals: int
StackMap stack:
invokestatic com.apple.laf.AquaButtonBorder.getBevelButtonBorder:()Lcom/apple/laf/AquaButtonBorder;
astore 4
11: goto 17
StackMap locals:
StackMap stack:
12: aload 1
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
ifnonnull 13
aload 1
invokevirtual javax.swing.AbstractButton.getComponentCount:()I
ifle 15
13: StackMap locals:
StackMap stack:
invokestatic com.apple.laf.AquaButtonBorder.getToggleButtonBorder:()Lcom/apple/laf/AquaButtonBorder;
astore 4
14: goto 17
15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual com.apple.laf.AquaButtonUI.getPropertyPrefix:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "border"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getBorder:(Ljava/lang/Object;)Ljavax/swing/border/Border;
astore 4
16: iconst_0
istore 5
17: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual javax.swing.AbstractButton.setBorder:(Ljavax/swing/border/Border;)V
18: aload 1
invokevirtual javax.swing.AbstractButton.getFont:()Ljava/awt/Font;
astore 6
start local 6 19: iload 5
ifeq 21
aload 6
ifnull 20
aload 6
instanceof javax.swing.plaf.UIResource
ifeq 21
20: StackMap locals: java.awt.Font
StackMap stack:
aload 1
ldc "IconButton.font"
invokestatic javax.swing.UIManager.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
invokevirtual javax.swing.AbstractButton.setFont:(Ljava/awt/Font;)V
end local 6 end local 5 21: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/apple/laf/AquaButtonUI;
0 22 1 b Ljavax/swing/AbstractButton;
1 22 2 genericUI Ljavax/swing/plaf/ButtonUI;
3 22 3 ui Lcom/apple/laf/AquaButtonUI;
4 22 4 border Ljavax/swing/border/Border;
6 21 5 iconFont Z
19 21 6 currentFont Ljava/awt/Font;
MethodParameters:
Name Flags
b final
protected static boolean isOnToolbar(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.AbstractButton.getParent:()Ljava/awt/Container;
astore 1
start local 1 1: goto 4
2: StackMap locals: java.awt.Component
StackMap stack:
aload 1
instanceof javax.swing.JToolBar
ifeq 3
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 b Ljavax/swing/AbstractButton;
1 6 1 parent Ljava/awt/Component;
MethodParameters:
Name Flags
b final
protected static void updateBorder(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ldc "JButton.buttonType"
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 2
return
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual javax.swing.AbstractButton.getUI:()Ljavax/swing/plaf/ButtonUI;
astore 2
start local 2 3: aload 2
instanceof com.apple.laf.AquaButtonUI
ifne 4
return
4: StackMap locals: javax.swing.plaf.ButtonUI
StackMap stack:
aload 0
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
ifnull 5
aload 2
checkcast com.apple.laf.AquaButtonUI
aload 0
invokevirtual com.apple.laf.AquaButtonUI.setThemeBorder:(Ljavax/swing/AbstractButton;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 b Ljavax/swing/AbstractButton;
1 6 1 prop Ljava/lang/Object;
3 6 2 ui Ljavax/swing/plaf/ButtonUI;
MethodParameters:
Name Flags
b final
protected void setButtonMarginIfNeeded(javax.swing.AbstractButton, java.awt.Insets);
descriptor: (Ljavax/swing/AbstractButton;Ljava/awt/Insets;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.AbstractButton.getMargin:()Ljava/awt/Insets;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
instanceof javax.swing.plaf.UIResource
ifeq 3
2: StackMap locals: java.awt.Insets
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.AbstractButton.setMargin:(Ljava/awt/Insets;)V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaButtonUI;
0 4 1 b Ljavax/swing/AbstractButton;
0 4 2 insets Ljava/awt/Insets;
1 4 3 margin Ljava/awt/Insets;
MethodParameters:
Name Flags
b final
insets final
public boolean isBorderFromProperty(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "JButton.buttonType"
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaButtonUI;
0 2 1 button Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
button final
protected boolean setButtonType(javax.swing.AbstractButton, java.lang.Object);
descriptor: (Ljavax/swing/AbstractButton;Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.lang.String
ifne 3
1: aload 1
ldc "JButton.buttonType"
aconst_null
invokevirtual javax.swing.AbstractButton.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.String
astore 3
start local 3 4: iconst_1
istore 4
start local 4 5: aload 3
invokestatic com.apple.laf.AquaButtonExtendedTypes.getSpecifierByName:(Ljava/lang/String;)Lcom/apple/laf/AquaButtonExtendedTypes$TypeSpecifier;
astore 5
start local 5 6: aload 5
ifnull 9
7: aload 1
aload 5
invokevirtual com.apple.laf.AquaButtonExtendedTypes$TypeSpecifier.getBorder:()Ljavax/swing/border/Border;
invokevirtual javax.swing.AbstractButton.setBorder:(Ljavax/swing/border/Border;)V
8: aload 5
getfield com.apple.laf.AquaButtonExtendedTypes$TypeSpecifier.setIconFont:Z
istore 4
9: StackMap locals: java.lang.String int com.apple.laf.AquaButtonExtendedTypes$TypeSpecifier
StackMap stack:
aload 1
invokevirtual javax.swing.AbstractButton.getFont:()Ljava/awt/Font;
astore 6
start local 6 10: aload 6
ifnull 11
aload 6
instanceof javax.swing.plaf.UIResource
ifeq 14
11: StackMap locals: java.awt.Font
StackMap stack:
aload 1
iload 4
ifeq 12
ldc "IconButton.font"
goto 13
StackMap locals:
StackMap stack: javax.swing.AbstractButton
12: ldc "Button.font"
StackMap locals: com.apple.laf.AquaButtonUI javax.swing.AbstractButton java.lang.Object java.lang.String int com.apple.laf.AquaButtonExtendedTypes$TypeSpecifier java.awt.Font
StackMap stack: javax.swing.AbstractButton java.lang.String
13: invokestatic javax.swing.UIManager.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
invokevirtual javax.swing.AbstractButton.setFont:(Ljava/awt/Font;)V
14: StackMap locals:
StackMap stack:
iconst_1
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 15 0 this Lcom/apple/laf/AquaButtonUI;
0 15 1 b Ljavax/swing/AbstractButton;
0 15 2 prop Ljava/lang/Object;
4 15 3 buttonType Ljava/lang/String;
5 15 4 iconFont Z
6 15 5 specifier Lcom/apple/laf/AquaButtonExtendedTypes$TypeSpecifier;
10 15 6 currentFont Ljava/awt/Font;
MethodParameters:
Name Flags
b final
prop final
protected void installListeners(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicButtonUI.installListeners:(Ljavax/swing/AbstractButton;)V
1: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.getAquaButtonListener:(Ljavax/swing/AbstractButton;)Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 1
aload 0
aload 2
invokevirtual javax.swing.AbstractButton.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 1
aload 2
invokevirtual javax.swing.AbstractButton.addAncestorListener:(Ljavax/swing/event/AncestorListener;)V
5: StackMap locals: com.apple.laf.AquaButtonUI$AquaButtonListener
StackMap stack:
aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.installHierListener:(Ljavax/swing/AbstractButton;)V
6: aload 1
invokestatic com.apple.laf.AquaUtilControlSize.addSizePropertyListener:(Ljavax/swing/JComponent;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaButtonUI;
0 8 1 b Ljavax/swing/AbstractButton;
2 8 2 listener Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
MethodParameters:
Name Flags
b final
protected void installKeyboardActions(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 1
aload 0
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicButtonListener
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 1
invokevirtual javax.swing.plaf.basic.BasicButtonListener.installKeyboardActions:(Ljavax/swing/JComponent;)V
2: StackMap locals: javax.swing.plaf.basic.BasicButtonListener
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
1 3 2 listener Ljavax/swing/plaf/basic/BasicButtonListener;
MethodParameters:
Name Flags
b final
public void uninstallUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javax.swing.AbstractButton
invokevirtual com.apple.laf.AquaButtonUI.uninstallKeyboardActions:(Ljavax/swing/AbstractButton;)V
1: aload 0
aload 1
checkcast javax.swing.AbstractButton
invokevirtual com.apple.laf.AquaButtonUI.uninstallListeners:(Ljavax/swing/AbstractButton;)V
2: aload 0
aload 1
checkcast javax.swing.AbstractButton
invokevirtual com.apple.laf.AquaButtonUI.uninstallDefaults:(Ljavax/swing/AbstractButton;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaButtonUI;
0 4 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected void uninstallKeyboardActions(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 1
aload 0
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicButtonListener
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
aload 1
invokevirtual javax.swing.plaf.basic.BasicButtonListener.uninstallKeyboardActions:(Ljavax/swing/JComponent;)V
2: StackMap locals: javax.swing.plaf.basic.BasicButtonListener
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
1 3 2 listener Ljavax/swing/plaf/basic/BasicButtonListener;
MethodParameters:
Name Flags
b final
protected void uninstallListeners(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicButtonUI.uninstallListeners:(Ljavax/swing/AbstractButton;)V
1: aload 1
aload 0
invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.apple.laf.AquaButtonUI$AquaButtonListener
astore 2
start local 2 2: aload 1
aload 0
aconst_null
invokevirtual javax.swing.AbstractButton.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 2
ifnull 5
4: aload 1
aload 2
invokevirtual javax.swing.AbstractButton.removeAncestorListener:(Ljavax/swing/event/AncestorListener;)V
5: StackMap locals: com.apple.laf.AquaButtonUI$AquaButtonListener
StackMap stack:
aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.uninstallHierListener:(Ljavax/swing/AbstractButton;)V
6: aload 1
invokestatic com.apple.laf.AquaUtilControlSize.removeSizePropertyListener:(Ljavax/swing/JComponent;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/apple/laf/AquaButtonUI;
0 8 1 b Ljavax/swing/AbstractButton;
2 8 2 listener Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
MethodParameters:
Name Flags
b final
protected void uninstallDefaults(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic javax.swing.LookAndFeel.uninstallBorder:(Ljavax/swing/JComponent;)V
1: aload 0
iconst_0
putfield com.apple.laf.AquaButtonUI.defaults_initialized:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b final
protected com.apple.laf.AquaButtonUI$AquaButtonListener createButtonListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.apple.laf.AquaButtonUI$AquaButtonListener
dup
aload 0
aload 1
invokespecial com.apple.laf.AquaButtonUI$AquaButtonListener.<init>:(Lcom/apple/laf/AquaButtonUI;Ljavax/swing/AbstractButton;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaButtonUI;
0 1 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b final
private com.apple.laf.AquaButtonUI$AquaButtonListener getAquaButtonListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.AbstractButton.getMouseMotionListeners:()[Ljava/awt/event/MouseMotionListener;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: com.apple.laf.AquaButtonUI javax.swing.AbstractButton java.awt.event.MouseMotionListener[] top int int java.awt.event.MouseMotionListener[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
instanceof com.apple.laf.AquaButtonUI$AquaButtonListener
ifeq 6
5: aload 3
checkcast com.apple.laf.AquaButtonUI$AquaButtonListener
areturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: StackMap locals: com.apple.laf.AquaButtonUI javax.swing.AbstractButton java.awt.event.MouseMotionListener[]
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/apple/laf/AquaButtonUI;
0 9 1 b Ljavax/swing/AbstractButton;
1 9 2 listeners [Ljava/awt/event/MouseMotionListener;
4 6 3 listener Ljava/awt/event/MouseMotionListener;
MethodParameters:
Name Flags
b
public void paint(java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, 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.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 3: 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 6
start local 6 4: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 7
start local 7 5: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
astore 8
start local 8 6: aload 3
invokevirtual javax.swing.AbstractButton.isOpaque:()Z
ifeq 9
7: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 1
aload 6
getfield java.awt.Rectangle.x:I
aload 6
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
9: StackMap locals: com.apple.laf.AquaButtonUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aconst_null
astore 9
start local 9 10: aload 2
checkcast javax.swing.AbstractButton
invokevirtual javax.swing.AbstractButton.isBorderPainted:()Z
ifeq 16
11: aload 2
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
astore 10
start local 10 12: aload 10
instanceof com.apple.laf.AquaButtonBorder
ifeq 28
13: aload 10
checkcast com.apple.laf.AquaButtonBorder
astore 9
14: aload 9
aload 2
aload 1
aload 6
getfield java.awt.Rectangle.x:I
aload 6
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Rectangle.height:I
invokevirtual com.apple.laf.AquaButtonBorder.paintButton:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
end local 10 15: goto 28
16: StackMap locals: com.apple.laf.AquaButtonBorder
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.isOpaque:()Z
ifeq 26
17: aload 6
aload 5
getfield java.awt.Insets.left:I
iconst_2
isub
putfield java.awt.Rectangle.x:I
18: aload 6
aload 5
getfield java.awt.Insets.top:I
iconst_2
isub
putfield java.awt.Rectangle.y:I
19: aload 6
aload 3
invokevirtual javax.swing.AbstractButton.getWidth:()I
aload 5
getfield java.awt.Insets.right:I
aload 6
getfield java.awt.Rectangle.x:I
iadd
isub
iconst_4
iadd
putfield java.awt.Rectangle.width:I
20: aload 6
aload 3
invokevirtual javax.swing.AbstractButton.getHeight:()I
aload 5
getfield java.awt.Insets.bottom:I
aload 6
getfield java.awt.Rectangle.y:I
iadd
isub
iconst_4
iadd
putfield java.awt.Rectangle.height:I
21: aload 3
invokevirtual javax.swing.AbstractButton.isContentAreaFilled:()Z
ifne 22
aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 26
22: StackMap locals:
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 24
23: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
goto 25
24: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
25: StackMap locals:
StackMap stack:
aload 1
aload 6
getfield java.awt.Rectangle.x:I
aload 6
getfield java.awt.Rectangle.y:I
aload 6
getfield java.awt.Rectangle.width:I
aload 6
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.isFocusPainted:()Z
ifeq 28
aload 3
invokevirtual javax.swing.AbstractButton.hasFocus:()Z
ifeq 28
27: aload 0
aload 1
aload 3
aload 6
aload 8
aload 7
invokevirtual com.apple.laf.AquaButtonUI.paintFocus:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)V
28: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 9
aload 5
aload 6
aload 7
aload 8
invokevirtual com.apple.laf.AquaButtonUI.layoutAndGetText:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Lcom/apple/laf/AquaButtonBorder;Ljava/awt/Insets;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)Ljava/lang/String;
astore 10
start local 10 29: aload 3
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
ifnull 31
30: aload 0
aload 1
aload 3
aload 7
invokevirtual com.apple.laf.AquaButtonUI.paintIcon:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;)V
31: StackMap locals: java.lang.String
StackMap stack:
aload 8
getfield java.awt.Rectangle.width:I
ifne 33
32: aload 8
bipush 50
putfield java.awt.Rectangle.width:I
33: StackMap locals:
StackMap stack:
aload 10
ifnull 39
aload 10
invokevirtual java.lang.String.isEmpty:()Z
ifne 39
34: aload 2
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 11
start local 11 35: aload 11
ifnull 38
36: aload 11
aload 1
aload 8
invokevirtual javax.swing.text.View.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
37: goto 39
38: StackMap locals: javax.swing.text.View
StackMap stack:
aload 0
aload 1
aload 3
aload 8
aload 10
invokevirtual com.apple.laf.AquaButtonUI.paintText:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;Ljava/lang/String;)V
end local 11 39: StackMap locals:
StackMap stack:
return
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 40 0 this Lcom/apple/laf/AquaButtonUI;
0 40 1 g Ljava/awt/Graphics;
0 40 2 c Ljavax/swing/JComponent;
1 40 3 b Ljavax/swing/AbstractButton;
2 40 4 model Ljavax/swing/ButtonModel;
3 40 5 i Ljava/awt/Insets;
4 40 6 viewRect Ljava/awt/Rectangle;
5 40 7 iconRect Ljava/awt/Rectangle;
6 40 8 textRect Ljava/awt/Rectangle;
10 40 9 aquaBorder Lcom/apple/laf/AquaButtonBorder;
12 15 10 border Ljavax/swing/border/Border;
29 40 10 text Ljava/lang/String;
35 39 11 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
g final
c final
protected java.lang.String layoutAndGetText(java.awt.Graphics, javax.swing.AbstractButton, com.apple.laf.AquaButtonBorder, java.awt.Insets, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Lcom/apple/laf/AquaButtonBorder;Ljava/awt/Insets;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 5
aload 4
getfield java.awt.Insets.left:I
putfield java.awt.Rectangle.x:I
1: aload 5
aload 4
getfield java.awt.Insets.top:I
putfield java.awt.Rectangle.y:I
2: aload 5
aload 2
invokevirtual javax.swing.AbstractButton.getWidth:()I
aload 4
getfield java.awt.Insets.right:I
aload 5
getfield java.awt.Rectangle.x:I
iadd
isub
putfield java.awt.Rectangle.width:I
3: aload 5
aload 2
invokevirtual javax.swing.AbstractButton.getHeight:()I
aload 4
getfield java.awt.Insets.bottom:I
aload 5
getfield java.awt.Rectangle.y:I
iadd
isub
putfield java.awt.Rectangle.height:I
4: aload 7
aload 7
aload 7
aload 7
iconst_0
dup_x1
putfield java.awt.Rectangle.height:I
dup_x1
putfield java.awt.Rectangle.width:I
dup_x1
putfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.x:I
5: aload 6
aload 6
aload 6
aload 6
iconst_0
dup_x1
putfield java.awt.Rectangle.height:I
dup_x1
putfield java.awt.Rectangle.width:I
dup_x1
putfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.x:I
6: aload 1
aload 2
invokevirtual javax.swing.AbstractButton.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
7: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 8
start local 8 8: aload 2
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
astore 9
start local 9 9: aload 2
aload 8
aload 9
aload 2
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
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 5
aload 6
aload 7
aload 9
ifnonnull 10
iconst_0
goto 11
StackMap locals: com.apple.laf.AquaButtonUI java.awt.Graphics javax.swing.AbstractButton com.apple.laf.AquaButtonBorder java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.FontMetrics java.lang.String
StackMap stack: javax.swing.AbstractButton java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
10: aload 2
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
StackMap locals: com.apple.laf.AquaButtonUI java.awt.Graphics javax.swing.AbstractButton com.apple.laf.AquaButtonBorder java.awt.Insets java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle java.awt.FontMetrics java.lang.String
StackMap stack: javax.swing.AbstractButton java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle int
11: 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 10
start local 10 12: aload 10
aload 9
if_acmpeq 13
aload 3
ifnonnull 14
StackMap locals: java.lang.String
StackMap stack:
13: aload 10
areturn
14: StackMap locals:
StackMap stack:
aload 3
aload 2
aload 2
invokevirtual javax.swing.AbstractButton.getWidth:()I
aload 2
invokevirtual javax.swing.AbstractButton.getHeight:()I
invokevirtual com.apple.laf.AquaButtonBorder.getContentInsets:(Ljavax/swing/AbstractButton;II)Ljava/awt/Insets;
astore 11
start local 11 15: aload 11
ifnull 17
16: aload 0
aload 1
aload 2
aconst_null
aload 11
aload 5
aload 6
aload 7
invokevirtual com.apple.laf.AquaButtonUI.layoutAndGetText:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Lcom/apple/laf/AquaButtonBorder;Ljava/awt/Insets;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)Ljava/lang/String;
areturn
17: StackMap locals: java.awt.Insets
StackMap stack:
aload 10
areturn
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 18 0 this Lcom/apple/laf/AquaButtonUI;
0 18 1 g Ljava/awt/Graphics;
0 18 2 b Ljavax/swing/AbstractButton;
0 18 3 aquaBorder Lcom/apple/laf/AquaButtonBorder;
0 18 4 i Ljava/awt/Insets;
0 18 5 viewRect Ljava/awt/Rectangle;
0 18 6 iconRect Ljava/awt/Rectangle;
0 18 7 textRect Ljava/awt/Rectangle;
8 18 8 fm Ljava/awt/FontMetrics;
9 18 9 originalText Ljava/lang/String;
12 18 10 text Ljava/lang/String;
15 18 11 alternateContentInsets Ljava/awt/Insets;
MethodParameters:
Name Flags
g final
b final
aquaBorder final
i final
viewRect
iconRect
textRect
protected void paintIcon(java.awt.Graphics, javax.swing.AbstractButton, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 4
start local 4 1: aload 2
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aload 5
ifnonnull 4
return
4: StackMap locals: javax.swing.ButtonModel javax.swing.Icon javax.swing.Icon
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 10
5: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 8
6: aload 2
invokevirtual javax.swing.AbstractButton.getDisabledSelectedIcon:()Ljavax/swing/Icon;
astore 6
7: goto 24
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.AbstractButton.getDisabledIcon:()Ljavax/swing/Icon;
astore 6
9: goto 24
StackMap locals:
StackMap stack:
10: aload 4
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 16
aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 16
11: aload 2
invokevirtual javax.swing.AbstractButton.getPressedIcon:()Ljavax/swing/Icon;
astore 6
12: aload 6
ifnonnull 24
13: aload 5
instanceof javax.swing.ImageIcon
ifeq 24
14: new javax.swing.ImageIcon
dup
aload 5
checkcast javax.swing.ImageIcon
invokevirtual javax.swing.ImageIcon.getImage:()Ljava/awt/Image;
invokestatic com.apple.laf.AquaUtils.generateSelectedDarkImage:(Ljava/awt/Image;)Ljava/awt/Image;
invokespecial javax.swing.ImageIcon.<init>:(Ljava/awt/Image;)V
astore 6
15: goto 24
StackMap locals:
StackMap stack:
16: aload 2
invokevirtual javax.swing.AbstractButton.isRolloverEnabled:()Z
ifeq 22
aload 4
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 22
17: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 20
18: aload 2
invokevirtual javax.swing.AbstractButton.getRolloverSelectedIcon:()Ljavax/swing/Icon;
astore 6
19: goto 24
20: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.AbstractButton.getRolloverIcon:()Ljavax/swing/Icon;
astore 6
21: goto 24
StackMap locals:
StackMap stack:
22: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 24
23: aload 2
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 6
24: StackMap locals:
StackMap stack:
aload 4
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 30
aload 2
invokevirtual javax.swing.AbstractButton.isFocusOwner:()Z
ifeq 30
aload 2
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
instanceof com.apple.laf.AquaButtonBorder$Toolbar
ifeq 30
25: aload 6
ifnonnull 26
aload 5
astore 6
26: StackMap locals:
StackMap stack:
aload 6
instanceof javax.swing.ImageIcon
ifeq 30
27: aload 6
aload 2
iconst_3
invokestatic com.apple.laf.AquaFocus.createFocusedIcon:(Ljavax/swing/Icon;Ljava/awt/Component;I)Ljavax/swing/Icon;
astore 6
28: aload 6
aload 2
aload 1
aload 3
getfield java.awt.Rectangle.x:I
iconst_3
isub
aload 3
getfield java.awt.Rectangle.y:I
iconst_3
isub
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
29: return
30: StackMap locals:
StackMap stack:
aload 6
ifnull 32
31: aload 6
astore 5
32: StackMap locals:
StackMap stack:
aload 5
aload 2
aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
33: 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 34 0 this Lcom/apple/laf/AquaButtonUI;
0 34 1 g Ljava/awt/Graphics;
0 34 2 b Ljavax/swing/AbstractButton;
0 34 3 localIconRect Ljava/awt/Rectangle;
1 34 4 model Ljavax/swing/ButtonModel;
2 34 5 icon Ljavax/swing/Icon;
3 34 6 tmpIcon Ljavax/swing/Icon;
MethodParameters:
Name Flags
g final
b final
localIconRect final
protected void paintText(java.awt.Graphics, javax.swing.JComponent, java.awt.Rectangle, java.lang.String);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
instanceof java.awt.Graphics2D
ifeq 1
aload 1
checkcast java.awt.Graphics2D
pop
1: StackMap locals:
StackMap stack:
aload 2
checkcast javax.swing.AbstractButton
astore 5
start local 5 2: aload 5
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 6
start local 6 3: aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
astore 7
start local 7 4: invokestatic com.apple.laf.AquaMnemonicHandler.isMnemonicHidden:()Z
ifeq 5
iconst_m1
goto 6
StackMap locals: javax.swing.AbstractButton javax.swing.ButtonModel java.awt.FontMetrics
StackMap stack:
5: aload 5
invokevirtual javax.swing.AbstractButton.getDisplayedMnemonicIndex:()I
StackMap locals:
StackMap stack: int
6: istore 8
start local 8 7: aload 6
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 10
8: aload 1
aload 5
invokevirtual javax.swing.AbstractButton.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
9: goto 11
10: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.apple.laf.AquaButtonUI.defaultDisabledTextColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 4
iload 8
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 7
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
invokestatic sun.swing.SwingUtilities2.drawStringUnderlineCharAt:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;III)V
12: return
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 13 0 this Lcom/apple/laf/AquaButtonUI;
0 13 1 g Ljava/awt/Graphics;
0 13 2 c Ljavax/swing/JComponent;
0 13 3 localTextRect Ljava/awt/Rectangle;
0 13 4 text Ljava/lang/String;
2 13 5 b Ljavax/swing/AbstractButton;
3 13 6 model Ljavax/swing/ButtonModel;
4 13 7 fm Ljava/awt/FontMetrics;
7 13 8 mnemonicIndex I
MethodParameters:
Name Flags
g final
c final
localTextRect final
text final
protected void paintText(java.awt.Graphics, javax.swing.AbstractButton, java.awt.Rectangle, java.lang.String);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, 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
aload 3
aload 4
invokevirtual com.apple.laf.AquaButtonUI.paintText:(Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljava/awt/Rectangle;Ljava/lang/String;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaButtonUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 b Ljavax/swing/AbstractButton;
0 2 3 localTextRect Ljava/awt/Rectangle;
0 2 4 text Ljava/lang/String;
MethodParameters:
Name Flags
g final
b final
localTextRect final
text final
protected void paintButtonPressed(java.awt.Graphics, javax.swing.AbstractButton);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.apple.laf.AquaButtonUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaButtonUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
g final
b final
public java.awt.Dimension getMinimumSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
astore 2
start local 2 1: aload 1
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
dup
getfield java.awt.Dimension.width:I
i2f
aload 3
iconst_0
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
aload 3
iconst_0
invokevirtual javax.swing.text.View.getMinimumSpan:(I)F
fsub
fsub
f2i
putfield java.awt.Dimension.width:I
4: StackMap locals: java.awt.Dimension javax.swing.text.View
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaButtonUI;
0 5 1 c Ljavax/swing/JComponent;
1 5 2 d Ljava/awt/Dimension;
2 5 3 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
c final
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast javax.swing.AbstractButton
astore 2
start local 2 1: aload 2
aload 2
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize:(Ljavax/swing/AbstractButton;I)Ljava/awt/Dimension;
astore 3
start local 3 2: aload 3
ifnonnull 3
aconst_null
areturn
3: StackMap locals: javax.swing.AbstractButton java.awt.Dimension
StackMap stack:
aload 2
invokevirtual javax.swing.AbstractButton.getBorder:()Ljavax/swing/border/Border;
astore 4
start local 4 4: aload 4
instanceof com.apple.laf.AquaButtonBorder
ifeq 6
5: aload 4
checkcast com.apple.laf.AquaButtonBorder
aload 3
invokevirtual com.apple.laf.AquaButtonBorder.alterPreferredSize:(Ljava/awt/Dimension;)V
6: StackMap locals: javax.swing.border.Border
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaButtonUI;
0 7 1 c Ljavax/swing/JComponent;
1 7 2 b Ljavax/swing/AbstractButton;
2 7 3 d Ljava/awt/Dimension;
4 7 4 border Ljavax/swing/border/Border;
MethodParameters:
Name Flags
c final
public java.awt.Dimension getMaximumSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.getPreferredSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
astore 2
start local 2 1: aload 1
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
dup
getfield java.awt.Dimension.width:I
i2f
aload 3
iconst_0
invokevirtual javax.swing.text.View.getMaximumSpan:(I)F
aload 3
iconst_0
invokevirtual javax.swing.text.View.getPreferredSpan:(I)F
fsub
fadd
f2i
putfield java.awt.Dimension.width:I
4: StackMap locals: java.awt.Dimension javax.swing.text.View
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaButtonUI;
0 5 1 c Ljavax/swing/JComponent;
1 5 2 d Ljava/awt/Dimension;
2 5 3 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
c final
static com.apple.laf.AquaButtonUI$AquaHierarchyButtonListener getAquaHierarchyButtonListener();
descriptor: ()Lcom/apple/laf/AquaButtonUI$AquaHierarchyButtonListener;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.apple.laf.AquaButtonUI.fHierListener:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
invokevirtual com.apple.laf.AquaUtils$RecyclableSingleton.get:()Ljava/lang/Object;
checkcast com.apple.laf.AquaButtonUI$AquaHierarchyButtonListener
areturn
LocalVariableTable:
Start End Slot Name Signature
private boolean shouldInstallHierListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.JButton
ifne 2
aload 1
instanceof javax.swing.JToggleButton
ifeq 1
aload 1
instanceof com.apple.laf.AquaComboBoxButton
ifne 1
aload 1
instanceof javax.swing.JCheckBox
ifne 1
aload 1
instanceof javax.swing.JRadioButton
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b final
protected void installHierListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.shouldInstallHierListener:(Ljavax/swing/AbstractButton;)Z
ifeq 2
1: aload 1
invokestatic com.apple.laf.AquaButtonUI.getAquaHierarchyButtonListener:()Lcom/apple/laf/AquaButtonUI$AquaHierarchyButtonListener;
invokevirtual javax.swing.AbstractButton.addHierarchyListener:(Ljava/awt/event/HierarchyListener;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b final
protected void uninstallHierListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.shouldInstallHierListener:(Ljavax/swing/AbstractButton;)Z
ifeq 2
1: aload 1
invokestatic com.apple.laf.AquaButtonUI.getAquaHierarchyButtonListener:()Lcom/apple/laf/AquaButtonUI$AquaHierarchyButtonListener;
invokevirtual javax.swing.AbstractButton.removeHierarchyListener:(Ljava/awt/event/HierarchyListener;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b final
protected javax.swing.plaf.basic.BasicButtonListener createButtonListener(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)Ljavax/swing/plaf/basic/BasicButtonListener;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.apple.laf.AquaButtonUI.createButtonListener:(Ljavax/swing/AbstractButton;)Lcom/apple/laf/AquaButtonUI$AquaButtonListener;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaButtonUI.java"
NestMembers:
com.apple.laf.AquaButtonUI$AquaButtonListener com.apple.laf.AquaButtonUI$AquaHierarchyButtonListener
InnerClasses:
public Size = apple.laf.JRSUIConstants$Size of apple.laf.JRSUIConstants
public Toolbar = com.apple.laf.AquaButtonBorder$Toolbar of com.apple.laf.AquaButtonBorder
abstract TypeSpecifier = com.apple.laf.AquaButtonExtendedTypes$TypeSpecifier of com.apple.laf.AquaButtonExtendedTypes
AquaButtonListener = com.apple.laf.AquaButtonUI$AquaButtonListener of com.apple.laf.AquaButtonUI
AquaHierarchyButtonListener = com.apple.laf.AquaButtonUI$AquaHierarchyButtonListener of com.apple.laf.AquaButtonUI
abstract Sizeable = com.apple.laf.AquaUtilControlSize$Sizeable of com.apple.laf.AquaUtilControlSize
abstract RecyclableSingleton = com.apple.laf.AquaUtils$RecyclableSingleton of com.apple.laf.AquaUtils
RecyclableSingletonFromDefaultConstructor = com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor of com.apple.laf.AquaUtils