public class javax.swing.plaf.metal.MetalDesktopIconUI extends javax.swing.plaf.basic.BasicDesktopIconUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalDesktopIconUI
super_class: javax.swing.plaf.basic.BasicDesktopIconUI
{
javax.swing.JButton button;
descriptor: Ljavax/swing/JButton;
flags: (0x0000)
javax.swing.JLabel label;
descriptor: Ljavax/swing/JLabel;
flags: (0x0000)
javax.swing.plaf.metal.MetalDesktopIconUI$TitleListener titleListener;
descriptor: Ljavax/swing/plaf/metal/MetalDesktopIconUI$TitleListener;
flags: (0x0000)
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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=2, locals=1, args_size=1
start local 0 0: new javax.swing.plaf.metal.MetalDesktopIconUI
dup
invokespecial javax.swing.plaf.metal.MetalDesktopIconUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicDesktopIconUI.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicDesktopIconUI.installDefaults:()V
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
ldc "DesktopIcon.background"
ldc "DesktopIcon.foreground"
ldc "DesktopIcon.font"
invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
ldc "DesktopIcon.width"
invokestatic javax.swing.UIManager.getInt:(Ljava/lang/Object;)I
putfield javax.swing.plaf.metal.MetalDesktopIconUI.width:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
protected void installComponents();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getInternalFrame:()Ljavax/swing/JInternalFrame;
putfield javax.swing.plaf.metal.MetalDesktopIconUI.frame:Ljavax/swing/JInternalFrame;
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.frame:Ljavax/swing/JInternalFrame;
invokevirtual javax.swing.JInternalFrame.getFrameIcon:()Ljavax/swing/Icon;
astore 1
start local 1 2: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.frame:Ljavax/swing/JInternalFrame;
invokevirtual javax.swing.JInternalFrame.getTitle:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
new javax.swing.JButton
dup
aload 2
aload 1
invokespecial javax.swing.JButton.<init>:(Ljava/lang/String;Ljavax/swing/Icon;)V
putfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
4: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
new javax.swing.plaf.metal.MetalDesktopIconUI$1
dup
aload 0
invokespecial javax.swing.plaf.metal.MetalDesktopIconUI$1.<init>:(Ljavax/swing/plaf/metal/MetalDesktopIconUI;)V
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
5: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JButton.setFont:(Ljava/awt/Font;)V
6: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getBackground:()Ljava/awt/Color;
invokevirtual javax.swing.JButton.setBackground:(Ljava/awt/Color;)V
7: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getForeground:()Ljava/awt/Color;
invokevirtual javax.swing.JButton.setForeground:(Ljava/awt/Color;)V
8: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
invokevirtual javax.swing.JButton.getPreferredSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
istore 3
start local 3 9: new javax.swing.plaf.metal.MetalBumps
dup
iload 3
iconst_3
idiv
iload 3
10: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlHighlight:()Ljavax/swing/plaf/ColorUIResource;
11: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
12: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControl:()Ljavax/swing/plaf/ColorUIResource;
13: invokespecial javax.swing.plaf.metal.MetalBumps.<init>:(IILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
astore 4
start local 4 14: aload 0
new javax.swing.JLabel
dup
aload 4
invokespecial javax.swing.JLabel.<init>:(Ljavax/swing/Icon;)V
putfield javax.swing.plaf.metal.MetalDesktopIconUI.label:Ljavax/swing/JLabel;
15: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.label:Ljavax/swing/JLabel;
new javax.swing.border.MatteBorder
dup
iconst_0
iconst_2
iconst_0
iconst_1
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getBackground:()Ljava/awt/Color;
invokespecial javax.swing.border.MatteBorder.<init>:(IIIILjava/awt/Color;)V
invokevirtual javax.swing.JLabel.setBorder:(Ljavax/swing/border/Border;)V
16: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
new java.awt.BorderLayout
dup
iconst_2
iconst_0
invokespecial java.awt.BorderLayout.<init>:(II)V
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.setLayout:(Ljava/awt/LayoutManager;)V
17: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
ldc "Center"
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.add:(Ljava/awt/Component;Ljava/lang/Object;)V
18: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.label:Ljavax/swing/JLabel;
ldc "West"
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.add:(Ljava/awt/Component;Ljava/lang/Object;)V
19: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
2 20 1 icon Ljavax/swing/Icon;
3 20 2 title Ljava/lang/String;
9 20 3 buttonH I
14 20 4 drag Ljavax/swing/Icon;
protected void uninstallComponents();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
aconst_null
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.setLayout:(Ljava/awt/LayoutManager;)V
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.label:Ljavax/swing/JLabel;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.remove:(Ljava/awt/Component;)V
2: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.remove:(Ljava/awt/Component;)V
3: aload 0
aconst_null
putfield javax.swing.plaf.metal.MetalDesktopIconUI.button:Ljavax/swing/JButton;
4: aload 0
aconst_null
putfield javax.swing.plaf.metal.MetalDesktopIconUI.frame:Ljavax/swing/JInternalFrame;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
protected void installListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicDesktopIconUI.installListeners:()V
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getInternalFrame:()Ljavax/swing/JInternalFrame;
2: aload 0
new javax.swing.plaf.metal.MetalDesktopIconUI$TitleListener
dup
aload 0
invokespecial javax.swing.plaf.metal.MetalDesktopIconUI$TitleListener.<init>:(Ljavax/swing/plaf/metal/MetalDesktopIconUI;)V
dup_x1
putfield javax.swing.plaf.metal.MetalDesktopIconUI.titleListener:Ljavax/swing/plaf/metal/MetalDesktopIconUI$TitleListener;
3: invokevirtual javax.swing.JInternalFrame.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
protected void uninstallListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getInternalFrame:()Ljavax/swing/JInternalFrame;
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.titleListener:Ljavax/swing/plaf/metal/MetalDesktopIconUI$TitleListener;
2: invokevirtual javax.swing.JInternalFrame.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: aload 0
aconst_null
putfield javax.swing.plaf.metal.MetalDesktopIconUI.titleListener:Ljavax/swing/plaf/metal/MetalDesktopIconUI$TitleListener;
4: aload 0
invokespecial javax.swing.plaf.basic.BasicDesktopIconUI.uninstallListeners:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.plaf.metal.MetalDesktopIconUI.getMinimumSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension getMinimumSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Dimension
dup
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.width:I
1: aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokevirtual javax.swing.JInternalFrame$JDesktopIcon.getLayout:()Ljava/awt/LayoutManager;
aload 0
getfield javax.swing.plaf.metal.MetalDesktopIconUI.desktopIcon:Ljavax/swing/JInternalFrame$JDesktopIcon;
invokeinterface java.awt.LayoutManager.minimumLayoutSize:(Ljava/awt/Container;)Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
2: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
0 3 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public java.awt.Dimension getMaximumSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.plaf.metal.MetalDesktopIconUI.getMinimumSize:(Ljavax/swing/JComponent;)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalDesktopIconUI;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "MetalDesktopIconUI.java"
NestMembers:
javax.swing.plaf.metal.MetalDesktopIconUI$1 javax.swing.plaf.metal.MetalDesktopIconUI$TitleListener
InnerClasses:
public JDesktopIcon = javax.swing.JInternalFrame$JDesktopIcon of javax.swing.JInternalFrame
javax.swing.plaf.metal.MetalDesktopIconUI$1
TitleListener = javax.swing.plaf.metal.MetalDesktopIconUI$TitleListener of javax.swing.plaf.metal.MetalDesktopIconUI