152 |
/** |
/** |
153 |
* Returns the constraint for the edge with the <code>edgeName</code>. |
* Returns the constraint for the edge with the <code>edgeName</code>. |
154 |
* This is expected to be one of |
* This is expected to be one of |
155 |
* {@link #EAST}, {@link #WEST}, {@link NORTH} or {@link SOUTH}. |
* {@link #EAST}, {@link #WEST}, {@link #NORTH} or {@link #SOUTH}. |
156 |
* |
* |
157 |
* @param edgeName the name of the edge. |
* @param edgeName the name of the edge. |
158 |
* @return the constraint for the specified edge. |
* @return the constraint for the specified edge. |
246 |
* the mathematics still hold true. |
* the mathematics still hold true. |
247 |
* |
* |
248 |
* @param edgeName the name of the edge, one of {@link #EAST}, |
* @param edgeName the name of the edge, one of {@link #EAST}, |
249 |
* {@link #WEST}, {@link NORTH} or {@link SOUTH}. |
* {@link #WEST}, {@link #NORTH} or {@link #SOUTH}. |
250 |
* @param s the constraint to be set. |
* @param s the constraint to be set. |
251 |
*/ |
*/ |
252 |
public void setConstraint(String edgeName, Spring s) |
public void setConstraint(String edgeName, Spring s) |
361 |
* Method. This method does nothing, since SpringLayout does not manage |
* Method. This method does nothing, since SpringLayout does not manage |
362 |
* String-indexed components. |
* String-indexed components. |
363 |
* |
* |
364 |
* @param component the component to be added. |
* @param name the name. |
365 |
* @param constraint the constraint to be set. |
* @param c the component to be added. |
366 |
*/ |
*/ |
367 |
public void addLayoutComponent(String name, Component c) |
public void addLayoutComponent(String name, Component c) |
368 |
{ |
{ |
374 |
* |
* |
375 |
* @param c the component from which to get the constraint. |
* @param c the component from which to get the constraint. |
376 |
* @param edgeName the name of the edge, one of {@link #EAST}, |
* @param edgeName the name of the edge, one of {@link #EAST}, |
377 |
* {@link #WEST}, {@link NORTH} or {@link SOUTH}. |
* {@link #WEST}, {@link #NORTH} or {@link #SOUTH}. |
378 |
* @return the constraint of the edge <code>edgeName</code> of the |
* @return the constraint of the edge <code>edgeName</code> of the |
379 |
* component c. |
* component c. |
380 |
*/ |
*/ |