public class com.sun.beans.editors.ColorEditor extends java.awt.Panel implements java.beans.PropertyEditor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.beans.editors.ColorEditor
super_class: java.awt.Panel
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1781257185164716054
private java.lang.String[] colorNames;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color[] colors;
descriptor: [Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Canvas sample;
descriptor: Ljava/awt/Canvas;
flags: (0x0002) ACC_PRIVATE
private int sampleHeight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int sampleWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int hPad;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ourWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.awt.Color color;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.TextField text;
descriptor: Ljava/awt/TextField;
flags: (0x0002) ACC_PRIVATE
private java.awt.Choice choser;
descriptor: Ljava/awt/Choice;
flags: (0x0002) ACC_PRIVATE
private java.beans.PropertyChangeSupport support;
descriptor: Ljava/beans/PropertyChangeSupport;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokespecial java.awt.Panel.<init>:()V
1: aload 0
bipush 14
anewarray java.lang.String
dup
iconst_0
ldc " "
aastore
dup
iconst_1
ldc "white"
aastore
dup
iconst_2
ldc "lightGray"
aastore
dup
iconst_3
ldc "gray"
aastore
dup
iconst_4
ldc "darkGray"
aastore
dup
iconst_5
2: ldc "black"
aastore
dup
bipush 6
ldc "red"
aastore
dup
bipush 7
ldc "pink"
aastore
dup
bipush 8
ldc "orange"
aastore
dup
bipush 9
3: ldc "yellow"
aastore
dup
bipush 10
ldc "green"
aastore
dup
bipush 11
ldc "magenta"
aastore
dup
bipush 12
ldc "cyan"
aastore
dup
bipush 13
4: ldc "blue"
aastore
putfield com.sun.beans.editors.ColorEditor.colorNames:[Ljava/lang/String;
5: aload 0
bipush 14
anewarray java.awt.Color
dup
iconst_1
getstatic java.awt.Color.white:Ljava/awt/Color;
aastore
dup
iconst_2
getstatic java.awt.Color.lightGray:Ljava/awt/Color;
aastore
dup
iconst_3
getstatic java.awt.Color.gray:Ljava/awt/Color;
aastore
dup
iconst_4
getstatic java.awt.Color.darkGray:Ljava/awt/Color;
aastore
dup
iconst_5
6: getstatic java.awt.Color.black:Ljava/awt/Color;
aastore
dup
bipush 6
getstatic java.awt.Color.red:Ljava/awt/Color;
aastore
dup
bipush 7
getstatic java.awt.Color.pink:Ljava/awt/Color;
aastore
dup
bipush 8
getstatic java.awt.Color.orange:Ljava/awt/Color;
aastore
dup
bipush 9
7: getstatic java.awt.Color.yellow:Ljava/awt/Color;
aastore
dup
bipush 10
getstatic java.awt.Color.green:Ljava/awt/Color;
aastore
dup
bipush 11
getstatic java.awt.Color.magenta:Ljava/awt/Color;
aastore
dup
bipush 12
getstatic java.awt.Color.cyan:Ljava/awt/Color;
aastore
dup
bipush 13
8: getstatic java.awt.Color.blue:Ljava/awt/Color;
aastore
putfield com.sun.beans.editors.ColorEditor.colors:[Ljava/awt/Color;
9: aload 0
bipush 20
putfield com.sun.beans.editors.ColorEditor.sampleHeight:I
10: aload 0
bipush 40
putfield com.sun.beans.editors.ColorEditor.sampleWidth:I
11: aload 0
iconst_5
putfield com.sun.beans.editors.ColorEditor.hPad:I
12: aload 0
new java.beans.PropertyChangeSupport
dup
aload 0
invokespecial java.beans.PropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield com.sun.beans.editors.ColorEditor.support:Ljava/beans/PropertyChangeSupport;
13: aload 0
aconst_null
invokevirtual com.sun.beans.editors.ColorEditor.setLayout:(Ljava/awt/LayoutManager;)V
14: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.hPad:I
putfield com.sun.beans.editors.ColorEditor.ourWidth:I
15: new java.awt.Panel
dup
invokespecial java.awt.Panel.<init>:()V
astore 1
start local 1 16: aload 1
aconst_null
invokevirtual java.awt.Panel.setLayout:(Ljava/awt/LayoutManager;)V
17: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Panel.setBackground:(Ljava/awt/Color;)V
18: aload 0
new java.awt.Canvas
dup
invokespecial java.awt.Canvas.<init>:()V
putfield com.sun.beans.editors.ColorEditor.sample:Ljava/awt/Canvas;
19: aload 1
aload 0
getfield com.sun.beans.editors.ColorEditor.sample:Ljava/awt/Canvas;
invokevirtual java.awt.Panel.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
20: aload 0
getfield com.sun.beans.editors.ColorEditor.sample:Ljava/awt/Canvas;
iconst_2
iconst_2
aload 0
getfield com.sun.beans.editors.ColorEditor.sampleWidth:I
aload 0
getfield com.sun.beans.editors.ColorEditor.sampleHeight:I
invokevirtual java.awt.Canvas.reshape:(IIII)V
21: aload 0
aload 1
invokevirtual com.sun.beans.editors.ColorEditor.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
22: aload 1
aload 0
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
iconst_2
aload 0
getfield com.sun.beans.editors.ColorEditor.sampleWidth:I
iconst_4
iadd
aload 0
getfield com.sun.beans.editors.ColorEditor.sampleHeight:I
iconst_4
iadd
invokevirtual java.awt.Panel.reshape:(IIII)V
23: aload 0
dup
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
aload 0
getfield com.sun.beans.editors.ColorEditor.sampleWidth:I
iconst_4
iadd
aload 0
getfield com.sun.beans.editors.ColorEditor.hPad:I
iadd
iadd
putfield com.sun.beans.editors.ColorEditor.ourWidth:I
24: aload 0
new java.awt.TextField
dup
ldc ""
bipush 14
invokespecial java.awt.TextField.<init>:(Ljava/lang/String;I)V
putfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
25: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
invokevirtual com.sun.beans.editors.ColorEditor.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
26: aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
aload 0
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
iconst_0
bipush 100
bipush 30
invokevirtual java.awt.TextField.reshape:(IIII)V
27: aload 0
dup
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
bipush 100
aload 0
getfield com.sun.beans.editors.ColorEditor.hPad:I
iadd
iadd
putfield com.sun.beans.editors.ColorEditor.ourWidth:I
28: aload 0
new java.awt.Choice
dup
invokespecial java.awt.Choice.<init>:()V
putfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
29: iconst_0
istore 2
start local 2 30: goto 33
31: StackMap locals: com.sun.beans.editors.ColorEditor java.awt.Panel int
StackMap stack:
aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
aload 0
getfield com.sun.beans.editors.ColorEditor.colorNames:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.awt.Choice.addItem:(Ljava/lang/String;)V
32: iinc 2 1
StackMap locals:
StackMap stack:
33: iload 2
aload 0
getfield com.sun.beans.editors.ColorEditor.colorNames:[Ljava/lang/String;
arraylength
if_icmplt 31
end local 2 34: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
invokevirtual com.sun.beans.editors.ColorEditor.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
35: aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
aload 0
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
iconst_0
bipush 100
bipush 30
invokevirtual java.awt.Choice.reshape:(IIII)V
36: aload 0
dup
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
bipush 100
aload 0
getfield com.sun.beans.editors.ColorEditor.hPad:I
iadd
iadd
putfield com.sun.beans.editors.ColorEditor.ourWidth:I
37: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
bipush 40
invokevirtual com.sun.beans.editors.ColorEditor.resize:(II)V
38: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/sun/beans/editors/ColorEditor;
16 39 1 p Ljava/awt/Panel;
30 34 2 i I
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast java.awt.Color
astore 2
start local 2 1: aload 0
aload 2
invokevirtual com.sun.beans.editors.ColorEditor.changeColor:(Ljava/awt/Color;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/beans/editors/ColorEditor;
0 3 1 o Ljava/lang/Object;
1 3 2 c Ljava/awt/Color;
MethodParameters:
Name Flags
o
public java.awt.Dimension preferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.awt.Dimension
dup
aload 0
getfield com.sun.beans.editors.ColorEditor.ourWidth:I
bipush 40
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public boolean keyUp(java.awt.Event, int);
descriptor: (Ljava/awt/Event;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield java.awt.Event.target:Ljava/lang/Object;
aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
if_acmpne 4
1: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
invokevirtual java.awt.TextField.getText:()Ljava/lang/String;
invokevirtual com.sun.beans.editors.ColorEditor.setAsText:(Ljava/lang/String;)V
2: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
3: pop
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/beans/editors/ColorEditor;
0 5 1 e Ljava/awt/Event;
0 5 2 key I
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
e
key
public void setAsText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
invokevirtual com.sun.beans.editors.ColorEditor.changeColor:(Ljava/awt/Color;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 4: aload 1
bipush 44
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 5: iload 2
iflt 6
iload 3
ifge 7
6: StackMap locals: int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 8: aload 1
iload 2
iconst_1
iadd
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 5
start local 5 9: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 6
start local 6 10: new java.awt.Color
dup
iload 4
iload 5
iload 6
invokespecial java.awt.Color.<init>:(III)V
astore 7
start local 7 11: aload 0
aload 7
invokevirtual com.sun.beans.editors.ColorEditor.changeColor:(Ljava/awt/Color;)V
end local 7 end local 6 end local 5 end local 4 12: goto 15
StackMap locals:
StackMap stack: java.lang.Exception
13: pop
14: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/beans/editors/ColorEditor;
0 16 1 s Ljava/lang/String;
4 16 2 c1 I
5 16 3 c2 I
8 12 4 r I
9 12 5 g I
10 12 6 b I
11 12 7 c Ljava/awt/Color;
Exception table:
from to target type
7 12 13 Class java.lang.Exception
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
s
public boolean action(java.awt.Event, java.lang.Object);
descriptor: (Ljava/awt/Event;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield java.awt.Event.target:Ljava/lang/Object;
aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
if_acmpne 2
1: aload 0
aload 0
getfield com.sun.beans.editors.ColorEditor.colors:[Ljava/awt/Color;
aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
invokevirtual java.awt.Choice.getSelectedIndex:()I
aaload
invokevirtual com.sun.beans.editors.ColorEditor.changeColor:(Ljava/awt/Color;)V
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/beans/editors/ColorEditor;
0 3 1 e Ljava/awt/Event;
0 3 2 arg Ljava/lang/Object;
MethodParameters:
Name Flags
e
arg
public java.lang.String getJavaInitializationString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
ifnull 2
1: new java.lang.StringBuilder
dup
ldc "new java.awt.Color("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",true)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
ldc "null"
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/beans/editors/ColorEditor;
private void changeColor(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: aload 0
aconst_null
putfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
2: aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
ldc ""
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
5: aload 0
getfield com.sun.beans.editors.ColorEditor.text:Ljava/awt/TextField;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.awt.Color.getRed:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.Color.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.Color.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.awt.TextField.setText:(Ljava/lang/String;)V
6: iconst_0
istore 2
start local 2 7: iconst_0
istore 3
start local 3 8: goto 12
9: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
aload 0
getfield com.sun.beans.editors.ColorEditor.colors:[Ljava/awt/Color;
iload 3
aaload
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iload 3
istore 2
11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield com.sun.beans.editors.ColorEditor.colorNames:[Ljava/lang/String;
arraylength
if_icmplt 9
end local 3 13: aload 0
getfield com.sun.beans.editors.ColorEditor.choser:Ljava/awt/Choice;
iload 2
invokevirtual java.awt.Choice.select:(I)V
14: aload 0
getfield com.sun.beans.editors.ColorEditor.sample:Ljava/awt/Canvas;
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Canvas.setBackground:(Ljava/awt/Color;)V
15: aload 0
getfield com.sun.beans.editors.ColorEditor.sample:Ljava/awt/Canvas;
invokevirtual java.awt.Canvas.repaint:()V
16: aload 0
getfield com.sun.beans.editors.ColorEditor.support:Ljava/beans/PropertyChangeSupport;
ldc ""
aconst_null
aconst_null
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
17: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/beans/editors/ColorEditor;
0 18 1 c Ljava/awt/Color;
7 18 2 active I
8 13 3 i I
MethodParameters:
Name Flags
c
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public boolean isPaintable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public void paintValue(java.awt.Graphics, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.awt.Graphics.getColor:()Ljava/awt/Color;
astore 3
start local 3 1: aload 1
getstatic java.awt.Color.black:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
iconst_3
isub
aload 2
getfield java.awt.Rectangle.height:I
iconst_3
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
3: aload 1
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 1
aload 2
getfield java.awt.Rectangle.x:I
iconst_1
iadd
aload 2
getfield java.awt.Rectangle.y:I
iconst_1
iadd
aload 2
getfield java.awt.Rectangle.width:I
iconst_4
isub
aload 2
getfield java.awt.Rectangle.height:I
iconst_4
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
5: aload 1
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/beans/editors/ColorEditor;
0 7 1 gfx Ljava/awt/Graphics;
0 7 2 box Ljava/awt/Rectangle;
1 7 3 oldColor Ljava/awt/Color;
MethodParameters:
Name Flags
gfx
box
public java.lang.String getAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
ifnull 2
1: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getRed:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.beans.editors.ColorEditor.color:Ljava/awt/Color;
invokevirtual java.awt.Color.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/beans/editors/ColorEditor;
public java.lang.String[] getTags();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public java.awt.Component getCustomEditor();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public boolean supportsCustomEditor();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/editors/ColorEditor;
public void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.beans.editors.ColorEditor.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/beans/editors/ColorEditor;
0 2 1 l Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
l
public void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.beans.editors.ColorEditor.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/beans/editors/ColorEditor;
0 2 1 l Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
l
}
SourceFile: "ColorEditor.java"