Java javax.swing Spring fields, constructors, methods, implement or subclass

Example usage for Java javax.swing Spring fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing Spring.

The text is from its open source code.

Subclass

javax.swing.Spring has subclasses.
Click this link to see all its subclasses.

Method

Springconstant(int min, int pref, int max)
Returns a spring whose minimum, preferred, and maximum values have the values: min, pref, and max respectively.
Springconstant(int pref)
Returns a strut -- a spring whose minimum, preferred, and maximum values each have the value pref.
Springmax(Spring s1, Spring s2)
Returns max(s1, s2) : a spring whose value is always greater than (or equal to) the values of both s1 and s2 .
Springminus(Spring s)
Returns -s : a spring running in the opposite direction to s .
Springscale(Spring s, float factor)
Returns a spring whose minimum, preferred, maximum and value properties are each multiples of the properties of the argument spring, s.
Springsum(Spring s1, Spring s2)
Returns s1+s2: a spring representing s1 and s2 in series.