public class javax.swing.plaf.basic.BasicSpinnerUI extends javax.swing.plaf.SpinnerUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicSpinnerUI
super_class: javax.swing.plaf.SpinnerUI
{
protected javax.swing.JSpinner spinner;
descriptor: Ljavax/swing/JSpinner;
flags: (0x0004) ACC_PROTECTED
private javax.swing.plaf.basic.BasicSpinnerUI$Handler handler;
descriptor: Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
flags: (0x0002) ACC_PRIVATE
private static final javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler nextButtonHandler;
descriptor: Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler previousButtonHandler;
descriptor: Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.beans.PropertyChangeListener propertyChangeListener;
descriptor: Ljava/beans/PropertyChangeListener;
flags: (0x0002) ACC_PRIVATE
private static final java.awt.Dimension zeroSize;
descriptor: Ljava/awt/Dimension;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler
dup
ldc "increment"
iconst_1
invokespecial javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler.<init>:(Ljava/lang/String;Z)V
putstatic javax.swing.plaf.basic.BasicSpinnerUI.nextButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
1: new javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler
dup
ldc "decrement"
iconst_0
invokespecial javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler.<init>:(Ljava/lang/String;Z)V
putstatic javax.swing.plaf.basic.BasicSpinnerUI.previousButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
2: new java.awt.Dimension
dup
iconst_0
iconst_0
invokespecial java.awt.Dimension.<init>:(II)V
putstatic javax.swing.plaf.basic.BasicSpinnerUI.zeroSize:Ljava/awt/Dimension;
return
LocalVariableTable:
Start End Slot Name Signature
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.SpinnerUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
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.basic.BasicSpinnerUI
dup
invokespecial javax.swing.plaf.basic.BasicSpinnerUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
private void maybeAdd(java.awt.Component, java.lang.String);
descriptor: (Ljava/awt/Component;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 1
aload 2
invokevirtual javax.swing.JSpinner.add:(Ljava/awt/Component;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 3 1 c Ljava/awt/Component;
0 3 2 s Ljava/lang/String;
MethodParameters:
Name Flags
c
s
public void installUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast javax.swing.JSpinner
putfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installDefaults:()V
2: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installListeners:()V
3: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createNextButton:()Ljava/awt/Component;
ldc "Next"
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.maybeAdd:(Ljava/awt/Component;Ljava/lang/String;)V
4: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createPreviousButton:()Ljava/awt/Component;
ldc "Previous"
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.maybeAdd:(Ljava/awt/Component;Ljava/lang/String;)V
5: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createEditor:()Ljavax/swing/JComponent;
ldc "Editor"
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.maybeAdd:(Ljava/awt/Component;Ljava/lang/String;)V
6: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState:()V
7: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installKeyboardActions:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 9 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
public void uninstallUI(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.uninstallDefaults:()V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.uninstallListeners:()V
2: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
3: aload 1
invokevirtual javax.swing.JComponent.removeAll:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 5 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
protected void installListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createPropertyChangeListener:()Ljava/beans/PropertyChangeListener;
putfield javax.swing.plaf.basic.BasicSpinnerUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JSpinner.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
3: ldc "Spinner.disableOnBoundaryValues"
iconst_0
4: invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
5: ifeq 7
6: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getHandler:()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
invokevirtual javax.swing.JSpinner.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
astore 1
start local 1 8: aload 1
ifnull 13
aload 1
instanceof javax.swing.JSpinner$DefaultEditor
ifeq 13
9: aload 1
checkcast javax.swing.JSpinner$DefaultEditor
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
astore 2
start local 2 10: aload 2
ifnull 13
11: aload 2
getstatic javax.swing.plaf.basic.BasicSpinnerUI.nextButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.JTextField.addFocusListener:(Ljava/awt/event/FocusListener;)V
12: aload 2
getstatic javax.swing.plaf.basic.BasicSpinnerUI.previousButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.JTextField.addFocusListener:(Ljava/awt/event/FocusListener;)V
end local 2 13: StackMap locals: javax.swing.JComponent
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
8 14 1 editor Ljavax/swing/JComponent;
10 13 2 tf Ljavax/swing/JTextField;
protected void uninstallListeners();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
invokevirtual javax.swing.JSpinner.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.handler:Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
invokevirtual javax.swing.JSpinner.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
astore 1
start local 1 3: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.removeEditorBorderListener:(Ljavax/swing/JComponent;)V
4: aload 1
instanceof javax.swing.JSpinner$DefaultEditor
ifeq 9
5: aload 1
checkcast javax.swing.JSpinner$DefaultEditor
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
astore 2
start local 2 6: aload 2
ifnull 9
7: aload 2
getstatic javax.swing.plaf.basic.BasicSpinnerUI.nextButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.JTextField.removeFocusListener:(Ljava/awt/event/FocusListener;)V
8: aload 2
getstatic javax.swing.plaf.basic.BasicSpinnerUI.previousButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.JTextField.removeFocusListener:(Ljava/awt/event/FocusListener;)V
end local 2 9: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicSpinnerUI.propertyChangeListener:Ljava/beans/PropertyChangeListener;
10: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicSpinnerUI.handler:Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
3 12 1 editor Ljavax/swing/JComponent;
6 9 2 tf Ljavax/swing/JTextField;
protected void installDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createLayout:()Ljava/awt/LayoutManager;
invokevirtual javax.swing.JSpinner.setLayout:(Ljava/awt/LayoutManager;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
ldc "Spinner.border"
invokestatic javax.swing.LookAndFeel.installBorder:(Ljavax/swing/JComponent;Ljava/lang/String;)V
2: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
ldc "Spinner.background"
ldc "Spinner.foreground"
ldc "Spinner.font"
invokestatic javax.swing.LookAndFeel.installColorsAndFont:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
ldc "opaque"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
astore 1
start local 1 5: aload 1
instanceof javax.swing.JSpinner$DefaultEditor
ifeq 13
6: aload 1
checkcast javax.swing.JSpinner$DefaultEditor
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
astore 2
start local 2 7: aload 2
ifnull 13
8: aload 2
invokevirtual javax.swing.JTextField.getFont:()Ljava/awt/Font;
instanceof javax.swing.plaf.UIResource
ifeq 13
9: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getFont:()Ljava/awt/Font;
astore 3
start local 3 10: aload 2
aload 3
ifnonnull 11
aconst_null
goto 12
StackMap locals: javax.swing.plaf.basic.BasicSpinnerUI javax.swing.JComponent javax.swing.JTextField java.awt.Font
StackMap stack: javax.swing.JTextField
11: new javax.swing.plaf.FontUIResource
dup
aload 3
invokespecial javax.swing.plaf.FontUIResource.<init>:(Ljava/awt/Font;)V
StackMap locals: javax.swing.plaf.basic.BasicSpinnerUI javax.swing.JComponent javax.swing.JTextField java.awt.Font
StackMap stack: javax.swing.JTextField javax.swing.plaf.FontUIResource
12: invokevirtual javax.swing.JTextField.setFont:(Ljava/awt/Font;)V
end local 3 end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
5 14 1 editor Ljavax/swing/JComponent;
7 13 2 tf Ljavax/swing/JTextField;
10 13 3 font Ljava/awt/Font;
protected void uninstallDefaults();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokestatic javax.swing.LookAndFeel.uninstallBorder:(Ljavax/swing/JComponent;)V
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aconst_null
invokevirtual javax.swing.JSpinner.setLayout:(Ljava/awt/LayoutManager;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
private javax.swing.plaf.basic.BasicSpinnerUI$Handler getHandler();
descriptor: ()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.handler:Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
ifnonnull 2
1: aload 0
new javax.swing.plaf.basic.BasicSpinnerUI$Handler
dup
invokespecial javax.swing.plaf.basic.BasicSpinnerUI$Handler.<init>:()V
putfield javax.swing.plaf.basic.BasicSpinnerUI.handler:Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.handler:Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
protected void installNextButtonListeners(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic javax.swing.plaf.basic.BasicSpinnerUI.nextButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installButtonListeners:(Ljava/awt/Component;Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 2 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
protected void installPreviousButtonListeners(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic javax.swing.plaf.basic.BasicSpinnerUI.previousButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installButtonListeners:(Ljava/awt/Component;Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 2 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
private void installButtonListeners(java.awt.Component, javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler);
descriptor: (Ljava/awt/Component;Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.swing.JButton
ifeq 2
1: aload 1
checkcast javax.swing.JButton
aload 2
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.awt.Component.addMouseListener:(Ljava/awt/event/MouseListener;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 4 1 c Ljava/awt/Component;
0 4 2 handler Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
MethodParameters:
Name Flags
c
handler
protected java.awt.LayoutManager createLayout();
descriptor: ()Ljava/awt/LayoutManager;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getHandler:()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
protected java.beans.PropertyChangeListener createPropertyChangeListener();
descriptor: ()Ljava/beans/PropertyChangeListener;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getHandler:()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
protected java.awt.Component createPreviousButton();
descriptor: ()Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_5
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createArrowButton:(I)Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ldc "Spinner.previousButton"
invokevirtual java.awt.Component.setName:(Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installPreviousButtonListeners:(Ljava/awt/Component;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
1 4 1 c Ljava/awt/Component;
protected java.awt.Component createNextButton();
descriptor: ()Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.createArrowButton:(I)Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ldc "Spinner.nextButton"
invokevirtual java.awt.Component.setName:(Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installNextButtonListeners:(Ljava/awt/Component;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
1 4 1 c Ljava/awt/Component;
private java.awt.Component createArrowButton(int);
descriptor: (I)Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new javax.swing.plaf.basic.BasicArrowButton
dup
iload 1
invokespecial javax.swing.plaf.basic.BasicArrowButton.<init>:(I)V
astore 2
start local 2 1: ldc "Spinner.arrowButtonBorder"
invokestatic javax.swing.UIManager.getBorder:(Ljava/lang/Object;)Ljavax/swing/border/Border;
astore 3
start local 3 2: aload 3
instanceof javax.swing.plaf.UIResource
ifeq 5
3: aload 2
new javax.swing.border.CompoundBorder
dup
aload 3
aconst_null
invokespecial javax.swing.border.CompoundBorder.<init>:(Ljavax/swing/border/Border;Ljavax/swing/border/Border;)V
invokevirtual javax.swing.JButton.setBorder:(Ljavax/swing/border/Border;)V
4: goto 6
5: StackMap locals: javax.swing.JButton javax.swing.border.Border
StackMap stack:
aload 2
aload 3
invokevirtual javax.swing.JButton.setBorder:(Ljavax/swing/border/Border;)V
6: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual javax.swing.JButton.setInheritsPopupMenu:(Z)V
7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 8 1 direction I
1 8 2 b Ljavax/swing/JButton;
2 8 3 buttonBorder Ljavax/swing/border/Border;
MethodParameters:
Name Flags
direction
protected javax.swing.JComponent createEditor();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.maybeRemoveEditorBorder:(Ljavax/swing/JComponent;)V
2: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installEditorBorderListener:(Ljavax/swing/JComponent;)V
3: aload 1
iconst_1
invokevirtual javax.swing.JComponent.setInheritsPopupMenu:(Z)V
4: aload 0
aload 1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.updateEditorAlignment:(Ljavax/swing/JComponent;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
1 6 1 editor Ljavax/swing/JComponent;
protected void replaceEditor(javax.swing.JComponent, javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/JComponent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 1
invokevirtual javax.swing.JSpinner.remove:(Ljava/awt/Component;)V
1: aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.maybeRemoveEditorBorder:(Ljavax/swing/JComponent;)V
2: aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.installEditorBorderListener:(Ljavax/swing/JComponent;)V
3: aload 2
iconst_1
invokevirtual javax.swing.JComponent.setInheritsPopupMenu:(Z)V
4: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 2
ldc "Editor"
invokevirtual javax.swing.JSpinner.add:(Ljava/awt/Component;Ljava/lang/Object;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 6 1 oldEditor Ljavax/swing/JComponent;
0 6 2 newEditor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
oldEditor
newEditor
private void updateEditorAlignment(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.JSpinner$DefaultEditor
ifeq 4
1: ldc "Spinner.editorAlignment"
invokestatic javax.swing.UIManager.getInt:(Ljava/lang/Object;)I
istore 2
start local 2 2: aload 1
checkcast javax.swing.JSpinner$DefaultEditor
invokevirtual javax.swing.JSpinner$DefaultEditor.getTextField:()Ljavax/swing/JFormattedTextField;
astore 3
start local 3 3: aload 3
iload 2
invokevirtual javax.swing.JTextField.setHorizontalAlignment:(I)V
end local 3 end local 2 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/BasicSpinnerUI;
0 5 1 editor Ljavax/swing/JComponent;
2 4 2 alignment I
3 4 3 text Ljavax/swing/JTextField;
MethodParameters:
Name Flags
editor
private void maybeRemoveEditorBorder(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "Spinner.editorBorderPainted"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifne 7
1: aload 1
instanceof javax.swing.JPanel
ifeq 5
2: aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
ifnonnull 5
3: aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifle 5
4: aload 1
iconst_0
invokevirtual javax.swing.JComponent.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 1
5: StackMap locals:
StackMap stack:
aload 1
ifnull 7
aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 7
6: aload 1
aconst_null
invokevirtual javax.swing.JComponent.setBorder:(Ljavax/swing/border/Border;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 8 1 editor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
editor
private void installEditorBorderListener(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "Spinner.editorBorderPainted"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifne 9
1: aload 1
instanceof javax.swing.JPanel
ifeq 5
2: aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
ifnonnull 5
3: aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifle 5
4: aload 1
iconst_0
invokevirtual javax.swing.JComponent.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 1
5: StackMap locals:
StackMap stack:
aload 1
ifnull 9
6: aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
ifnull 8
7: aload 1
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 9
8: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getHandler:()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
invokevirtual javax.swing.JComponent.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 10 1 editor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
editor
private void removeEditorBorderListener(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "Spinner.editorBorderPainted"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifne 6
1: aload 1
instanceof javax.swing.JPanel
ifeq 4
2: aload 1
invokevirtual javax.swing.JComponent.getComponentCount:()I
ifle 4
3: aload 1
iconst_0
invokevirtual javax.swing.JComponent.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnull 6
5: aload 1
aload 0
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getHandler:()Ljavax/swing/plaf/basic/BasicSpinnerUI$Handler;
invokevirtual javax.swing.JComponent.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 7 1 editor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
editor
private void updateEnabledState();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.isEnabled:()Z
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState:(Ljava/awt/Container;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
private void updateEnabledState(java.awt.Container, boolean);
descriptor: (Ljava/awt/Container;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.Container.getComponentCount:()I
iconst_1
isub
istore 3
start local 3 1: goto 22
2: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 4
start local 4 3: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
4: ldc "Spinner.disableOnBoundaryValues"
iconst_0
5: invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
6: ifeq 18
7: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getModel:()Ljavax/swing/SpinnerModel;
astore 5
start local 5 8: aload 4
invokevirtual java.awt.Component.getName:()Ljava/lang/String;
ldc "Spinner.nextButton"
if_acmpne 12
9: aload 5
invokeinterface javax.swing.SpinnerModel.getNextValue:()Ljava/lang/Object;
ifnonnull 12
10: aload 4
iconst_0
invokevirtual java.awt.Component.setEnabled:(Z)V
11: goto 19
12: StackMap locals: java.awt.Component javax.swing.SpinnerModel
StackMap stack:
aload 4
invokevirtual java.awt.Component.getName:()Ljava/lang/String;
ldc "Spinner.previousButton"
if_acmpne 16
13: aload 5
invokeinterface javax.swing.SpinnerModel.getPreviousValue:()Ljava/lang/Object;
ifnonnull 16
14: aload 4
iconst_0
invokevirtual java.awt.Component.setEnabled:(Z)V
15: goto 19
16: StackMap locals:
StackMap stack:
aload 4
iload 2
invokevirtual java.awt.Component.setEnabled:(Z)V
end local 5 17: goto 19
18: StackMap locals:
StackMap stack:
aload 4
iload 2
invokevirtual java.awt.Component.setEnabled:(Z)V
19: StackMap locals:
StackMap stack:
aload 4
instanceof java.awt.Container
ifeq 21
20: aload 0
aload 4
checkcast java.awt.Container
iload 2
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState:(Ljava/awt/Container;Z)V
end local 4 21: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
22: iload 3
ifge 2
end local 3 23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 24 1 c Ljava/awt/Container;
0 24 2 enabled Z
1 23 3 counter I
3 21 4 child Ljava/awt/Component;
8 17 5 model Ljavax/swing/SpinnerModel;
MethodParameters:
Name Flags
c
enabled
protected void installKeyboardActions();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual javax.swing.plaf.basic.BasicSpinnerUI.getInputMap:(I)Ljavax/swing/InputMap;
astore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
iconst_1
2: aload 1
3: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
4: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
ldc Ljavax/swing/plaf/basic/BasicSpinnerUI;
5: ldc "Spinner.actionMap"
6: invokestatic javax.swing.plaf.basic.LazyActionMap.installLazyActionMap:(Ljavax/swing/JComponent;Ljava/lang/Class;Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
1 8 1 iMap Ljavax/swing/InputMap;
private javax.swing.InputMap getInputMap(int);
descriptor: (I)Ljavax/swing/InputMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 4
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
aload 0
2: ldc "Spinner.ancestorInputMap"
3: invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.swing.InputMap
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 5 1 condition I
MethodParameters:
Name Flags
condition
static void loadActionMap(javax.swing.plaf.basic.LazyActionMap);
descriptor: (Ljavax/swing/plaf/basic/LazyActionMap;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "increment"
getstatic javax.swing.plaf.basic.BasicSpinnerUI.nextButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
1: aload 0
ldc "decrement"
getstatic javax.swing.plaf.basic.BasicSpinnerUI.previousButtonHandler:Ljavax/swing/plaf/basic/BasicSpinnerUI$ArrowButtonHandler;
invokevirtual javax.swing.plaf.basic.LazyActionMap.put:(Ljava/lang/Object;Ljavax/swing/Action;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljavax/swing/plaf/basic/LazyActionMap;
MethodParameters:
Name Flags
map
public int getBaseline(javax.swing.JComponent, int, int);
descriptor: (Ljavax/swing/JComponent;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial javax.swing.plaf.SpinnerUI.getBaseline:(Ljavax/swing/JComponent;II)I
pop
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
astore 4
start local 4 2: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 3: iload 2
aload 5
getfield java.awt.Insets.left:I
isub
aload 5
getfield java.awt.Insets.right:I
isub
istore 2
4: iload 3
aload 5
getfield java.awt.Insets.top:I
isub
aload 5
getfield java.awt.Insets.bottom:I
isub
istore 3
5: iload 2
iflt 9
iload 3
iflt 9
6: aload 4
iload 2
iload 3
invokevirtual javax.swing.JComponent.getBaseline:(II)I
istore 6
start local 6 7: iload 6
iflt 9
8: aload 5
getfield java.awt.Insets.top:I
iload 6
iadd
ireturn
end local 6 9: StackMap locals: javax.swing.JComponent java.awt.Insets
StackMap stack:
iconst_m1
ireturn
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 10 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 10 1 c Ljavax/swing/JComponent;
0 10 2 width I
0 10 3 height I
2 10 4 editor Ljavax/swing/JComponent;
3 10 5 insets Ljava/awt/Insets;
7 9 6 baseline I
MethodParameters:
Name Flags
c
width
height
public java.awt.Component$BaselineResizeBehavior getBaselineResizeBehavior(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/Component$BaselineResizeBehavior;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.plaf.SpinnerUI.getBaselineResizeBehavior:(Ljavax/swing/JComponent;)Ljava/awt/Component$BaselineResizeBehavior;
pop
1: aload 0
getfield javax.swing.plaf.basic.BasicSpinnerUI.spinner:Ljavax/swing/JSpinner;
invokevirtual javax.swing.JSpinner.getEditor:()Ljavax/swing/JComponent;
invokevirtual javax.swing.JComponent.getBaselineResizeBehavior:()Ljava/awt/Component$BaselineResizeBehavior;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicSpinnerUI;
0 2 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicSpinnerUI.java"
NestMembers:
javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler javax.swing.plaf.basic.BasicSpinnerUI$Handler
InnerClasses:
public final BaselineResizeBehavior = java.awt.Component$BaselineResizeBehavior of java.awt.Component
public DefaultEditor = javax.swing.JSpinner$DefaultEditor of javax.swing.JSpinner
private ArrowButtonHandler = javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler of javax.swing.plaf.basic.BasicSpinnerUI
private Handler = javax.swing.plaf.basic.BasicSpinnerUI$Handler of javax.swing.plaf.basic.BasicSpinnerUI