final class javax.swing.colorchooser.ValueFormatter extends javax.swing.JFormattedTextField$AbstractFormatter implements java.awt.event.FocusListener, java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: javax.swing.colorchooser.ValueFormatter
  super_class: javax.swing.JFormattedTextField$AbstractFormatter
{
  private final javax.swing.text.DocumentFilter filter;
    descriptor: Ljavax/swing/text/DocumentFilter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int length;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int radix;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private javax.swing.JFormattedTextField text;
    descriptor: Ljavax/swing/JFormattedTextField;
    flags: (0x0002) ACC_PRIVATE

  static void init(int, boolean, javax.swing.JFormattedTextField);
    descriptor: (IZLjavax/swing/JFormattedTextField;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // int length
        start local 1 // boolean hex
        start local 2 // javax.swing.JFormattedTextField text
         0: .line 44
            new javax.swing.colorchooser.ValueFormatter
            dup
            iload 0 /* length */
            iload 1 /* hex */
            invokespecial javax.swing.colorchooser.ValueFormatter.<init>:(IZ)V
            astore 3 /* formatter */
        start local 3 // javax.swing.colorchooser.ValueFormatter formatter
         1: .line 45
            aload 2 /* text */
            iload 0 /* length */
            invokevirtual javax.swing.JFormattedTextField.setColumns:(I)V
         2: .line 46
            aload 2 /* text */
            new javax.swing.text.DefaultFormatterFactory
            dup
            aload 3 /* formatter */
            invokespecial javax.swing.text.DefaultFormatterFactory.<init>:(Ljavax/swing/JFormattedTextField$AbstractFormatter;)V
            invokevirtual javax.swing.JFormattedTextField.setFormatterFactory:(Ljavax/swing/JFormattedTextField$AbstractFormatterFactory;)V
         3: .line 47
            aload 2 /* text */
            iconst_4
            invokevirtual javax.swing.JFormattedTextField.setHorizontalAlignment:(I)V
         4: .line 48
            aload 2 /* text */
            aload 2 /* text */
            invokevirtual javax.swing.JFormattedTextField.getPreferredSize:()Ljava/awt/Dimension;
            invokevirtual javax.swing.JFormattedTextField.setMinimumSize:(Ljava/awt/Dimension;)V
         5: .line 49
            aload 2 /* text */
            aload 3 /* formatter */
            invokevirtual javax.swing.JFormattedTextField.addFocusListener:(Ljava/awt/event/FocusListener;)V
         6: .line 50
            return
        end local 3 // javax.swing.colorchooser.ValueFormatter formatter
        end local 2 // javax.swing.JFormattedTextField text
        end local 1 // boolean hex
        end local 0 // int length
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0     length  I
            0    7     1        hex  Z
            0    7     2       text  Ljavax/swing/JFormattedTextField;
            1    7     3  formatter  Ljavax/swing/colorchooser/ValueFormatter;
    MethodParameters:
        Name  Flags
      length  
      hex     
      text    

  void <init>(int, boolean);
    descriptor: (IZ)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // int length
        start local 2 // boolean hex
         0: .line 80
            aload 0 /* this */
            invokespecial javax.swing.JFormattedTextField$AbstractFormatter.<init>:()V
         1: .line 52
            aload 0 /* this */
            new javax.swing.colorchooser.ValueFormatter$1
            dup
            aload 0 /* this */
            invokespecial javax.swing.colorchooser.ValueFormatter$1.<init>:(Ljavax/swing/colorchooser/ValueFormatter;)V
            putfield javax.swing.colorchooser.ValueFormatter.filter:Ljavax/swing/text/DocumentFilter;
         2: .line 81
            aload 0 /* this */
            iload 1 /* length */
            putfield javax.swing.colorchooser.ValueFormatter.length:I
         3: .line 82
            aload 0 /* this */
            iload 2 /* hex */
            ifeq 4
            bipush 16
            goto 5
      StackMap locals: javax.swing.colorchooser.ValueFormatter int int
      StackMap stack: javax.swing.colorchooser.ValueFormatter
         4: bipush 10
      StackMap locals: javax.swing.colorchooser.ValueFormatter int int
      StackMap stack: javax.swing.colorchooser.ValueFormatter int
         5: putfield javax.swing.colorchooser.ValueFormatter.radix:I
         6: .line 83
            return
        end local 2 // boolean hex
        end local 1 // int length
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Ljavax/swing/colorchooser/ValueFormatter;
            0    7     1  length  I
            0    7     2     hex  Z
    MethodParameters:
        Name  Flags
      length  
      hex     

  public java.lang.Object stringToValue(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // java.lang.String text
         0: .line 88
            aload 1 /* text */
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.radix:I
            invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;I)Ljava/lang/Integer;
         1: areturn
         2: .line 90
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
            astore 2 /* nfe */
        start local 2 // java.lang.NumberFormatException nfe
         3: .line 91
            new java.text.ParseException
            dup
            ldc "illegal format"
            iconst_0
            invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
            astore 3 /* pe */
        start local 3 // java.text.ParseException pe
         4: .line 92
            aload 3 /* pe */
            aload 2 /* nfe */
            invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
            pop
         5: .line 93
            aload 3 /* pe */
            athrow
        end local 3 // java.text.ParseException pe
        end local 2 // java.lang.NumberFormatException nfe
        end local 1 // java.lang.String text
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljavax/swing/colorchooser/ValueFormatter;
            0    6     1  text  Ljava/lang/String;
            3    6     2   nfe  Ljava/lang/NumberFormatException;
            4    6     3    pe  Ljava/text/ParseException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.NumberFormatException
    Exceptions:
      throws java.text.ParseException
    MethodParameters:
      Name  Flags
      text  

  public java.lang.String valueToString(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // java.lang.Object object
         0: .line 99
            aload 1 /* object */
            instanceof java.lang.Integer
            ifeq 11
         1: .line 100
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.radix:I
            bipush 10
            if_icmpne 3
         2: .line 101
            aload 1 /* object */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            areturn
         3: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* object */
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            istore 2 /* value */
        start local 2 // int value
         4: .line 104
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.length:I
            istore 3 /* index */
        start local 3 // int index
         5: .line 105
            iload 3 /* index */
            newarray 5
            astore 4 /* array */
        start local 4 // char[] array
         6: .line 106
            goto 9
         7: .line 107
      StackMap locals: int int char[]
      StackMap stack:
            aload 4 /* array */
            iload 3 /* index */
            iload 2 /* value */
            bipush 15
            iand
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.radix:I
            invokestatic java.lang.Character.forDigit:(II)C
            castore
         8: .line 108
            iload 2 /* value */
            iconst_4
            ishr
            istore 2 /* value */
         9: .line 106
      StackMap locals:
      StackMap stack:
            iload 3 /* index */
            iinc 3 /* index */ -1
            ifgt 7
        10: .line 110
            new java.lang.String
            dup
            aload 4 /* array */
            invokespecial java.lang.String.<init>:([C)V
            getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
            invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
            areturn
        end local 4 // char[] array
        end local 3 // int index
        end local 2 // int value
        11: .line 112
      StackMap locals:
      StackMap stack:
            new java.text.ParseException
            dup
            ldc "illegal object"
            iconst_0
            invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
            athrow
        end local 1 // java.lang.Object object
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   12     0    this  Ljavax/swing/colorchooser/ValueFormatter;
            0   12     1  object  Ljava/lang/Object;
            4   11     2   value  I
            5   11     3   index  I
            6   11     4   array  [C
    Exceptions:
      throws java.text.ParseException
    MethodParameters:
        Name  Flags
      object  

  protected javax.swing.text.DocumentFilter getDocumentFilter();
    descriptor: ()Ljavax/swing/text/DocumentFilter;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.swing.colorchooser.ValueFormatter this
         0: .line 117
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.filter:Ljavax/swing/text/DocumentFilter;
            areturn
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/swing/colorchooser/ValueFormatter;

  public void focusGained(java.awt.event.FocusEvent);
    descriptor: (Ljava/awt/event/FocusEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // java.awt.event.FocusEvent event
         0: .line 121
            aload 1 /* event */
            invokevirtual java.awt.event.FocusEvent.getSource:()Ljava/lang/Object;
            astore 2 /* source */
        start local 2 // java.lang.Object source
         1: .line 122
            aload 2 /* source */
            instanceof javax.swing.JFormattedTextField
            ifeq 4
         2: .line 123
            aload 0 /* this */
            aload 2 /* source */
            checkcast javax.swing.JFormattedTextField
            putfield javax.swing.colorchooser.ValueFormatter.text:Ljavax/swing/JFormattedTextField;
         3: .line 124
            aload 0 /* this */
            invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
         4: .line 126
      StackMap locals: java.lang.Object
      StackMap stack:
            return
        end local 2 // java.lang.Object source
        end local 1 // java.awt.event.FocusEvent event
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Ljavax/swing/colorchooser/ValueFormatter;
            0    5     1   event  Ljava/awt/event/FocusEvent;
            1    5     2  source  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      event  

  public void focusLost(java.awt.event.FocusEvent);
    descriptor: (Ljava/awt/event/FocusEvent;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=2, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // java.awt.event.FocusEvent event
         0: .line 129
            return
        end local 1 // java.awt.event.FocusEvent event
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Ljavax/swing/colorchooser/ValueFormatter;
            0    1     1  event  Ljava/awt/event/FocusEvent;
    MethodParameters:
       Name  Flags
      event  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.swing.colorchooser.ValueFormatter this
         0: .line 132
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.text:Ljavax/swing/JFormattedTextField;
            ifnull 2
         1: .line 133
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.text:Ljavax/swing/JFormattedTextField;
            invokevirtual javax.swing.JFormattedTextField.selectAll:()V
         2: .line 135
      StackMap locals:
      StackMap stack:
            return
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljavax/swing/colorchooser/ValueFormatter;

  private boolean isValid(int);
    descriptor: (I)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // int length
         0: .line 138
            iload 1 /* length */
            iflt 1
            iload 1 /* length */
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.length:I
            if_icmpgt 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // int length
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljavax/swing/colorchooser/ValueFormatter;
            0    2     1  length  I
    MethodParameters:
        Name  Flags
      length  

  private boolean isValid(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // javax.swing.colorchooser.ValueFormatter this
        start local 1 // java.lang.String text
         0: .line 142
            aload 1 /* text */
            invokevirtual java.lang.String.length:()I
            istore 2 /* length */
        start local 2 // int length
         1: .line 143
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 7
         3: .line 144
      StackMap locals: int int
      StackMap stack:
            aload 1 /* text */
            iload 3 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 4 /* ch */
        start local 4 // char ch
         4: .line 145
            iload 4 /* ch */
            aload 0 /* this */
            getfield javax.swing.colorchooser.ValueFormatter.radix:I
            invokestatic java.lang.Character.digit:(CI)I
            ifge 6
         5: .line 146
            iconst_0
            ireturn
        end local 4 // char ch
         6: .line 143
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 3 /* i */
            iload 2 /* length */
            if_icmplt 3
        end local 3 // int i
         8: .line 149
            iconst_1
            ireturn
        end local 2 // int length
        end local 1 // java.lang.String text
        end local 0 // javax.swing.colorchooser.ValueFormatter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljavax/swing/colorchooser/ValueFormatter;
            0    9     1    text  Ljava/lang/String;
            1    9     2  length  I
            2    8     3       i  I
            4    6     4      ch  C
    MethodParameters:
      Name  Flags
      text  
}
SourceFile: "ValueFormatter.java"
NestMembers:
  javax.swing.colorchooser.ValueFormatter$1
InnerClasses:
  public abstract AbstractFormatter = javax.swing.JFormattedTextField$AbstractFormatter of javax.swing.JFormattedTextField
  public abstract AbstractFormatterFactory = javax.swing.JFormattedTextField$AbstractFormatterFactory of javax.swing.JFormattedTextField
  javax.swing.colorchooser.ValueFormatter$1