Example usage for Java javax.swing Spring fields, constructors, methods, implement or subclass
The text is from its open source code.
Spring | constant(int min, int pref, int max) Returns a spring whose minimum, preferred, and maximum values have the values: min , pref , and max respectively. |
Spring | constant(int pref) Returns a strut -- a spring whose minimum, preferred, and maximum values each have the value pref . |
Spring | max(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 . |
Spring | minus(Spring s) Returns -s : a spring running in the opposite direction to s . |
Spring | scale(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 . |
Spring | sum(Spring s1, Spring s2) Returns s1+s2 : a spring representing s1 and s2 in series. |