SpringLayout.Constraints
Class SpringLayout.Constraints
- java.lang.Object
-
- javax.swing.SpringLayout.Constraints
- Enclosing class:
- SpringLayout
public static class SpringLayout.Constraints extends Object
A Constraints
object holds the constraints that govern the way a component's size and position change in a container controlled by a SpringLayout
. A Constraints
object is like a Rectangle
, in that it has x
, y
, width
, and height
properties. In the Constraints
object, however, these properties have Spring
values instead of integers. In addition, a Constraints
object can be manipulated as four e