public class javax.swing.SpringLayout implements java.awt.LayoutManager2
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.SpringLayout
super_class: java.lang.Object
{
private java.util.Map<java.awt.Component, javax.swing.SpringLayout$Constraints> componentConstraints;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;>;
private javax.swing.Spring cyclicReference;
descriptor: Ljavax/swing/Spring;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<javax.swing.Spring> cyclicSprings;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljavax/swing/Spring;>;
private java.util.Set<javax.swing.Spring> acyclicSprings;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljavax/swing/Spring;>;
public static final java.lang.String NORTH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "North"
public static final java.lang.String SOUTH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "South"
public static final java.lang.String EAST;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "East"
public static final java.lang.String WEST;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "West"
public static final java.lang.String HORIZONTAL_CENTER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "HorizontalCenter"
public static final java.lang.String VERTICAL_CENTER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "VerticalCenter"
public static final java.lang.String BASELINE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Baseline"
public static final java.lang.String WIDTH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Width"
public static final java.lang.String HEIGHT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Height"
private static java.lang.String[] ALL_HORIZONTAL;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] ALL_VERTICAL;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "West"
aastore
dup
iconst_1
ldc "Width"
aastore
dup
iconst_2
ldc "East"
aastore
dup
iconst_3
ldc "HorizontalCenter"
aastore
putstatic javax.swing.SpringLayout.ALL_HORIZONTAL:[Ljava/lang/String;
1: iconst_5
anewarray java.lang.String
dup
iconst_0
ldc "North"
aastore
dup
iconst_1
ldc "Height"
aastore
dup
iconst_2
ldc "South"
aastore
dup
iconst_3
ldc "VerticalCenter"
aastore
dup
iconst_4
ldc "Baseline"
aastore
putstatic javax.swing.SpringLayout.ALL_VERTICAL:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.swing.SpringLayout.componentConstraints:Ljava/util/Map;
2: aload 0
ldc -2147483648
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
putfield javax.swing.SpringLayout.cyclicReference:Ljavax/swing/Spring;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/SpringLayout;
private void resetCyclicStatuses();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield javax.swing.SpringLayout.cyclicSprings:Ljava/util/Set;
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield javax.swing.SpringLayout.acyclicSprings:Ljava/util/Set;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpringLayout;
private void setParent(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.SpringLayout.resetCyclicStatuses:()V
1: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 2
start local 2 2: aload 2
iconst_0
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout$Constraints.setX:(Ljavax/swing/Spring;)V
3: aload 2
iconst_0
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout$Constraints.setY:(Ljavax/swing/Spring;)V
4: aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
astore 3
start local 3 5: aload 3
instanceof javax.swing.Spring$WidthSpring
ifeq 7
aload 3
checkcast javax.swing.Spring$WidthSpring
getfield javax.swing.Spring$WidthSpring.c:Ljava/awt/Component;
aload 1
if_acmpne 7
6: aload 2
iconst_0
iconst_0
ldc 2147483647
invokestatic javax.swing.Spring.constant:(III)Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout$Constraints.setWidth:(Ljavax/swing/Spring;)V
7: StackMap locals: javax.swing.SpringLayout$Constraints javax.swing.Spring
StackMap stack:
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
astore 4
start local 4 8: aload 4
instanceof javax.swing.Spring$HeightSpring
ifeq 10
aload 4
checkcast javax.swing.Spring$HeightSpring
getfield javax.swing.Spring$HeightSpring.c:Ljava/awt/Component;
aload 1
if_acmpne 10
9: aload 2
iconst_0
iconst_0
ldc 2147483647
invokestatic javax.swing.Spring.constant:(III)Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout$Constraints.setHeight:(Ljavax/swing/Spring;)V
10: StackMap locals: javax.swing.Spring
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/SpringLayout;
0 11 1 p Ljava/awt/Container;
2 11 2 pc Ljavax/swing/SpringLayout$Constraints;
5 11 3 width Ljavax/swing/Spring;
8 11 4 height Ljavax/swing/Spring;
MethodParameters:
Name Flags
p
boolean isCyclic(javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;)Z
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpringLayout.cyclicSprings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpringLayout.acyclicSprings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpringLayout.cyclicSprings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: aload 1
aload 0
invokevirtual javax.swing.Spring.isCyclic:(Ljavax/swing/SpringLayout;)Z
istore 2
start local 2 8: iload 2
ifne 12
9: aload 0
getfield javax.swing.SpringLayout.acyclicSprings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getfield javax.swing.SpringLayout.cyclicSprings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
11: goto 13
12: StackMap locals: int
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is cyclic. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/SpringLayout;
0 14 1 s Ljavax/swing/Spring;
8 14 2 result Z
MethodParameters:
Name Flags
s
private javax.swing.Spring abandonCycles(javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;)Ljavax/swing/Spring;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.isCyclic:(Ljavax/swing/Spring;)Z
ifeq 1
aload 0
getfield javax.swing.SpringLayout.cyclicReference:Ljavax/swing/Spring;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: javax.swing.Spring
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpringLayout;
0 3 1 s Ljavax/swing/Spring;
MethodParameters:
Name Flags
s
public void addLayoutComponent(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpringLayout;
0 1 1 name Ljava/lang/String;
0 1 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
name
c
public void removeLayoutComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.SpringLayout.componentConstraints:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpringLayout;
0 2 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
private static java.awt.Dimension addInsets(int, int, java.awt.Container);
descriptor: (IILjava/awt/Container;)Ljava/awt/Dimension;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 1: new java.awt.Dimension
dup
iload 0
aload 3
getfield java.awt.Insets.left:I
iadd
aload 3
getfield java.awt.Insets.right:I
iadd
iload 1
aload 3
getfield java.awt.Insets.top:I
iadd
aload 3
getfield java.awt.Insets.bottom:I
iadd
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 width I
0 2 1 height I
0 2 2 p Ljava/awt/Container;
1 2 3 i Ljava/awt/Insets;
MethodParameters:
Name Flags
width
height
p
public java.awt.Dimension minimumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.setParent:(Ljava/awt/Container;)V
1: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getMinimumValue:()I
3: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getMinimumValue:()I
4: aload 1
5: invokestatic javax.swing.SpringLayout.addInsets:(IILjava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpringLayout;
0 6 1 parent Ljava/awt/Container;
2 6 2 pc Ljavax/swing/SpringLayout$Constraints;
MethodParameters:
Name Flags
parent
public java.awt.Dimension preferredLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.setParent:(Ljava/awt/Container;)V
1: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getPreferredValue:()I
3: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getPreferredValue:()I
4: aload 1
5: invokestatic javax.swing.SpringLayout.addInsets:(IILjava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpringLayout;
0 6 1 parent Ljava/awt/Container;
2 6 2 pc Ljavax/swing/SpringLayout$Constraints;
MethodParameters:
Name Flags
parent
public java.awt.Dimension maximumLayoutSize(java.awt.Container);
descriptor: (Ljava/awt/Container;)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.setParent:(Ljava/awt/Container;)V
1: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getMaximumValue:()I
3: aload 0
aload 2
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getMaximumValue:()I
4: aload 1
5: invokestatic javax.swing.SpringLayout.addInsets:(IILjava/awt/Container;)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpringLayout;
0 6 1 parent Ljava/awt/Container;
2 6 2 pc Ljavax/swing/SpringLayout$Constraints;
MethodParameters:
Name Flags
parent
public void addLayoutComponent(java.awt.Component, java.lang.Object);
descriptor: (Ljava/awt/Component;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof javax.swing.SpringLayout$Constraints
ifeq 2
1: aload 0
aload 1
aload 2
checkcast javax.swing.SpringLayout$Constraints
invokevirtual javax.swing.SpringLayout.putConstraints:(Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpringLayout;
0 3 1 component Ljava/awt/Component;
0 3 2 constraints Ljava/lang/Object;
MethodParameters:
Name Flags
component
constraints
public float getLayoutAlignmentX(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc 0.5
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpringLayout;
0 1 1 p Ljava/awt/Container;
MethodParameters:
Name Flags
p
public float getLayoutAlignmentY(java.awt.Container);
descriptor: (Ljava/awt/Container;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc 0.5
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpringLayout;
0 1 1 p Ljava/awt/Container;
MethodParameters:
Name Flags
p
public void invalidateLayout(java.awt.Container);
descriptor: (Ljava/awt/Container;)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/SpringLayout;
0 1 1 p Ljava/awt/Container;
MethodParameters:
Name Flags
p
public void putConstraint(java.lang.String, java.awt.Component, int, java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;ILjava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
aload 4
aload 5
invokevirtual javax.swing.SpringLayout.putConstraint:(Ljava/lang/String;Ljava/awt/Component;Ljavax/swing/Spring;Ljava/lang/String;Ljava/awt/Component;)V
1: 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 2 0 this Ljavax/swing/SpringLayout;
0 2 1 e1 Ljava/lang/String;
0 2 2 c1 Ljava/awt/Component;
0 2 3 pad I
0 2 4 e2 Ljava/lang/String;
0 2 5 c2 Ljava/awt/Component;
MethodParameters:
Name Flags
e1
c1
pad
e2
c2
public void putConstraint(java.lang.String, java.awt.Component, javax.swing.Spring, java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;Ljavax/swing/Spring;Ljava/lang/String;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 0
aload 4
aload 5
invokevirtual javax.swing.SpringLayout.getConstraint:(Ljava/lang/String;Ljava/awt/Component;)Ljavax/swing/Spring;
invokestatic javax.swing.Spring.sum:(Ljavax/swing/Spring;Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.putConstraint:(Ljava/lang/String;Ljava/awt/Component;Ljavax/swing/Spring;)V
1: 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 2 0 this Ljavax/swing/SpringLayout;
0 2 1 e1 Ljava/lang/String;
0 2 2 c1 Ljava/awt/Component;
0 2 3 s Ljavax/swing/Spring;
0 2 4 e2 Ljava/lang/String;
0 2 5 c2 Ljava/awt/Component;
MethodParameters:
Name Flags
e1
c1
s
e2
c2
private void putConstraint(java.lang.String, java.awt.Component, javax.swing.Spring);
descriptor: (Ljava/lang/String;Ljava/awt/Component;Ljavax/swing/Spring;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 2
1: aload 0
aload 2
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
aload 1
aload 3
invokevirtual javax.swing.SpringLayout$Constraints.setConstraint:(Ljava/lang/String;Ljavax/swing/Spring;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpringLayout;
0 3 1 e Ljava/lang/String;
0 3 2 c Ljava/awt/Component;
0 3 3 s Ljavax/swing/Spring;
MethodParameters:
Name Flags
e
c
s
private javax.swing.SpringLayout$Constraints applyDefaults(java.awt.Component, javax.swing.SpringLayout$Constraints);
descriptor: (Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)Ljavax/swing/SpringLayout$Constraints;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new javax.swing.SpringLayout$Constraints
dup
invokespecial javax.swing.SpringLayout$Constraints.<init>:()V
astore 2
2: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.SpringLayout$Constraints.c:Ljava/awt/Component;
ifnonnull 4
3: aload 2
aload 1
putfield javax.swing.SpringLayout$Constraints.c:Ljava/awt/Component;
4: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.SpringLayout$Constraints.horizontalHistory:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
if_icmpge 8
5: aload 0
aload 2
ldc "West"
iconst_0
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
ldc "Width"
6: aload 1
invokestatic javax.swing.Spring.width:(Ljava/awt/Component;)Ljavax/swing/Spring;
aload 2
getfield javax.swing.SpringLayout$Constraints.horizontalHistory:Ljava/util/List;
7: invokevirtual javax.swing.SpringLayout.applyDefaults:(Ljavax/swing/SpringLayout$Constraints;Ljava/lang/String;Ljavax/swing/Spring;Ljava/lang/String;Ljavax/swing/Spring;Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.SpringLayout$Constraints.verticalHistory:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
if_icmpge 12
9: aload 0
aload 2
ldc "North"
iconst_0
invokestatic javax.swing.Spring.constant:(I)Ljavax/swing/Spring;
ldc "Height"
10: aload 1
invokestatic javax.swing.Spring.height:(Ljava/awt/Component;)Ljavax/swing/Spring;
aload 2
getfield javax.swing.SpringLayout$Constraints.verticalHistory:Ljava/util/List;
11: invokevirtual javax.swing.SpringLayout.applyDefaults:(Ljavax/swing/SpringLayout$Constraints;Ljava/lang/String;Ljavax/swing/Spring;Ljava/lang/String;Ljavax/swing/Spring;Ljava/util/List;)V
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/SpringLayout;
0 13 1 c Ljava/awt/Component;
0 13 2 constraints Ljavax/swing/SpringLayout$Constraints;
MethodParameters:
Name Flags
c
constraints
private void applyDefaults(javax.swing.SpringLayout$Constraints, java.lang.String, javax.swing.Spring, java.lang.String, javax.swing.Spring, java.util.List<java.lang.String>);
descriptor: (Ljavax/swing/SpringLayout$Constraints;Ljava/lang/String;Ljavax/swing/Spring;Ljava/lang/String;Ljavax/swing/Spring;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 6
invokeinterface java.util.List.size:()I
ifne 4
1: aload 1
aload 2
aload 3
invokevirtual javax.swing.SpringLayout$Constraints.setConstraint:(Ljava/lang/String;Ljavax/swing/Spring;)V
2: aload 1
aload 4
aload 5
invokevirtual javax.swing.SpringLayout$Constraints.setConstraint:(Ljava/lang/String;Ljavax/swing/Spring;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual javax.swing.SpringLayout$Constraints.getConstraint:(Ljava/lang/String;)Ljavax/swing/Spring;
ifnonnull 7
5: aload 1
aload 4
aload 5
invokevirtual javax.swing.SpringLayout$Constraints.setConstraint:(Ljava/lang/String;Ljavax/swing/Spring;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokevirtual javax.swing.SpringLayout$Constraints.setConstraint:(Ljava/lang/String;Ljavax/swing/Spring;)V
8: StackMap locals:
StackMap stack:
aload 6
iconst_1
invokestatic java.util.Collections.rotate:(Ljava/util/List;I)V
9: StackMap locals:
StackMap stack:
return
end local 6 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/SpringLayout;
0 10 1 constraints Ljavax/swing/SpringLayout$Constraints;
0 10 2 name1 Ljava/lang/String;
0 10 3 spring1 Ljavax/swing/Spring;
0 10 4 name2 Ljava/lang/String;
0 10 5 spring2 Ljavax/swing/Spring;
0 10 6 history Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljavax/swing/SpringLayout$Constraints;Ljava/lang/String;Ljavax/swing/Spring;Ljava/lang/String;Ljavax/swing/Spring;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
constraints
name1
spring1
name2
spring2
history
private void putConstraints(java.awt.Component, javax.swing.SpringLayout$Constraints);
descriptor: (Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.SpringLayout.componentConstraints:Ljava/util/Map;
aload 1
aload 0
aload 1
aload 2
invokevirtual javax.swing.SpringLayout.applyDefaults:(Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)Ljavax/swing/SpringLayout$Constraints;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpringLayout;
0 2 1 component Ljava/awt/Component;
0 2 2 constraints Ljavax/swing/SpringLayout$Constraints;
MethodParameters:
Name Flags
component
constraints
public javax.swing.SpringLayout$Constraints getConstraints(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.SpringLayout.componentConstraints:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.SpringLayout$Constraints
astore 2
start local 2 1: aload 2
ifnonnull 8
2: aload 1
instanceof javax.swing.JComponent
ifeq 6
3: aload 1
checkcast javax.swing.JComponent
ldc Ljavax/swing/SpringLayout;
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 4: aload 3
instanceof javax.swing.SpringLayout$Constraints
ifeq 6
5: aload 0
aload 1
aload 3
checkcast javax.swing.SpringLayout$Constraints
invokevirtual javax.swing.SpringLayout.applyDefaults:(Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)Ljavax/swing/SpringLayout$Constraints;
areturn
end local 3 6: StackMap locals: javax.swing.SpringLayout$Constraints
StackMap stack:
new javax.swing.SpringLayout$Constraints
dup
invokespecial javax.swing.SpringLayout$Constraints.<init>:()V
astore 2
7: aload 0
aload 1
aload 2
invokevirtual javax.swing.SpringLayout.putConstraints:(Ljava/awt/Component;Ljavax/swing/SpringLayout$Constraints;)V
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/SpringLayout;
0 9 1 c Ljava/awt/Component;
1 9 2 result Ljavax/swing/SpringLayout$Constraints;
4 6 3 cp Ljava/lang/Object;
MethodParameters:
Name Flags
c
public javax.swing.Spring getConstraint(java.lang.String, java.awt.Component);
descriptor: (Ljava/lang/String;Ljava/awt/Component;)Ljavax/swing/Spring;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 1
1: new javax.swing.SpringLayout$SpringProxy
dup
aload 1
aload 2
aload 0
invokespecial javax.swing.SpringLayout$SpringProxy.<init>:(Ljava/lang/String;Ljava/awt/Component;Ljavax/swing/SpringLayout;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpringLayout;
0 2 1 edgeName Ljava/lang/String;
0 2 2 c Ljava/awt/Component;
MethodParameters:
Name Flags
edgeName
c
public void layoutContainer(java.awt.Container);
descriptor: (Ljava/awt/Container;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.setParent:(Ljava/awt/Container;)V
1: aload 1
invokevirtual java.awt.Container.getComponentCount:()I
istore 2
start local 2 2: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
invokevirtual javax.swing.SpringLayout$Constraints.reset:()V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
invokevirtual javax.swing.SpringLayout$Constraints.reset:()V
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 8: aload 1
invokevirtual java.awt.Container.getInsets:()Ljava/awt/Insets;
astore 3
start local 3 9: aload 0
aload 1
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 4
start local 4 10: aload 0
aload 4
invokevirtual javax.swing.SpringLayout$Constraints.getX:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
iconst_0
invokevirtual javax.swing.Spring.setValue:(I)V
11: aload 0
aload 4
invokevirtual javax.swing.SpringLayout$Constraints.getY:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
iconst_0
invokevirtual javax.swing.Spring.setValue:(I)V
12: aload 0
aload 4
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
aload 1
invokevirtual java.awt.Container.getWidth:()I
13: aload 3
getfield java.awt.Insets.left:I
isub
aload 3
getfield java.awt.Insets.right:I
isub
14: invokevirtual javax.swing.Spring.setValue:(I)V
15: aload 0
aload 4
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
aload 1
invokevirtual java.awt.Container.getHeight:()I
16: aload 3
getfield java.awt.Insets.top:I
isub
aload 3
getfield java.awt.Insets.bottom:I
isub
17: invokevirtual javax.swing.Spring.setValue:(I)V
18: iconst_0
istore 5
start local 5 19: goto 28
20: StackMap locals: javax.swing.SpringLayout java.awt.Container int java.awt.Insets javax.swing.SpringLayout$Constraints int
StackMap stack:
aload 1
iload 5
invokevirtual java.awt.Container.getComponent:(I)Ljava/awt/Component;
astore 6
start local 6 21: aload 0
aload 6
invokevirtual javax.swing.SpringLayout.getConstraints:(Ljava/awt/Component;)Ljavax/swing/SpringLayout$Constraints;
astore 7
start local 7 22: aload 0
aload 7
invokevirtual javax.swing.SpringLayout$Constraints.getX:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getValue:()I
istore 8
start local 8 23: aload 0
aload 7
invokevirtual javax.swing.SpringLayout$Constraints.getY:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getValue:()I
istore 9
start local 9 24: aload 0
aload 7
invokevirtual javax.swing.SpringLayout$Constraints.getWidth:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getValue:()I
istore 10
start local 10 25: aload 0
aload 7
invokevirtual javax.swing.SpringLayout$Constraints.getHeight:()Ljavax/swing/Spring;
invokevirtual javax.swing.SpringLayout.abandonCycles:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokevirtual javax.swing.Spring.getValue:()I
istore 11
start local 11 26: aload 6
aload 3
getfield java.awt.Insets.left:I
iload 8
iadd
aload 3
getfield java.awt.Insets.top:I
iload 9
iadd
iload 10
iload 11
invokevirtual java.awt.Component.setBounds:(IIII)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 27: iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
iload 2
if_icmplt 20
end local 5 29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavax/swing/SpringLayout;
0 30 1 parent Ljava/awt/Container;
2 30 2 n I
4 8 3 i I
9 30 3 insets Ljava/awt/Insets;
10 30 4 pc Ljavax/swing/SpringLayout$Constraints;
19 29 5 i I
21 27 6 c Ljava/awt/Component;
22 27 7 cc Ljavax/swing/SpringLayout$Constraints;
23 27 8 x I
24 27 9 y I
25 27 10 width I
26 27 11 height I
MethodParameters:
Name Flags
parent
}
SourceFile: "SpringLayout.java"
NestMembers:
javax.swing.SpringLayout$Constraints javax.swing.SpringLayout$Constraints$1 javax.swing.SpringLayout$Constraints$2 javax.swing.SpringLayout$SpringProxy
InnerClasses:
HeightSpring = javax.swing.Spring$HeightSpring of javax.swing.Spring
WidthSpring = javax.swing.Spring$WidthSpring of javax.swing.Spring
public Constraints = javax.swing.SpringLayout$Constraints of javax.swing.SpringLayout
private SpringProxy = javax.swing.SpringLayout$SpringProxy of javax.swing.SpringLayout