public class javax.swing.plaf.basic.BasicRadioButtonUI extends javax.swing.plaf.basic.BasicToggleButtonUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicRadioButtonUI
super_class: javax.swing.plaf.basic.BasicToggleButtonUI
{
private static final java.lang.Object BASIC_RADIO_BUTTON_UI_KEY;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected javax.swing.Icon icon;
descriptor: Ljavax/swing/Icon;
flags: (0x0004) ACC_PROTECTED
private boolean defaults_initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String propertyPrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "RadioButton."
private java.awt.event.KeyListener keyListener;
descriptor: Ljava/awt/event/KeyListener;
flags: (0x0002) ACC_PRIVATE
private static java.awt.Dimension size;
descriptor: Ljava/awt/Dimension;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle viewRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle iconRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle textRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle prefViewRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle prefIconRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Rectangle prefTextRect;
descriptor: Ljava/awt/Rectangle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.Insets prefInsets;
descriptor: Ljava/awt/Insets;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.BASIC_RADIO_BUTTON_UI_KEY:Ljava/lang/Object;
1: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
2: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
3: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
4: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
5: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
6: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
7: new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
8: new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
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.BasicToggleButtonUI.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicRadioButtonUI.defaults_initialized:Z
2: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicRadioButtonUI.keyListener:Ljava/awt/event/KeyListener;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
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=3, locals=3, args_size=1
start local 0 0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 1
start local 1 1: aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.BASIC_RADIO_BUTTON_UI_KEY:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicRadioButtonUI
2: astore 2
start local 2 3: aload 2
ifnonnull 6
4: new javax.swing.plaf.basic.BasicRadioButtonUI
dup
invokespecial javax.swing.plaf.basic.BasicRadioButtonUI.<init>:()V
astore 2
5: aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.BASIC_RADIO_BUTTON_UI_KEY:Ljava/lang/Object;
aload 2
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: sun.awt.AppContext javax.swing.plaf.basic.BasicRadioButtonUI
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 b Ljavax/swing/JComponent;
1 7 1 appContext Lsun/awt/AppContext;
3 7 2 radioButtonUI Ljavax/swing/plaf/basic/BasicRadioButtonUI;
MethodParameters:
Name Flags
b
protected java.lang.String getPropertyPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "RadioButton."
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
protected void installDefaults(javax.swing.AbstractButton);
descriptor: (Ljavax/swing/AbstractButton;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.basic.BasicToggleButtonUI.installDefaults:(Ljavax/swing/AbstractButton;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicRadioButtonUI.defaults_initialized:Z
ifne 4
2: aload 0
new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.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 "icon"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.getIcon:(Ljava/lang/Object;)Ljavax/swing/Icon;
putfield javax.swing.plaf.basic.BasicRadioButtonUI.icon:Ljavax/swing/Icon;
3: aload 0
iconst_1
putfield javax.swing.plaf.basic.BasicRadioButtonUI.defaults_initialized:Z
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
0 5 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b
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 0
aload 1
invokespecial javax.swing.plaf.basic.BasicToggleButtonUI.uninstallDefaults:(Ljavax/swing/AbstractButton;)V
1: aload 0
iconst_0
putfield javax.swing.plaf.basic.BasicRadioButtonUI.defaults_initialized:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
0 3 1 b Ljavax/swing/AbstractButton;
MethodParameters:
Name Flags
b
public javax.swing.Icon getDefaultIcon();
descriptor: ()Ljavax/swing/Icon;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicRadioButtonUI.icon:Ljavax/swing/Icon;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
public synchronized void paint(java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=12, locals=11, 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.getFont:()Ljava/awt/Font;
astore 5
start local 5 3: aload 1
aload 5
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
4: aload 2
aload 1
aload 5
invokestatic sun.swing.SwingUtilities2.getFontMetrics:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 6
start local 6 5: aload 2
invokevirtual javax.swing.JComponent.getInsets:()Ljava/awt/Insets;
astore 7
start local 7 6: aload 3
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
invokevirtual javax.swing.AbstractButton.getSize:(Ljava/awt/Dimension;)Ljava/awt/Dimension;
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
7: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
aload 7
getfield java.awt.Insets.left:I
putfield java.awt.Rectangle.x:I
8: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
aload 7
getfield java.awt.Insets.top:I
putfield java.awt.Rectangle.y:I
9: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
aload 7
getfield java.awt.Insets.right:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
iadd
isub
putfield java.awt.Rectangle.width:I
10: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
aload 7
getfield java.awt.Insets.bottom:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
iadd
isub
putfield java.awt.Rectangle.height:I
11: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
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
12: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
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
13: aload 3
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 8
start local 8 14: aload 2
aload 6
aload 3
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
aload 8
ifnull 15
aload 8
goto 16
StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Insets javax.swing.Icon
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String
15: aload 0
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.getDefaultIcon:()Ljavax/swing/Icon;
16: StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Insets javax.swing.Icon
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon
aload 3
invokevirtual javax.swing.AbstractButton.getVerticalAlignment:()I
aload 3
invokevirtual javax.swing.AbstractButton.getHorizontalAlignment:()I
17: aload 3
invokevirtual javax.swing.AbstractButton.getVerticalTextPosition:()I
aload 3
invokevirtual javax.swing.AbstractButton.getHorizontalTextPosition:()I
18: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.viewRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
19: aload 3
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
ifnonnull 20
iconst_0
goto 21
StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Insets javax.swing.Icon
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
20: aload 3
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
21: StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI java.awt.Graphics javax.swing.JComponent javax.swing.AbstractButton javax.swing.ButtonModel java.awt.Font java.awt.FontMetrics java.awt.Insets javax.swing.Icon
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle int
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 9
start local 9 22: aload 2
invokevirtual javax.swing.JComponent.isOpaque:()Z
ifeq 25
23: aload 1
aload 3
invokevirtual javax.swing.AbstractButton.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
24: aload 1
iconst_0
iconst_0
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
25: StackMap locals: java.lang.String
StackMap stack:
aload 8
ifnull 51
26: aload 4
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifne 32
27: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 30
28: aload 3
invokevirtual javax.swing.AbstractButton.getDisabledSelectedIcon:()Ljavax/swing/Icon;
astore 8
29: goto 47
30: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.getDisabledIcon:()Ljavax/swing/Icon;
astore 8
31: goto 47
StackMap locals:
StackMap stack:
32: aload 4
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 37
aload 4
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 37
33: aload 3
invokevirtual javax.swing.AbstractButton.getPressedIcon:()Ljavax/swing/Icon;
astore 8
34: aload 8
ifnonnull 47
35: aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 8
36: goto 47
StackMap locals:
StackMap stack:
37: aload 4
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifeq 45
38: aload 3
invokevirtual javax.swing.AbstractButton.isRolloverEnabled:()Z
ifeq 43
aload 4
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 43
39: aload 3
invokevirtual javax.swing.AbstractButton.getRolloverSelectedIcon:()Ljavax/swing/Icon;
astore 8
40: aload 8
ifnonnull 47
41: aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 8
42: goto 47
43: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.getSelectedIcon:()Ljavax/swing/Icon;
astore 8
44: goto 47
StackMap locals:
StackMap stack:
45: aload 3
invokevirtual javax.swing.AbstractButton.isRolloverEnabled:()Z
ifeq 47
aload 4
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 47
46: aload 3
invokevirtual javax.swing.AbstractButton.getRolloverIcon:()Ljavax/swing/Icon;
astore 8
47: StackMap locals:
StackMap stack:
aload 8
ifnonnull 49
48: aload 3
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 8
49: StackMap locals:
StackMap stack:
aload 8
aload 2
aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
50: goto 52
51: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.getDefaultIcon:()Ljavax/swing/Icon;
aload 2
aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.iconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
invokeinterface javax.swing.Icon.paintIcon:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
52: StackMap locals:
StackMap stack:
aload 9
ifnull 61
53: aload 2
ldc "html"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 10
start local 10 54: aload 10
ifnull 57
55: aload 10
aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
invokevirtual javax.swing.text.View.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
56: goto 58
57: StackMap locals: javax.swing.text.View
StackMap stack:
aload 0
aload 1
aload 3
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
aload 9
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.paintText:(Ljava/awt/Graphics;Ljavax/swing/AbstractButton;Ljava/awt/Rectangle;Ljava/lang/String;)V
58: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.AbstractButton.hasFocus:()Z
ifeq 61
aload 3
invokevirtual javax.swing.AbstractButton.isFocusPainted:()Z
ifeq 61
59: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
ifle 61
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
ifle 61
60: aload 0
aload 1
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.textRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.size:Ljava/awt/Dimension;
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.paintFocus:(Ljava/awt/Graphics;Ljava/awt/Rectangle;Ljava/awt/Dimension;)V
end local 10 61: StackMap locals:
StackMap stack:
return
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 62 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
0 62 1 g Ljava/awt/Graphics;
0 62 2 c Ljavax/swing/JComponent;
1 62 3 b Ljavax/swing/AbstractButton;
2 62 4 model Ljavax/swing/ButtonModel;
3 62 5 f Ljava/awt/Font;
5 62 6 fm Ljava/awt/FontMetrics;
6 62 7 i Ljava/awt/Insets;
14 62 8 altIcon Ljavax/swing/Icon;
22 62 9 text Ljava/lang/String;
54 61 10 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
g
c
protected void paintFocus(java.awt.Graphics, java.awt.Rectangle, java.awt.Dimension);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;Ljava/awt/Dimension;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
0 1 1 g Ljava/awt/Graphics;
0 1 2 textRect Ljava/awt/Rectangle;
0 1 3 size Ljava/awt/Dimension;
MethodParameters:
Name Flags
g
textRect
size
public java.awt.Dimension getPreferredSize(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=13, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifle 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.AbstractButton
astore 2
start local 2 3: aload 2
invokevirtual javax.swing.AbstractButton.getText:()Ljava/lang/String;
astore 3
start local 3 4: aload 2
invokevirtual javax.swing.AbstractButton.getIcon:()Ljavax/swing/Icon;
astore 4
start local 4 5: aload 4
ifnonnull 7
6: aload 0
invokevirtual javax.swing.plaf.basic.BasicRadioButtonUI.getDefaultIcon:()Ljavax/swing/Icon;
astore 4
7: StackMap locals: javax.swing.AbstractButton java.lang.String javax.swing.Icon
StackMap stack:
aload 2
invokevirtual javax.swing.AbstractButton.getFont:()Ljava/awt/Font;
astore 5
start local 5 8: aload 2
aload 5
invokevirtual javax.swing.AbstractButton.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 6
start local 6 9: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
iconst_0
dup_x1
putfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.x:I
10: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
sipush 32767
putfield java.awt.Rectangle.width:I
11: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
sipush 32767
putfield java.awt.Rectangle.height:I
12: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
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
13: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
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
14: aload 1
aload 6
aload 3
aload 4
15: aload 2
invokevirtual javax.swing.AbstractButton.getVerticalAlignment:()I
aload 2
invokevirtual javax.swing.AbstractButton.getHorizontalAlignment:()I
16: aload 2
invokevirtual javax.swing.AbstractButton.getVerticalTextPosition:()I
aload 2
invokevirtual javax.swing.AbstractButton.getHorizontalTextPosition:()I
17: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefViewRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
18: aload 3
ifnonnull 19
iconst_0
goto 20
StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI javax.swing.JComponent javax.swing.AbstractButton java.lang.String javax.swing.Icon java.awt.Font java.awt.FontMetrics
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle
19: aload 2
invokevirtual javax.swing.AbstractButton.getIconTextGap:()I
20: StackMap locals: javax.swing.plaf.basic.BasicRadioButtonUI javax.swing.JComponent javax.swing.AbstractButton java.lang.String javax.swing.Icon java.awt.Font java.awt.FontMetrics
StackMap stack: javax.swing.JComponent java.awt.FontMetrics java.lang.String javax.swing.Icon int int int int java.awt.Rectangle java.awt.Rectangle java.awt.Rectangle int
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;
pop
21: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 22: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
23: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.x:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iadd
24: invokestatic java.lang.Math.max:(II)I
istore 8
start local 8 25: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
invokestatic java.lang.Math.min:(II)I
istore 9
start local 9 26: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefIconRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
27: getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.y:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefTextRect:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iadd
28: invokestatic java.lang.Math.max:(II)I
istore 10
start local 10 29: iload 8
iload 7
isub
istore 11
start local 11 30: iload 10
iload 9
isub
istore 12
start local 12 31: aload 2
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
invokevirtual javax.swing.AbstractButton.getInsets:(Ljava/awt/Insets;)Ljava/awt/Insets;
putstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
32: iload 11
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
getfield java.awt.Insets.left:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
getfield java.awt.Insets.right:I
iadd
iadd
istore 11
33: iload 12
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
getfield java.awt.Insets.top:I
getstatic javax.swing.plaf.basic.BasicRadioButtonUI.prefInsets:Ljava/awt/Insets;
getfield java.awt.Insets.bottom:I
iadd
iadd
istore 12
34: new java.awt.Dimension
dup
iload 11
iload 12
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 12 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 35 0 this Ljavax/swing/plaf/basic/BasicRadioButtonUI;
0 35 1 c Ljavax/swing/JComponent;
3 35 2 b Ljavax/swing/AbstractButton;
4 35 3 text Ljava/lang/String;
5 35 4 buttonIcon Ljavax/swing/Icon;
8 35 5 font Ljava/awt/Font;
9 35 6 fm Ljava/awt/FontMetrics;
22 35 7 x1 I
25 35 8 x2 I
26 35 9 y1 I
29 35 10 y2 I
30 35 11 width I
31 35 12 height I
MethodParameters:
Name Flags
c
}
SourceFile: "BasicRadioButtonUI.java"