/[classpath]/classpath/javax/swing/SpringLayout.java
ViewVC logotype

Diff of /classpath/javax/swing/SpringLayout.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Sat Jul 2 20:32:49 2005 UTC revision 1.5 by trebligd, Thu Jul 21 14:59:31 2005 UTC
# Line 152  public class SpringLayout implements Lay Line 152  public class SpringLayout implements Lay
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.
# Line 246  public class SpringLayout implements Lay Line 246  public class SpringLayout implements Lay
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)
# Line 361  public class SpringLayout implements Lay Line 361  public class SpringLayout implements Lay
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    {    {
# Line 374  public class SpringLayout implements Lay Line 374  public class SpringLayout implements Lay
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     */     */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26