Returns the spring controlling the distance between
the specified edge of
the component and the top or left edge of its parent. This
method, instead of returning the current binding for the
edge, returns a proxy that tracks the characteristics
of the edge even if the edge is subsequently rebound.
Proxies are intended to be used in builder environments
where it is useful to allow the user to define the
constraints for a layout in any order. Proxies do, however,
provide the means to create cyclic dependencies amongst
the constraints of a layout. Such cycles are detected
internally by SpringLayout
so that
the layout operation always terminates.
edgeName | must be one of
SpringLayout.NORTH ,
SpringLayout.SOUTH ,
SpringLayout.EAST ,
SpringLayout.WEST ,
SpringLayout.VERTICAL_CENTER ,
SpringLayout.HORIZONTAL_CENTER or
SpringLayout.BASELINE | |
c | the component whose edge spring is desired |
NORTH, SOUTH, EAST, WEST, VERTICAL_CENTER, HORIZONTAL_CENTER, BASELINE
Diagram: Swing LayoutManager