public abstract class javax.swing.Spring
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.Spring
super_class: java.lang.Object
{
public static final int UNSET;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -2147483648
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/Spring;
public abstract int getMinimumValue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getPreferredValue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getMaximumValue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getValue();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setValue(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
value
private double range(boolean);
descriptor: (Z)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
invokevirtual javax.swing.Spring.getPreferredValue:()I
aload 0
invokevirtual javax.swing.Spring.getMinimumValue:()I
isub
goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.Spring.getMaximumValue:()I
aload 0
invokevirtual javax.swing.Spring.getPreferredValue:()I
isub
2: StackMap locals:
StackMap stack: int
i2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/Spring;
0 3 1 contract Z
MethodParameters:
Name Flags
contract
double getStrain();
descriptor: ()D
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.Spring.getValue:()I
aload 0
invokevirtual javax.swing.Spring.getPreferredValue:()I
isub
i2d
dstore 1
start local 1 1: dload 1
aload 0
aload 0
invokevirtual javax.swing.Spring.getValue:()I
aload 0
invokevirtual javax.swing.Spring.getPreferredValue:()I
if_icmpge 2
iconst_1
goto 3
StackMap locals: javax.swing.Spring double
StackMap stack: double javax.swing.Spring
2: iconst_0
StackMap locals: javax.swing.Spring double
StackMap stack: double javax.swing.Spring int
3: invokevirtual javax.swing.Spring.range:(Z)D
ddiv
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/Spring;
1 4 1 delta D
void setStrain(double);
descriptor: (D)V
flags: (0x0000)
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.swing.Spring.getPreferredValue:()I
dload 1
aload 0
dload 1
dconst_0
dcmpg
ifge 1
iconst_1
goto 2
StackMap locals: javax.swing.Spring double
StackMap stack: javax.swing.Spring int double javax.swing.Spring
1: iconst_0
StackMap locals: javax.swing.Spring double
StackMap stack: javax.swing.Spring int double javax.swing.Spring int
2: invokevirtual javax.swing.Spring.range:(Z)D
dmul
d2i
iadd
invokevirtual javax.swing.Spring.setValue:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/Spring;
0 4 1 strain D
MethodParameters:
Name Flags
strain
boolean isCyclic(javax.swing.SpringLayout);
descriptor: (Ljavax/swing/SpringLayout;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/Spring;
0 1 1 l Ljavax/swing/SpringLayout;
MethodParameters:
Name Flags
l
public static javax.swing.Spring constant(int);
descriptor: (I)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iload 0
iload 0
invokestatic javax.swing.Spring.constant:(III)Ljavax/swing/Spring;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pref I
MethodParameters:
Name Flags
pref
public static javax.swing.Spring constant(int, int, int);
descriptor: (III)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new javax.swing.Spring$StaticSpring
dup
iload 0
iload 1
iload 2
invokespecial javax.swing.Spring$StaticSpring.<init>:(III)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 min I
0 1 1 pref I
0 1 2 max I
MethodParameters:
Name Flags
min
pref
max
public static javax.swing.Spring minus(javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.swing.Spring$NegativeSpring
dup
aload 0
invokespecial javax.swing.Spring$NegativeSpring.<init>:(Ljavax/swing/Spring;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljavax/swing/Spring;
MethodParameters:
Name Flags
s
public static javax.swing.Spring sum(javax.swing.Spring, javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;Ljavax/swing/Spring;)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.Spring$SumSpring
dup
aload 0
aload 1
invokespecial javax.swing.Spring$SumSpring.<init>:(Ljavax/swing/Spring;Ljavax/swing/Spring;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s1 Ljavax/swing/Spring;
0 1 1 s2 Ljavax/swing/Spring;
MethodParameters:
Name Flags
s1
s2
public static javax.swing.Spring max(javax.swing.Spring, javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;Ljavax/swing/Spring;)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.Spring$MaxSpring
dup
aload 0
aload 1
invokespecial javax.swing.Spring$MaxSpring.<init>:(Ljavax/swing/Spring;Ljavax/swing/Spring;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s1 Ljavax/swing/Spring;
0 1 1 s2 Ljavax/swing/Spring;
MethodParameters:
Name Flags
s1
s2
static javax.swing.Spring difference(javax.swing.Spring, javax.swing.Spring);
descriptor: (Ljavax/swing/Spring;Ljavax/swing/Spring;)Ljavax/swing/Spring;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic javax.swing.Spring.minus:(Ljavax/swing/Spring;)Ljavax/swing/Spring;
invokestatic javax.swing.Spring.sum:(Ljavax/swing/Spring;Ljavax/swing/Spring;)Ljavax/swing/Spring;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s1 Ljavax/swing/Spring;
0 1 1 s2 Ljavax/swing/Spring;
MethodParameters:
Name Flags
s1
s2
public static javax.swing.Spring scale(javax.swing.Spring, float);
descriptor: (Ljavax/swing/Spring;F)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic javax.swing.Spring.checkArg:(Ljava/lang/Object;)V
1: new javax.swing.Spring$ScaleSpring
dup
aload 0
fload 1
invokespecial javax.swing.Spring$ScaleSpring.<init>:(Ljavax/swing/Spring;F)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljavax/swing/Spring;
0 2 1 factor F
MethodParameters:
Name Flags
s
factor
public static javax.swing.Spring width(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic javax.swing.Spring.checkArg:(Ljava/lang/Object;)V
1: new javax.swing.Spring$WidthSpring
dup
aload 0
invokespecial javax.swing.Spring$WidthSpring.<init>:(Ljava/awt/Component;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
public static javax.swing.Spring height(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljavax/swing/Spring;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic javax.swing.Spring.checkArg:(Ljava/lang/Object;)V
1: new javax.swing.Spring$HeightSpring
dup
aload 0
invokespecial javax.swing.Spring$HeightSpring.<init>:(Ljava/awt/Component;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
private static void checkArg(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Argument must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/Object;
MethodParameters:
Name Flags
s
}
SourceFile: "Spring.java"
NestMembers:
javax.swing.Spring$AbstractSpring javax.swing.Spring$CompoundSpring javax.swing.Spring$HeightSpring javax.swing.Spring$MaxSpring javax.swing.Spring$NegativeSpring javax.swing.Spring$ScaleSpring javax.swing.Spring$SpringMap javax.swing.Spring$StaticSpring javax.swing.Spring$SumSpring javax.swing.Spring$WidthSpring
InnerClasses:
abstract AbstractSpring = javax.swing.Spring$AbstractSpring of javax.swing.Spring
abstract CompoundSpring = javax.swing.Spring$CompoundSpring of javax.swing.Spring
HeightSpring = javax.swing.Spring$HeightSpring of javax.swing.Spring
private MaxSpring = javax.swing.Spring$MaxSpring of javax.swing.Spring
private NegativeSpring = javax.swing.Spring$NegativeSpring of javax.swing.Spring
private ScaleSpring = javax.swing.Spring$ScaleSpring of javax.swing.Spring
abstract SpringMap = javax.swing.Spring$SpringMap of javax.swing.Spring
private StaticSpring = javax.swing.Spring$StaticSpring of javax.swing.Spring
private SumSpring = javax.swing.Spring$SumSpring of javax.swing.Spring
WidthSpring = javax.swing.Spring$WidthSpring of javax.swing.Spring