class javax.swing.AncestorNotifier implements java.awt.event.ComponentListener, java.beans.PropertyChangeListener, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.AncestorNotifier
super_class: java.lang.Object
{
transient java.awt.Component firstInvisibleAncestor;
descriptor: Ljava/awt/Component;
flags: (0x0080) ACC_TRANSIENT
javax.swing.event.EventListenerList listenerList;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0000)
javax.swing.JComponent root;
descriptor: Ljavax/swing/JComponent;
flags: (0x0000)
void <init>(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
2: aload 0
aload 1
putfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
3: aload 0
aload 1
iconst_1
invokevirtual javax.swing.AncestorNotifier.addListeners:(Ljava/awt/Component;Z)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/AncestorNotifier;
0 5 1 root Ljavax/swing/JComponent;
MethodParameters:
Name Flags
root
void addAncestorListener(javax.swing.event.AncestorListener);
descriptor: (Ljavax/swing/event/AncestorListener;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/AncestorListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/AncestorNotifier;
0 2 1 l Ljavax/swing/event/AncestorListener;
MethodParameters:
Name Flags
l
void removeAncestorListener(javax.swing.event.AncestorListener);
descriptor: (Ljavax/swing/event/AncestorListener;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/AncestorListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/AncestorNotifier;
0 2 1 l Ljavax/swing/event/AncestorListener;
MethodParameters:
Name Flags
l
javax.swing.event.AncestorListener[] getAncestorListeners();
descriptor: ()[Ljavax/swing/event/AncestorListener;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/AncestorListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.AncestorListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/AncestorNotifier;
protected void fireAncestorAdded(javax.swing.JComponent, int, java.awt.Container, java.awt.Container);
descriptor: (Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aload 5
arraylength
iconst_2
isub
istore 6
start local 6 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 5
iload 6
aaload
ldc Ljavax/swing/event/AncestorListener;
if_acmpne 7
4: new javax.swing.event.AncestorEvent
dup
aload 1
iload 2
aload 3
aload 4
invokespecial javax.swing.event.AncestorEvent.<init>:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
5: astore 7
start local 7 6: aload 5
iload 6
iconst_1
iadd
aaload
checkcast javax.swing.event.AncestorListener
aload 7
invokeinterface javax.swing.event.AncestorListener.ancestorAdded:(Ljavax/swing/event/AncestorEvent;)V
end local 7 7: StackMap locals:
StackMap stack:
iinc 6 -2
StackMap locals:
StackMap stack:
8: iload 6
ifge 3
end local 6 9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/AncestorNotifier;
0 10 1 source Ljavax/swing/JComponent;
0 10 2 id I
0 10 3 ancestor Ljava/awt/Container;
0 10 4 ancestorParent Ljava/awt/Container;
1 10 5 listeners [Ljava/lang/Object;
2 9 6 i I
6 7 7 ancestorEvent Ljavax/swing/event/AncestorEvent;
MethodParameters:
Name Flags
source
id
ancestor
ancestorParent
protected void fireAncestorRemoved(javax.swing.JComponent, int, java.awt.Container, java.awt.Container);
descriptor: (Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aload 5
arraylength
iconst_2
isub
istore 6
start local 6 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 5
iload 6
aaload
ldc Ljavax/swing/event/AncestorListener;
if_acmpne 7
4: new javax.swing.event.AncestorEvent
dup
aload 1
iload 2
aload 3
aload 4
invokespecial javax.swing.event.AncestorEvent.<init>:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
5: astore 7
start local 7 6: aload 5
iload 6
iconst_1
iadd
aaload
checkcast javax.swing.event.AncestorListener
aload 7
invokeinterface javax.swing.event.AncestorListener.ancestorRemoved:(Ljavax/swing/event/AncestorEvent;)V
end local 7 7: StackMap locals:
StackMap stack:
iinc 6 -2
StackMap locals:
StackMap stack:
8: iload 6
ifge 3
end local 6 9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/AncestorNotifier;
0 10 1 source Ljavax/swing/JComponent;
0 10 2 id I
0 10 3 ancestor Ljava/awt/Container;
0 10 4 ancestorParent Ljava/awt/Container;
1 10 5 listeners [Ljava/lang/Object;
2 9 6 i I
6 7 7 ancestorEvent Ljavax/swing/event/AncestorEvent;
MethodParameters:
Name Flags
source
id
ancestor
ancestorParent
protected void fireAncestorMoved(javax.swing.JComponent, int, java.awt.Container, java.awt.Container);
descriptor: (Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.AncestorNotifier.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aload 5
arraylength
iconst_2
isub
istore 6
start local 6 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 5
iload 6
aaload
ldc Ljavax/swing/event/AncestorListener;
if_acmpne 7
4: new javax.swing.event.AncestorEvent
dup
aload 1
iload 2
aload 3
aload 4
invokespecial javax.swing.event.AncestorEvent.<init>:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
5: astore 7
start local 7 6: aload 5
iload 6
iconst_1
iadd
aaload
checkcast javax.swing.event.AncestorListener
aload 7
invokeinterface javax.swing.event.AncestorListener.ancestorMoved:(Ljavax/swing/event/AncestorEvent;)V
end local 7 7: StackMap locals:
StackMap stack:
iinc 6 -2
StackMap locals:
StackMap stack:
8: iload 6
ifge 3
end local 6 9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/AncestorNotifier;
0 10 1 source Ljavax/swing/JComponent;
0 10 2 id I
0 10 3 ancestor Ljava/awt/Container;
0 10 4 ancestorParent Ljava/awt/Container;
1 10 5 listeners [Ljava/lang/Object;
2 9 6 i I
6 7 7 ancestorEvent Ljavax/swing/event/AncestorEvent;
MethodParameters:
Name Flags
source
id
ancestor
ancestorParent
void removeAllListeners();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
invokevirtual javax.swing.AncestorNotifier.removeListeners:(Ljava/awt/Component;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/AncestorNotifier;
void addListeners(java.awt.Component, boolean);
descriptor: (Ljava/awt/Component;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
putfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
1: aload 1
astore 3
start local 3 2: goto 11
3: StackMap locals: java.awt.Component
StackMap stack:
iload 2
ifne 4
aload 3
aload 1
if_acmpeq 8
4: StackMap locals:
StackMap stack:
aload 3
aload 0
invokevirtual java.awt.Component.addComponentListener:(Ljava/awt/event/ComponentListener;)V
5: aload 3
instanceof javax.swing.JComponent
ifeq 8
6: aload 3
checkcast javax.swing.JComponent
astore 4
start local 4 7: aload 4
aload 0
invokevirtual javax.swing.JComponent.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Component.isVisible:()Z
ifeq 9
aload 3
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
ifnull 9
aload 3
instanceof java.awt.Window
ifeq 10
9: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 3
11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
ifnull 3
12: aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
instanceof java.awt.Window
ifeq 15
13: aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
invokevirtual java.awt.Component.isVisible:()Z
ifeq 15
14: aload 0
aconst_null
putfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
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 Ljavax/swing/AncestorNotifier;
0 16 1 ancestor Ljava/awt/Component;
0 16 2 addToFirst Z
2 16 3 a Ljava/awt/Component;
7 8 4 jAncestor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
ancestor
addToFirst
void removeListeners(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: goto 9
2: StackMap locals: java.awt.Component
StackMap stack:
aload 2
aload 0
invokevirtual java.awt.Component.removeComponentListener:(Ljava/awt/event/ComponentListener;)V
3: aload 2
instanceof javax.swing.JComponent
ifeq 6
4: aload 2
checkcast javax.swing.JComponent
astore 3
start local 3 5: aload 3
aload 0
invokevirtual javax.swing.JComponent.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
if_acmpeq 10
aload 2
instanceof java.awt.Window
ifeq 8
7: goto 10
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 2
StackMap locals:
StackMap stack:
9: aload 2
ifnonnull 2
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/AncestorNotifier;
0 11 1 ancestor Ljava/awt/Component;
1 11 2 a Ljava/awt/Component;
5 6 3 jAncestor Ljavax/swing/JComponent;
MethodParameters:
Name Flags
ancestor
public void componentResized(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
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 Ljavax/swing/AncestorNotifier;
0 1 1 e Ljava/awt/event/ComponentEvent;
MethodParameters:
Name Flags
e
public void componentMoved(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getComponent:()Ljava/awt/Component;
astore 2
start local 2 1: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
iconst_3
2: aload 2
checkcast java.awt.Container
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
3: invokevirtual javax.swing.AncestorNotifier.fireAncestorMoved:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/AncestorNotifier;
0 5 1 e Ljava/awt/event/ComponentEvent;
1 5 2 source Ljava/awt/Component;
MethodParameters:
Name Flags
e
public void componentShown(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getComponent:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
if_acmpne 7
2: aload 0
aload 2
iconst_0
invokevirtual javax.swing.AncestorNotifier.addListeners:(Ljava/awt/Component;Z)V
3: aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
ifnonnull 7
4: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
iconst_1
5: aload 2
checkcast java.awt.Container
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
6: invokevirtual javax.swing.AncestorNotifier.fireAncestorAdded:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
7: StackMap locals: java.awt.Component
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/AncestorNotifier;
0 8 1 e Ljava/awt/event/ComponentEvent;
1 8 2 ancestor Ljava/awt/Component;
MethodParameters:
Name Flags
e
public void componentHidden(java.awt.event.ComponentEvent);
descriptor: (Ljava/awt/event/ComponentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ComponentEvent.getComponent:()Ljava/awt/Component;
astore 2
start local 2 1: aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
ifnonnull 2
iconst_1
goto 3
StackMap locals: java.awt.Component
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 2
instanceof java.awt.Window
ifne 6
5: aload 0
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
invokevirtual javax.swing.AncestorNotifier.removeListeners:(Ljava/awt/Component;)V
6: StackMap locals: int
StackMap stack:
aload 0
aload 2
putfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
7: iload 3
ifeq 11
8: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
iconst_2
9: aload 2
checkcast java.awt.Container
aload 2
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
10: invokevirtual javax.swing.AncestorNotifier.fireAncestorRemoved:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/AncestorNotifier;
0 12 1 e Ljava/awt/event/ComponentEvent;
1 12 2 ancestor Ljava/awt/Component;
4 12 3 needsNotify Z
MethodParameters:
Name Flags
e
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 21
aload 2
ldc "parent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 2
ldc "ancestor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
2: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JComponent
astore 3
start local 3 3: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
ifnull 11
4: aload 3
aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
if_acmpne 21
5: aload 0
aload 3
iconst_0
invokevirtual javax.swing.AncestorNotifier.addListeners:(Ljava/awt/Component;Z)V
6: aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
ifnonnull 21
7: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
iconst_1
8: aload 3
aload 3
invokevirtual javax.swing.JComponent.getParent:()Ljava/awt/Container;
9: invokevirtual javax.swing.AncestorNotifier.fireAncestorAdded:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
10: goto 21
11: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 0
getfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
ifnonnull 12
iconst_1
goto 13
StackMap locals:
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 4
start local 4 14: aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
checkcast java.awt.Container
astore 5
start local 5 15: aload 0
aload 5
invokevirtual javax.swing.AncestorNotifier.removeListeners:(Ljava/awt/Component;)V
16: aload 0
aload 3
putfield javax.swing.AncestorNotifier.firstInvisibleAncestor:Ljava/awt/Component;
17: iload 4
ifeq 21
18: aload 0
aload 0
getfield javax.swing.AncestorNotifier.root:Ljavax/swing/JComponent;
iconst_2
19: aload 3
aload 5
20: invokevirtual javax.swing.AncestorNotifier.fireAncestorRemoved:(Ljavax/swing/JComponent;ILjava/awt/Container;Ljava/awt/Container;)V
end local 5 end local 4 end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/AncestorNotifier;
0 22 1 evt Ljava/beans/PropertyChangeEvent;
1 22 2 s Ljava/lang/String;
3 21 3 component Ljavax/swing/JComponent;
14 21 4 needsNotify Z
15 21 5 oldParent Ljava/awt/Container;
MethodParameters:
Name Flags
evt
}
SourceFile: "AncestorNotifier.java"