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.
Spring
Spring.scale(Spring spring, float factor)
Return a new Spring which computes its values by scaling the values of another spring by a constant factor.
void
Sets a constraint for the specified edge.
void
Sets the EAST-constraint.
void
Sets the height-constraint.
void
Sets the SOUTH-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 right edge of the component.
Spring
Returns the constraint for the height of the component.
Spring
Returns the constraint for the lower edge 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
Spring.height(Component component)
Return a new Spring which takes its values from the specified 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
Spring.scale(Spring spring, float factor)
Return a new Spring which computes its values by scaling the values of another spring by a constant factor.
Spring
Creates and returns a Spring, which is always the sum of s1 and s2.
Spring
Spring.width(Component component)
Return a new Spring which takes its values from the specified Component.