public abstract class sun.tools.jconsole.inspector.XTable extends javax.swing.JTable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.tools.jconsole.inspector.XTable
super_class: javax.swing.JTable
{
static final int NAME_COLUMN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int VALUE_COLUMN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.awt.Color defaultColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color editableColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color errorColor;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Font normalFont;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
private java.awt.Font boldFont;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JTable.<init>:()V
1: new sun.tools.jconsole.inspector.TableSorter
dup
invokespecial sun.tools.jconsole.inspector.TableSorter.<init>:()V
astore 1
start local 1 2: aload 0
aload 1
invokevirtual sun.tools.jconsole.inspector.XTable.setModel:(Ljavax/swing/table/TableModel;)V
3: aload 1
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.addMouseListenerToHeaderInTable:(Ljavax/swing/JTable;)V
4: aload 0
iconst_0
invokevirtual sun.tools.jconsole.inspector.XTable.setRowSelectionAllowed:(Z)V
5: aload 0
iconst_0
invokevirtual sun.tools.jconsole.inspector.XTable.setColumnSelectionAllowed:(Z)V
6: aload 0
iconst_3
invokevirtual sun.tools.jconsole.inspector.XTable.setAutoResizeMode:(I)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jconsole/inspector/XTable;
2 8 1 sorter Lsun/tools/jconsole/inspector/TableSorter;
java.awt.Color getDefaultColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTable;
java.awt.Color getEditableColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XTable.editableColor:Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTable;
void sortRequested(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTable;
0 1 1 column I
MethodParameters:
Name Flags
column
public int getSelectedIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.getSelectedRow:()I
invokevirtual sun.tools.jconsole.inspector.XTable.convertRowToIndex:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTable;
public int convertRowToIndex(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmpne 1
iload 1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.getModel:()Ljavax/swing/table/TableModel;
instanceof sun.tools.jconsole.inspector.TableSorter
ifeq 3
2: aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.getModel:()Ljavax/swing/table/TableModel;
checkcast sun.tools.jconsole.inspector.TableSorter
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.getIndexOfRow:(I)I
ireturn
3: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XTable;
0 4 1 row I
MethodParameters:
Name Flags
row
public void emptyTable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.getModel:()Ljavax/swing/table/TableModel;
checkcast javax.swing.table.DefaultTableModel
astore 1
start local 1 1: goto 3
2: StackMap locals: javax.swing.table.DefaultTableModel
StackMap stack:
aload 1
iconst_0
invokevirtual javax.swing.table.DefaultTableModel.removeRow:(I)V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.table.DefaultTableModel.getRowCount:()I
ifgt 2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/XTable;
1 5 1 model Ljavax/swing/table/DefaultTableModel;
public abstract boolean isTableEditable();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isColumnEditable(int);
descriptor: (I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
column
public abstract boolean isReadable(int);
descriptor: (I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
public abstract boolean isWritable(int);
descriptor: (I)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
public abstract boolean isCellError(int, int);
descriptor: (II)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
col
public abstract boolean isAttributeViewable(int, int);
descriptor: (II)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
col
public abstract void setTableValue(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
value
row
public abstract java.lang.Object getValue(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
public abstract java.lang.String getClassName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
public abstract java.lang.String getValueName(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
row
public boolean isReadWrite(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.XTable.isReadable:(I)Z
ifeq 1
aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.XTable.isWritable:(I)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTable;
0 2 1 row I
MethodParameters:
Name Flags
row
public boolean isCellEditable(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.isTableEditable:()Z
ifeq 4
aload 0
iload 2
invokevirtual sun.tools.jconsole.inspector.XTable.isColumnEditable:(I)Z
ifeq 4
1: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.XTable.isWritable:(I)Z
ifeq 4
2: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.XTable.getClassName:(I)Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.Utils.isEditableType:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/XTable;
0 5 1 row I
0 5 2 col I
MethodParameters:
Name Flags
row
col
public boolean isCellDroppable(int, int);
descriptor: (II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTable.isTableEditable:()Z
ifeq 3
aload 0
iload 2
invokevirtual sun.tools.jconsole.inspector.XTable.isColumnEditable:(I)Z
ifeq 3
1: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.XTable.isWritable:(I)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XTable;
0 4 1 row I
0 4 2 col I
MethodParameters:
Name Flags
row
col
public java.lang.String getToolTip(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTable;
0 1 1 row I
0 1 2 column I
MethodParameters:
Name Flags
row
column
public javax.swing.table.TableCellRenderer getCellRenderer(int, int);
descriptor: (II)Ljavax/swing/table/TableCellRenderer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial javax.swing.JTable.getCellRenderer:(II)Ljavax/swing/table/TableCellRenderer;
checkcast javax.swing.table.DefaultTableCellRenderer
1: astore 3
start local 3 2: aload 3
aload 0
iload 1
iload 2
invokevirtual sun.tools.jconsole.inspector.XTable.getToolTip:(II)Ljava/lang/String;
invokevirtual javax.swing.table.DefaultTableCellRenderer.setToolTipText:(Ljava/lang/String;)V
3: aload 0
getfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
ifnonnull 9
4: aload 0
aload 3
invokevirtual javax.swing.table.DefaultTableCellRenderer.getForeground:()Ljava/awt/Color;
putfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
5: aload 0
getstatic java.awt.Color.blue:Ljava/awt/Color;
putfield sun.tools.jconsole.inspector.XTable.editableColor:Ljava/awt/Color;
6: aload 0
getstatic java.awt.Color.red:Ljava/awt/Color;
putfield sun.tools.jconsole.inspector.XTable.errorColor:Ljava/awt/Color;
7: aload 0
getfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
ifnonnull 9
8: aload 3
areturn
9: StackMap locals: javax.swing.table.DefaultTableCellRenderer
StackMap stack:
iload 2
iconst_1
if_icmpeq 12
10: aload 3
aload 0
getfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
invokevirtual javax.swing.table.DefaultTableCellRenderer.setForeground:(Ljava/awt/Color;)V
11: aload 3
areturn
12: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual sun.tools.jconsole.inspector.XTable.isCellError:(II)Z
ifeq 15
13: aload 3
aload 0
getfield sun.tools.jconsole.inspector.XTable.errorColor:Ljava/awt/Color;
invokevirtual javax.swing.table.DefaultTableCellRenderer.setForeground:(Ljava/awt/Color;)V
14: goto 19
StackMap locals:
StackMap stack:
15: aload 0
iload 1
iload 2
invokevirtual sun.tools.jconsole.inspector.XTable.isCellEditable:(II)Z
ifeq 18
16: aload 3
aload 0
getfield sun.tools.jconsole.inspector.XTable.editableColor:Ljava/awt/Color;
invokevirtual javax.swing.table.DefaultTableCellRenderer.setForeground:(Ljava/awt/Color;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield sun.tools.jconsole.inspector.XTable.defaultColor:Ljava/awt/Color;
invokevirtual javax.swing.table.DefaultTableCellRenderer.setForeground:(Ljava/awt/Color;)V
19: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/tools/jconsole/inspector/XTable;
0 20 1 row I
0 20 2 column I
2 20 3 tcr Ljavax/swing/table/DefaultTableCellRenderer;
MethodParameters:
Name Flags
row
column
public java.awt.Component prepareRenderer(javax.swing.table.TableCellRenderer, int, int);
descriptor: (Ljavax/swing/table/TableCellRenderer;II)Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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.JTable.prepareRenderer:(Ljavax/swing/table/TableCellRenderer;II)Ljava/awt/Component;
astore 4
start local 4 1: aload 0
getfield sun.tools.jconsole.inspector.XTable.normalFont:Ljava/awt/Font;
ifnonnull 4
2: aload 0
aload 4
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
putfield sun.tools.jconsole.inspector.XTable.normalFont:Ljava/awt/Font;
3: aload 0
aload 0
getfield sun.tools.jconsole.inspector.XTable.normalFont:Ljava/awt/Font;
iconst_1
invokevirtual java.awt.Font.deriveFont:(I)Ljava/awt/Font;
putfield sun.tools.jconsole.inspector.XTable.boldFont:Ljava/awt/Font;
4: StackMap locals: java.awt.Component
StackMap stack:
iload 3
iconst_1
if_icmpne 7
aload 0
iload 2
iconst_1
invokevirtual sun.tools.jconsole.inspector.XTable.isAttributeViewable:(II)Z
ifeq 7
5: aload 4
aload 0
getfield sun.tools.jconsole.inspector.XTable.boldFont:Ljava/awt/Font;
invokevirtual java.awt.Component.setFont:(Ljava/awt/Font;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield sun.tools.jconsole.inspector.XTable.normalFont:Ljava/awt/Font;
invokevirtual java.awt.Component.setFont:(Ljava/awt/Font;)V
8: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jconsole/inspector/XTable;
0 9 1 renderer Ljavax/swing/table/TableCellRenderer;
0 9 2 row I
0 9 3 column I
1 9 4 comp Ljava/awt/Component;
MethodParameters:
Name Flags
renderer
row
column
}
SourceFile: "XTable.java"