final class com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel extends javax.swing.JLabel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel
super_class: javax.swing.JLabel
{
final com.apple.laf.AquaInternalFrameDockIconUI this$0;
descriptor: Lcom/apple/laf/AquaInternalFrameDockIconUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.apple.laf.AquaInternalFrameDockIconUI);
descriptor: (Lcom/apple/laf/AquaInternalFrameDockIconUI;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
1: aload 0
aconst_null
aconst_null
iconst_0
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;Ljavax/swing/Icon;I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$ScaledImageLabel;
MethodParameters:
Name Flags
this$0 final
void updateIcon();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
getfield com.apple.laf.AquaInternalFrameDockIconUI.fFrame:Ljavax/swing/JInternalFrame;
invokevirtual javax.swing.JInternalFrame.getWidth:()I
istore 1
start local 1 1: aload 0
getfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
getfield com.apple.laf.AquaInternalFrameDockIconUI.fFrame:Ljavax/swing/JInternalFrame;
invokevirtual javax.swing.JInternalFrame.getHeight:()I
istore 2
start local 2 2: iload 1
ifle 3
iload 2
ifgt 5
3: StackMap locals: int int
StackMap stack:
sipush 128
istore 1
4: sipush 128
istore 2
5: StackMap locals:
StackMap stack:
new java.awt.image.BufferedImage
dup
iload 1
iload 2
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 3
start local 3 6: aload 3
invokevirtual java.awt.Image.getGraphics:()Ljava/awt/Graphics;
astore 4
start local 4 7: aload 0
getfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
getfield com.apple.laf.AquaInternalFrameDockIconUI.fFrame:Ljavax/swing/JInternalFrame;
aload 4
invokevirtual javax.swing.JInternalFrame.paint:(Ljava/awt/Graphics;)V
8: aload 4
invokevirtual java.awt.Graphics.dispose:()V
9: aload 0
getfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
getfield com.apple.laf.AquaInternalFrameDockIconUI.fDesktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getWidth:()I
i2f
iload 1
iload 2
invokestatic java.lang.Math.max:(II)I
i2f
fdiv
ldc 0.89
fmul
fstore 5
start local 5 10: aload 0
new javax.swing.ImageIcon
dup
aload 3
iload 1
i2f
fload 5
fmul
f2i
iconst_m1
iconst_4
invokevirtual java.awt.Image.getScaledInstance:(III)Ljava/awt/Image;
invokespecial javax.swing.ImageIcon.<init>:(Ljava/awt/Image;)V
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.setIcon:(Ljavax/swing/Icon;)V
11: 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 12 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$ScaledImageLabel;
1 12 1 width I
2 12 2 height I
6 12 3 fImage Ljava/awt/Image;
7 12 4 g Ljava/awt/Graphics;
10 12 5 scale F
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.getIcon:()Ljavax/swing/Icon;
ifnonnull 1
aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.updateIcon:()V
1: StackMap locals:
StackMap stack:
aload 1
iconst_0
iconst_2
invokevirtual java.awt.Graphics.translate:(II)V
2: aload 0
getfield com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.this$0:Lcom/apple/laf/AquaInternalFrameDockIconUI;
getfield com.apple.laf.AquaInternalFrameDockIconUI.fTrackingIcon:Z
ifne 5
3: aload 0
aload 1
invokespecial javax.swing.JLabel.paint:(Ljava/awt/Graphics;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.getIcon:()Ljavax/swing/Icon;
checkcast javax.swing.ImageIcon
astore 2
start local 2 6: new javax.swing.ImageIcon
dup
aload 2
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 3
start local 3 7: aload 0
aload 3
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.setIcon:(Ljavax/swing/Icon;)V
8: aload 0
aload 1
invokespecial javax.swing.JLabel.paint:(Ljava/awt/Graphics;)V
9: aload 0
aload 2
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.setIcon:(Ljavax/swing/Icon;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$ScaledImageLabel;
0 11 1 g Ljava/awt/Graphics;
6 11 2 prev Ljavax/swing/ImageIcon;
7 11 3 pressedIcon Ljavax/swing/ImageIcon;
MethodParameters:
Name Flags
g final
boolean mouseInIcon(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel.getBounds:()Ljava/awt/Rectangle;
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual java.awt.Rectangle.contains:(II)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$ScaledImageLabel;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e final
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.awt.Dimension
dup
bipush 64
bipush 64
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$ScaledImageLabel;
}
SourceFile: "AquaInternalFrameDockIconUI.java"
NestHost: com.apple.laf.AquaInternalFrameDockIconUI
InnerClasses:
private final ScaledImageLabel = com.apple.laf.AquaInternalFrameDockIconUI$ScaledImageLabel of com.apple.laf.AquaInternalFrameDockIconUI
public JDesktopIcon = javax.swing.JInternalFrame$JDesktopIcon of javax.swing.JInternalFrame