Example usage for Java javax.swing SpringLayout fields, constructors, methods, implement or subclass
The text is from its open source code.
String | NORTH Specifies the top edge of a component's bounding rectangle. |
String | SOUTH Specifies the bottom edge of a component's bounding rectangle. |
String | EAST Specifies the right edge of a component's bounding rectangle. |
String | WEST Specifies the left edge of a component's bounding rectangle. |
String | VERTICAL_CENTER Specifies the vertical center of a component's bounding rectangle. |
SpringLayout() Constructs a new SpringLayout . |
Spring | getConstraint(String edgeName, Component c) Returns the spring controlling the distance between the specified edge of the component and the top or left edge of its parent. |
Constraints | getConstraints(Component c) Returns the constraints for the specified component. |
void | putConstraint(String e1, Component c1, int pad, String e2, Component c2) Links edge e1 of component c1 to edge e2 of component c2 , with a fixed distance between the edges. |
void | putConstraint(String e1, Component c1, Spring s, String e2, Component c2) Links edge e1 of component c1 to edge e2 of component c2 . |
void | removeLayoutComponent(Component c) Removes the constraints associated with the specified component. |