class javax.swing.plaf.basic.BasicTableUI$TableTransferHandler extends javax.swing.TransferHandler implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTableUI$TableTransferHandler
super_class: javax.swing.TransferHandler
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.TransferHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTableUI$TableTransferHandler;
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljava/awt/datatransfer/Transferable;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.swing.JTable
ifeq 49
1: aload 1
checkcast javax.swing.JTable
astore 2
start local 2 2: aload 2
invokevirtual javax.swing.JTable.getRowSelectionAllowed:()Z
ifne 4
aload 2
invokevirtual javax.swing.JTable.getColumnSelectionAllowed:()Z
ifne 4
3: aconst_null
areturn
4: StackMap locals: javax.swing.JTable
StackMap stack:
aload 2
invokevirtual javax.swing.JTable.getRowSelectionAllowed:()Z
ifne 13
5: aload 2
invokevirtual javax.swing.JTable.getRowCount:()I
istore 5
start local 5 6: iload 5
newarray 10
astore 3
start local 3 7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: javax.swing.plaf.basic.BasicTableUI$TableTransferHandler javax.swing.JComponent javax.swing.JTable int[] top int int
StackMap stack:
aload 3
iload 6
iload 6
iastore
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 5
if_icmplt 9
end local 6 end local 5 12: goto 14
end local 3 13: StackMap locals: javax.swing.plaf.basic.BasicTableUI$TableTransferHandler javax.swing.JComponent javax.swing.JTable
StackMap stack:
aload 2
invokevirtual javax.swing.JTable.getSelectedRows:()[I
astore 3
start local 3 14: StackMap locals: int[]
StackMap stack:
aload 2
invokevirtual javax.swing.JTable.getColumnSelectionAllowed:()Z
ifne 23
15: aload 2
invokevirtual javax.swing.JTable.getColumnCount:()I
istore 5
start local 5 16: iload 5
newarray 10
astore 4
start local 4 17: iconst_0
istore 6
start local 6 18: goto 21
19: StackMap locals: int[] int int
StackMap stack:
aload 4
iload 6
iload 6
iastore
20: iinc 6 1
StackMap locals:
StackMap stack:
21: iload 6
iload 5
if_icmplt 19
end local 6 end local 5 22: goto 24
end local 4 23: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.JTable.getSelectedColumns:()[I
astore 4
start local 4 24: StackMap locals: int[]
StackMap stack:
aload 3
ifnull 25
aload 4
ifnull 25
aload 3
arraylength
ifeq 25
aload 4
arraylength
ifne 26
25: StackMap locals:
StackMap stack:
aconst_null
areturn
26: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 5
start local 5 27: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 6
start local 6 28: aload 6
ldc "<html>\n<body>\n<table>\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
29: iconst_0
istore 7
start local 7 30: goto 45
31: StackMap locals: java.lang.StringBuffer java.lang.StringBuffer int
StackMap stack:
aload 6
ldc "<tr>\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
32: iconst_0
istore 8
start local 8 33: goto 41
34: StackMap locals: int
StackMap stack:
aload 2
aload 3
iload 7
iaload
aload 4
iload 8
iaload
invokevirtual javax.swing.JTable.getValueAt:(II)Ljava/lang/Object;
astore 9
start local 9 35: aload 9
ifnonnull 36
ldc ""
goto 37
StackMap locals: java.lang.Object
StackMap stack:
36: aload 9
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
37: astore 10
start local 10 38: aload 5
new java.lang.StringBuilder
dup
aload 10
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
39: aload 6
new java.lang.StringBuilder
dup
ldc " <td>"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</td>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 10 end local 9 40: iinc 8 1
StackMap locals:
StackMap stack:
41: iload 8
aload 4
arraylength
if_icmplt 34
end local 8 42: aload 5
aload 5
invokevirtual java.lang.StringBuffer.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuffer.deleteCharAt:(I)Ljava/lang/StringBuffer;
ldc "\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
43: aload 6
ldc "</tr>\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
44: iinc 7 1
StackMap locals:
StackMap stack:
45: iload 7
aload 3
arraylength
if_icmplt 31
end local 7 46: aload 5
aload 5
invokevirtual java.lang.StringBuffer.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuffer.deleteCharAt:(I)Ljava/lang/StringBuffer;
pop
47: aload 6
ldc "</table>\n</body>\n</html>"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
48: new javax.swing.plaf.basic.BasicTransferable
dup
aload 5
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
aload 6
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokespecial javax.swing.plaf.basic.BasicTransferable.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 49: StackMap locals: javax.swing.plaf.basic.BasicTableUI$TableTransferHandler javax.swing.JComponent
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Ljavax/swing/plaf/basic/BasicTableUI$TableTransferHandler;
0 50 1 c Ljavax/swing/JComponent;
2 49 2 table Ljavax/swing/JTable;
7 13 3 rows [I
14 49 3 rows [I
17 23 4 cols [I
24 49 4 cols [I
6 12 5 rowCount I
8 12 6 counter I
16 22 5 colCount I
18 22 6 counter I
27 49 5 plainBuf Ljava/lang/StringBuffer;
28 49 6 htmlBuf Ljava/lang/StringBuffer;
30 46 7 row I
33 42 8 col I
35 40 9 obj Ljava/lang/Object;
38 40 10 val Ljava/lang/String;
MethodParameters:
Name Flags
c
public int getSourceActions(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTableUI$TableTransferHandler;
0 1 1 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicTableUI.java"
NestHost: javax.swing.plaf.basic.BasicTableUI
InnerClasses:
TableTransferHandler = javax.swing.plaf.basic.BasicTableUI$TableTransferHandler of javax.swing.plaf.basic.BasicTableUI