class sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener
super_class: java.lang.Object
{
private sun.security.tools.policytool.PolicyTool tool;
descriptor: Lsun/security/tools/policytool/PolicyTool;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolWindow tw;
descriptor: Lsun/security/tools/policytool/ToolWindow;
flags: (0x0002) ACC_PRIVATE
private sun.security.tools.policytool.ToolDialog us;
descriptor: Lsun/security/tools/policytool/ToolDialog;
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.tools.policytool.PolicyTool, sun.security.tools.policytool.ToolWindow, sun.security.tools.policytool.ToolDialog);
descriptor: (Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;Lsun/security/tools/policytool/ToolDialog;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
start local 1 // sun.security.tools.policytool.PolicyTool tool
start local 2 // sun.security.tools.policytool.ToolWindow tw
start local 3 // sun.security.tools.policytool.ToolDialog us
0: .line 3985
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3987
aload 0 /* this */
aload 1 /* tool */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
2: .line 3988
aload 0 /* this */
aload 2 /* tw */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
3: .line 3989
aload 0 /* this */
aload 3 /* us */
putfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
4: .line 3990
return
end local 3 // sun.security.tools.policytool.ToolDialog us
end local 2 // sun.security.tools.policytool.ToolWindow tw
end local 1 // sun.security.tools.policytool.PolicyTool tool
end local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/tools/policytool/ConfirmRemovePolicyEntryOKButtonListener;
0 5 1 tool Lsun/security/tools/policytool/PolicyTool;
0 5 2 tw Lsun/security/tools/policytool/ToolWindow;
0 5 3 us Lsun/security/tools/policytool/ToolDialog;
MethodParameters:
Name Flags
tool
tw
us
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
start local 1 // java.awt.event.ActionEvent e
0: .line 3994
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
iconst_3
invokevirtual sun.security.tools.policytool.ToolWindow.getComponent:(I)Ljava/awt/Component;
checkcast javax.swing.JList
astore 2 /* list */
start local 2 // javax.swing.JList list
1: .line 3995
aload 2 /* list */
invokevirtual javax.swing.JList.getSelectedIndex:()I
istore 3 /* index */
start local 3 // int index
2: .line 3996
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 4 /* entries */
start local 4 // sun.security.tools.policytool.PolicyEntry[] entries
3: .line 3997
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 4 /* entries */
iload 3 /* index */
aaload
invokevirtual sun.security.tools.policytool.PolicyTool.removeEntry:(Lsun/security/tools/policytool/PolicyEntry;)Z
pop
4: .line 4000
new javax.swing.DefaultListModel
dup
invokespecial javax.swing.DefaultListModel.<init>:()V
astore 5 /* listModel */
start local 5 // javax.swing.DefaultListModel listModel
5: .line 4001
new javax.swing.JList
dup
aload 5 /* listModel */
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
astore 2 /* list */
6: .line 4002
aload 2 /* list */
bipush 15
invokevirtual javax.swing.JList.setVisibleRowCount:(I)V
7: .line 4003
aload 2 /* list */
iconst_0
invokevirtual javax.swing.JList.setSelectionMode:(I)V
8: .line 4004
aload 2 /* list */
new sun.security.tools.policytool.PolicyListListener
dup
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
invokespecial sun.security.tools.policytool.PolicyListListener.<init>:(Lsun/security/tools/policytool/PolicyTool;Lsun/security/tools/policytool/ToolWindow;)V
invokevirtual javax.swing.JList.addMouseListener:(Ljava/awt/event/MouseListener;)V
9: .line 4005
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tool:Lsun/security/tools/policytool/PolicyTool;
invokevirtual sun.security.tools.policytool.PolicyTool.getEntry:()[Lsun/security/tools/policytool/PolicyEntry;
astore 4 /* entries */
10: .line 4006
aload 4 /* entries */
ifnull 16
11: .line 4007
iconst_0
istore 6 /* i */
start local 6 // int i
12: goto 15
13: .line 4008
StackMap locals: sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener java.awt.event.ActionEvent javax.swing.JList int sun.security.tools.policytool.PolicyEntry[] javax.swing.DefaultListModel int
StackMap stack:
aload 5 /* listModel */
aload 4 /* entries */
iload 6 /* i */
aaload
invokevirtual sun.security.tools.policytool.PolicyEntry.headerToString:()Ljava/lang/String;
invokevirtual javax.swing.DefaultListModel.addElement:(Ljava/lang/Object;)V
14: .line 4007
iinc 6 /* i */ 1
StackMap locals:
StackMap stack:
15: iload 6 /* i */
aload 4 /* entries */
arraylength
if_icmplt 13
end local 6 // int i
16: .line 4011
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.tw:Lsun/security/tools/policytool/ToolWindow;
aload 2 /* list */
invokevirtual sun.security.tools.policytool.ToolWindow.replacePolicyList:(Ljavax/swing/JList;)V
17: .line 4012
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
iconst_0
invokevirtual sun.security.tools.policytool.ToolDialog.setVisible:(Z)V
18: .line 4013
aload 0 /* this */
getfield sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener.us:Lsun/security/tools/policytool/ToolDialog;
invokevirtual sun.security.tools.policytool.ToolDialog.dispose:()V
19: .line 4014
return
end local 5 // javax.swing.DefaultListModel listModel
end local 4 // sun.security.tools.policytool.PolicyEntry[] entries
end local 3 // int index
end local 2 // javax.swing.JList list
end local 1 // java.awt.event.ActionEvent e
end local 0 // sun.security.tools.policytool.ConfirmRemovePolicyEntryOKButtonListener this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/security/tools/policytool/ConfirmRemovePolicyEntryOKButtonListener;
0 20 1 e Ljava/awt/event/ActionEvent;
1 20 2 list Ljavax/swing/JList;
2 20 3 index I
3 20 4 entries [Lsun/security/tools/policytool/PolicyEntry;
5 20 5 listModel Ljavax/swing/DefaultListModel;
12 16 6 i I
MethodParameters:
Name Flags
e
}
SourceFile: "PolicyTool.java"