final class com.apple.laf.AquaInternalFrameDockIconUI$DockLabel extends javax.swing.JLabel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.apple.laf.AquaInternalFrameDockIconUI$DockLabel
super_class: javax.swing.JLabel
{
static final int NUB_HEIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7
static final int ROUND_ADDITIONAL_HEIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int ROUND_ADDITIONAL_WIDTH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.setBorder:(Ljavax/swing/border/Border;)V
2: aload 0
iconst_0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.setOpaque:(Z)V
3: aload 0
invokestatic com.apple.laf.AquaFonts.getDockIconFont:()Ljava/awt/Font;
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.setFont:(Ljava/awt/Font;)V
4: aload 0
aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getFont:()Ljava/awt/Font;
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 5: aload 0
aload 2
aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getText:()Ljava/lang/String;
invokestatic javax.swing.SwingUtilities.computeStringWidth:(Ljava/awt/FontMetrics;Ljava/lang/String;)I
bipush 24
iadd
aload 2
invokevirtual java.awt.FontMetrics.getAscent:()I
bipush 7
iadd
bipush 8
iadd
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.setSize:(II)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/AquaInternalFrameDockIconUI$DockLabel;
0 7 1 text Ljava/lang/String;
5 7 2 metrics Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
text final
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=16, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getWidth:()I
istore 2
start local 2 1: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getHeight:()I
istore 3
start local 3 2: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getFont:()Ljava/awt/Font;
astore 4
start local 4 3: aload 0
aload 4
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 5
start local 5 4: aload 1
aload 4
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
5: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
start local 6 6: aload 5
invokevirtual java.awt.FontMetrics.getAscent:()I
istore 7
start local 7 7: aload 5
aload 6
aload 1
invokevirtual java.awt.FontMetrics.getStringBounds:(Ljava/lang/String;Ljava/awt/Graphics;)Ljava/awt/geom/Rectangle2D;
astore 8
start local 8 8: iload 2
iconst_2
idiv
istore 9
start local 9 9: iload 9
aload 8
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
d2i
iconst_2
idiv
isub
istore 10
start local 10 10: aload 1
instanceof java.awt.Graphics2D
ifeq 11
aload 1
checkcast java.awt.Graphics2D
goto 12
StackMap locals: com.apple.laf.AquaInternalFrameDockIconUI$DockLabel java.awt.Graphics int int java.awt.Font java.awt.FontMetrics java.lang.String int java.awt.geom.Rectangle2D int int
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: java.awt.Graphics2D
12: astore 11
start local 11 13: aload 11
ifnull 23
14: aload 1
ldc "DesktopIcon.labelBackground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
15: aload 11
getstatic java.awt.RenderingHints.KEY_ANTIALIASING:Ljava/awt/RenderingHints$Key;
invokevirtual java.awt.Graphics2D.getRenderingHint:(Ljava/awt/RenderingHints$Key;)Ljava/lang/Object;
astore 12
start local 12 16: aload 11
getstatic java.awt.RenderingHints.KEY_ANTIALIASING:Ljava/awt/RenderingHints$Key;
getstatic java.awt.RenderingHints.VALUE_ANTIALIAS_ON:Ljava/lang/Object;
invokevirtual java.awt.Graphics2D.setRenderingHint:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
17: iload 3
bipush 8
isub
iconst_1
iadd
istore 13
start local 13 18: aload 1
iconst_0
iconst_0
iload 2
iload 13
iload 13
iload 13
invokevirtual java.awt.Graphics.fillRoundRect:(IIIIII)V
19: iconst_3
newarray 10
dup
iconst_0
iload 9
iastore
dup
iconst_1
iload 9
bipush 7
iadd
iastore
dup
iconst_2
iload 9
bipush 7
isub
iastore
astore 14
start local 14 20: iconst_3
newarray 10
dup
iconst_0
iload 3
iastore
dup
iconst_1
iload 3
bipush 7
isub
iastore
dup
iconst_2
iload 3
bipush 7
isub
iastore
astore 15
start local 15 21: aload 1
aload 14
aload 15
iconst_3
invokevirtual java.awt.Graphics.fillPolygon:([I[II)V
22: aload 11
getstatic java.awt.RenderingHints.KEY_ANTIALIASING:Ljava/awt/RenderingHints$Key;
aload 12
invokevirtual java.awt.Graphics2D.setRenderingHint:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
end local 15 end local 14 end local 13 end local 12 23: StackMap locals: java.awt.Graphics2D
StackMap stack:
aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
24: aload 0
aload 1
aload 6
iload 10
iconst_2
iload 7
iadd
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
25: aload 1
getstatic java.awt.Color.white:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
26: aload 0
aload 1
aload 6
iload 10
iconst_1
iload 7
iadd
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V
27: return
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 28 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$DockLabel;
0 28 1 g Ljava/awt/Graphics;
1 28 2 width I
2 28 3 height I
3 28 4 font Ljava/awt/Font;
4 28 5 metrics Ljava/awt/FontMetrics;
6 28 6 text Ljava/lang/String;
7 28 7 ascent I
8 28 8 stringBounds Ljava/awt/geom/Rectangle2D;
9 28 9 halfway I
10 28 10 x I
13 28 11 g2d Ljava/awt/Graphics2D;
16 23 12 origAA Ljava/lang/Object;
18 23 13 roundHeight I
20 23 14 xpts [I
21 23 15 ypts [I
MethodParameters:
Name Flags
g final
public void show(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.Component.getWidth:()I
aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getWidth:()I
isub
iconst_2
idiv
istore 2
start local 2 1: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getHeight:()I
bipush 6
iadd
ineg
istore 3
start local 3 2: aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 4
start local 4 3: aload 4
astore 5
start local 5 4: goto 13
5: StackMap locals: com.apple.laf.AquaInternalFrameDockIconUI$DockLabel java.awt.Component int int java.awt.Container java.awt.Container
StackMap stack:
aload 5
instanceof javax.swing.JRootPane
ifeq 12
6: aload 5
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
instanceof javax.swing.JInternalFrame
ifeq 7
goto 12
7: StackMap locals:
StackMap stack:
aload 5
checkcast javax.swing.JRootPane
invokevirtual javax.swing.JRootPane.getLayeredPane:()Ljavax/swing/JLayeredPane;
astore 4
8: aload 4
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 5
goto 10
StackMap locals:
StackMap stack:
9: aload 5
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 5
StackMap locals:
StackMap stack:
10: aload 5
ifnull 14
aload 5
instanceof java.awt.Window
ifeq 9
11: goto 14
12: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 5
StackMap locals:
StackMap stack:
13: aload 5
ifnonnull 5
end local 5 14: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
aload 4
invokestatic javax.swing.SwingUtilities.convertPoint:(Ljava/awt/Component;IILjava/awt/Component;)Ljava/awt/Point;
astore 5
start local 5 15: aload 0
aload 5
getfield java.awt.Point.x:I
aload 5
getfield java.awt.Point.y:I
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.setLocation:(II)V
16: aload 4
instanceof javax.swing.JLayeredPane
ifeq 18
17: aload 4
checkcast javax.swing.JLayeredPane
aload 0
getstatic javax.swing.JLayeredPane.POPUP_LAYER:Ljava/lang/Integer;
iconst_0
invokevirtual javax.swing.JLayeredPane.add:(Ljava/awt/Component;Ljava/lang/Object;I)V
18: StackMap locals: java.awt.Point
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 19 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$DockLabel;
0 19 1 invoker Ljava/awt/Component;
1 19 2 desiredLocationX I
2 19 3 desiredLocationY I
3 19 4 parent Ljava/awt/Container;
4 14 5 p Ljava/awt/Container;
15 19 5 p Ljava/awt/Point;
MethodParameters:
Name Flags
invoker final
public void hide();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getParent:()Ljava/awt/Container;
astore 1
start local 1 1: aload 0
invokevirtual com.apple.laf.AquaInternalFrameDockIconUI$DockLabel.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 2: aload 1
ifnonnull 3
return
3: StackMap locals: java.awt.Container java.awt.Rectangle
StackMap stack:
aload 1
aload 0
invokevirtual java.awt.Container.remove:(Ljava/awt/Component;)V
4: aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Container.repaint:(IIII)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/apple/laf/AquaInternalFrameDockIconUI$DockLabel;
1 6 1 parent Ljava/awt/Container;
2 6 2 r Ljava/awt/Rectangle;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
}
SourceFile: "AquaInternalFrameDockIconUI.java"
NestHost: com.apple.laf.AquaInternalFrameDockIconUI
InnerClasses:
private final DockLabel = com.apple.laf.AquaInternalFrameDockIconUI$DockLabel of com.apple.laf.AquaInternalFrameDockIconUI
public abstract Key = java.awt.RenderingHints$Key of java.awt.RenderingHints