Uses of Class javax.swing.Spring

Uses in package javax.swing

Constructors with parameter type javax.swing.Spring

Creates a new Constraints object.
Creates a new Constraints object.

Methods with parameter type javax.swing.Spring

Spring
Creates and returns a Spring, which always has the maximum values min = max(min_s1, min_s2), pref = max(pref_s1, pref_s2), max = max(max_s1, max_s2).
Spring
Creates and returns a Spring, which is always the negation of s.
void
Attaches the edge e1 of component c1 to the edge e2 of component c2 width the Spring s.
void
Sets a constraint for the specified edge.
void
Sets the height-constraint.
void
Sets the width-constraint.
void
Sets the WEST-constraint.
void
Sets the NORTH-constraint.
Spring
Creates and returns a Spring, which is always the sum of s1 and s2.

Methods with return type javax.swing.Spring

Spring
Spring.constant(int val)
Creates a Spring which min, pref and max values are all the same.
Spring
Spring.constant(int min, int pref, int max)
Creates a Spring which min, pref and max values are constants.
Spring
Returns the constraint for the edge with the edgeName.
Spring
Returns the constraint of the edge named by edgeName.
Spring
Returns the constraint for the height of the component.
Spring
Returns the constraint for the width of the component.
Spring
Returns the constraint for the left edge of the component.
Spring
Returns the constraint for the upper edge of the component.
Spring
Creates and returns a Spring, which always has the maximum values min = max(min_s1, min_s2), pref = max(pref_s1, pref_s2), max = max(max_s1, max_s2).
Spring
Creates and returns a Spring, which is always the negation of s.
Spring
Creates and returns a Spring, which is always the sum of s1 and s2.