public class extends javax.swing.plaf.basic.BasicMenuItemUI implements com.apple.laf.AquaMenuPainter$Client
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaMenuItemUI
super_class: javax.swing.plaf.basic.BasicMenuItemUI
{
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final java.lang.String[] ;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
boolean ;
descriptor: Z
flags: (0x0000)
boolean ;
descriptor: Z
flags: (0x0000)
int ;
descriptor: I
flags: (0x0000)
static final com.apple.laf.AquaMenuItemUI$IndeterminateListener ;
descriptor: Lcom/apple/laf/AquaMenuItemUI$IndeterminateListener;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "MenuItem"
aastore
dup
iconst_1
ldc "CheckBoxMenuItem"
aastore
dup
iconst_2
ldc "RadioButtonMenuItem"
aastore
putstatic com.apple.laf.AquaMenuItemUI.sPropertyPrefixes:[Ljava/lang/String;
1: new com.apple.laf.AquaMenuItemUI$IndeterminateListener
dup
invokespecial com.apple.laf.AquaMenuItemUI$IndeterminateListener.<init>:()V
putstatic com.apple.laf.AquaMenuItemUI.INDETERMINATE_LISTENER:Lcom/apple/laf/AquaMenuItemUI$IndeterminateListener;
return
LocalVariableTable:
Start End Slot Name Signature
void (int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.<init>:()V
1: aload 0
iconst_0
putfield com.apple.laf.AquaMenuItemUI.fIsScreenMenuItem:Z
2: aload 0
iconst_0
putfield com.apple.laf.AquaMenuItemUI.fIsIndeterminate:Z
3: aload 0
iload 1
putfield com.apple.laf.AquaMenuItemUI.fType:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaMenuItemUI;
0 5 1 type I
MethodParameters:
Name Flags
type final
public static javax.swing.plaf.ComponentUI (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
instanceof javax.swing.JCheckBoxMenuItem
ifeq 2
iconst_1
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
instanceof javax.swing.JRadioButtonMenuItem
ifeq 3
iconst_2
istore 1
3: StackMap locals:
StackMap stack:
new com.apple.laf.AquaMenuItemUI
dup
iload 1
invokespecial com.apple.laf.AquaMenuItemUI.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
1 4 1 type I
MethodParameters:
Name Flags
c final
protected java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.apple.laf.AquaMenuItemUI.sPropertyPrefixes:[Ljava/lang/String;
aload 0
getfield com.apple.laf.AquaMenuItemUI.fType:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.installListeners:()V
1: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic com.apple.laf.AquaMenuItemUI$IndeterminateListener.install:(Ljavax/swing/JMenuItem;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokestatic com.apple.laf.AquaMenuItemUI$IndeterminateListener.uninstall:(Ljavax/swing/JMenuItem;)V
1: aload 0
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.uninstallListeners:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaMenuItemUI;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual com.apple.laf.AquaMenuItemUI.setIsScreenMenu:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaMenuItemUI;
protected void (boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaMenuItemUI.fIsScreenMenuItem:Z
iload 1
if_icmpeq 4
1: aload 0
iload 1
putfield com.apple.laf.AquaMenuItemUI.fIsScreenMenuItem:Z
2: aload 0
getfield com.apple.laf.AquaMenuItemUI.fIsScreenMenuItem:Z
ifeq 3
aload 0
invokevirtual com.apple.laf.AquaMenuItemUI.removeListeners:()V
goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.apple.laf.AquaMenuItemUI.addListeners:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaMenuItemUI;
0 5 1 isScreenMenuItem Z
MethodParameters:
Name Flags
isScreenMenuItem final
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.removeMouseListener:(Ljava/awt/event/MouseListener;)V
1: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.removeMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
2: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
invokevirtual javax.swing.JMenuItem.removeMenuDragMouseListener:(Ljavax/swing/event/MenuDragMouseListener;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaMenuItemUI;
protected void ();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.addMouseListener:(Ljava/awt/event/MouseListener;)V
1: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.mouseInputListener:Ljavax/swing/event/MouseInputListener;
invokevirtual javax.swing.JMenuItem.addMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
2: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
aload 0
getfield com.apple.laf.AquaMenuItemUI.menuDragMouseListener:Ljavax/swing/event/MenuDragMouseListener;
invokevirtual javax.swing.JMenuItem.addMenuDragMouseListener:(Ljavax/swing/event/MenuDragMouseListener;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaMenuItemUI;
protected void (java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=8, 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: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 0
getfield com.apple.laf.AquaMenuItemUI.disabledForeground:Ljava/awt/Color;
aload 0
getfield com.apple.laf.AquaMenuItemUI.selectionForeground:Ljava/awt/Color;
iload 7
aload 0
getfield com.apple.laf.AquaMenuItemUI.acceleratorFont:Ljava/awt/Font;
invokevirtual com.apple.laf.AquaMenuPainter.paintMenuItem:(Lcom/apple/laf/AquaMenuPainter$Client;Ljava/awt/Graphics;Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;ILjava/awt/Font;)V
1: return
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 2 0 this Lcom/apple/laf/AquaMenuItemUI;
0 2 1 g Ljava/awt/Graphics;
0 2 2 c Ljavax/swing/JComponent;
0 2 3 localCheckIcon Ljavax/swing/Icon;
0 2 4 localArrowIcon Ljavax/swing/Icon;
0 2 5 background Ljava/awt/Color;
0 2 6 foreground Ljava/awt/Color;
0 2 7 localDefaultTextIconGap I
MethodParameters:
Name Flags
g final
c final
localCheckIcon final
localArrowIcon final
background final
foreground final
localDefaultTextIconGap final
protected java.awt.Dimension (javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;I)Ljava/awt/Dimension;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
aload 2
aload 3
iload 4
aload 0
getfield com.apple.laf.AquaMenuItemUI.acceleratorFont:Ljava/awt/Font;
invokevirtual com.apple.laf.AquaMenuPainter.getPreferredMenuItemSize:(Ljavax/swing/JComponent;Ljavax/swing/Icon;Ljavax/swing/Icon;ILjava/awt/Font;)Ljava/awt/Dimension;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaMenuItemUI;
0 1 1 c Ljavax/swing/JComponent;
0 1 2 localCheckIcon Ljavax/swing/Icon;
0 1 3 localArrowIcon Ljavax/swing/Icon;
0 1 4 localDefaultTextIconGap I
MethodParameters:
Name Flags
c final
localCheckIcon final
localArrowIcon final
localDefaultTextIconGap final
public void (java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.swing.JComponent.isOpaque:()Z
ifeq 5
1: aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 3
start local 3 2: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: aload 1
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual com.apple.laf.AquaMenuItemUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/apple/laf/AquaMenuItemUI;
0 7 1 g Ljava/awt/Graphics;
0 7 2 c Ljavax/swing/JComponent;
2 5 3 oldColor Ljava/awt/Color;
MethodParameters:
Name Flags
g final
c final
public void (java.awt.Graphics, javax.swing.JComponent, int, int);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual javax.swing.JComponent.getParent:()Ljava/awt/Container;
instanceof javax.swing.JMenuBar
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 5
start local 5 2: aload 1
aload 2
invokevirtual javax.swing.JComponent.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
3: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
4: aload 2
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.isBorderPainted:()Z
ifeq 8
5: aload 2
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 16
6: invokestatic com.apple.laf.AquaMenuPainter.instance:()Lcom/apple/laf/AquaMenuPainter;
aload 1
iload 3
iload 4
invokevirtual com.apple.laf.AquaMenuPainter.paintSelectedMenuItemBackground:(Ljava/awt/Graphics;II)V
7: goto 16
8: StackMap locals: java.awt.Color
StackMap stack:
aload 2
checkcast javax.swing.JMenuItem
invokevirtual javax.swing.JMenuItem.getModel:()Ljavax/swing/ButtonModel;
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 14
9: aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 6
start local 6 10: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
12: aload 1
aload 6
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
end local 6 13: goto 16
14: StackMap locals:
StackMap stack:
aload 1
getstatic java.awt.Color.green:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
15: aload 1
iconst_0
iconst_0
iload 3
iload 4
invokevirtual java.awt.Graphics.fillRect:(IIII)V
16: StackMap locals:
StackMap stack:
aload 1
aload 5
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
17: 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/AquaMenuItemUI;
0 18 1 g Ljava/awt/Graphics;
0 18 2 c Ljavax/swing/JComponent;
0 18 3 menuWidth I
0 18 4 menuHeight I
2 18 5 oldColor Ljava/awt/Color;
10 13 6 holdc Ljava/awt/Color;
MethodParameters:
Name Flags
g final
c final
menuWidth final
menuHeight final
protected void (javax.swing.MenuSelectionManager);
descriptor: (Ljavax/swing/MenuSelectionManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
invokevirtual javax.swing.JMenuItem.getSize:()Ljava/awt/Dimension;
astore 2
start local 2 1: new com.apple.laf.AquaMenuItemUI$1
dup
aload 0
aload 2
invokespecial com.apple.laf.AquaMenuItemUI$1.<init>:(Lcom/apple/laf/AquaMenuItemUI;Ljava/awt/Dimension;)V
invokestatic com.apple.laf.AquaUtils.blinkMenu:(Lcom/apple/laf/AquaUtils$Selectable;)V
2: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicMenuItemUI.doClick:(Ljavax/swing/MenuSelectionManager;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/apple/laf/AquaMenuItemUI;
0 4 1 msm Ljavax/swing/MenuSelectionManager;
1 4 2 size Ljava/awt/Dimension;
MethodParameters:
Name Flags
msm final
static void (com.apple.laf.AquaMenuItemUI, javax.swing.Icon);
descriptor: (Lcom/apple/laf/AquaMenuItemUI;Ljavax/swing/Icon;)V
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
putfield com.apple.laf.AquaMenuItemUI.checkIcon:Ljavax/swing/Icon;
return
LocalVariableTable:
Start End Slot Name Signature
static javax.swing.JMenuItem (com.apple.laf.AquaMenuItemUI);
descriptor: (Lcom/apple/laf/AquaMenuItemUI;)Ljavax/swing/JMenuItem;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.apple.laf.AquaMenuItemUI.menuItem:Ljavax/swing/JMenuItem;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AquaMenuItemUI.java"
NestMembers:
com.apple.laf.AquaMenuItemUI$1 com.apple.laf.AquaMenuItemUI$IndeterminateListener
InnerClasses:
com.apple.laf.AquaMenuItemUI$1
IndeterminateListener = com.apple.laf.AquaMenuItemUI$IndeterminateListener of com.apple.laf.AquaMenuItemUI
abstract Client = com.apple.laf.AquaMenuPainter$Client of com.apple.laf.AquaMenuPainter
abstract Selectable = com.apple.laf.AquaUtils$Selectable of com.apple.laf.AquaUtils