Imported GNU Classpath 0.90

Imported GNU Classpath 0.90
       * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
       * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
       * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
       * java/lang/Math.java: New override file.
       * java/lang/Character.java: Merged from Classpath.
       (start, end): Now 'int's.
       (canonicalName): New field.
       (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
       (UnicodeBlock): Added argument.
       (of): New overload.
       (forName): New method.
       Updated unicode blocks.
       (sets): Updated.
       * sources.am: Regenerated.
       * Makefile.in: Likewise.

From-SVN: r111942
This commit is contained in:
Mark Wielaard 2006-03-10 21:46:48 +00:00
parent 27079765d0
commit 8aa540d2f7
1367 changed files with 188789 additions and 22762 deletions

View file

@ -1,5 +1,5 @@
/* SpringLayout.java --
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -149,6 +149,25 @@ public class SpringLayout implements LayoutManager2
east = south = null;
}
/**
* Create a new Constraints object which tracks the indicated
* component. The x and y positions for this Constraints object
* are constant Springs created with the component's location at
* the time this constructor is called. The width and height
* of this Constraints are Springs created using
* {@link Spring#width(Component)} and {@link Spring#height(Component)},
* respectively.
* @param component the component to track
* @since 1.5
*/
public Constraints(Component component)
{
this(Spring.constant(component.getX()),
Spring.constant(component.getY()),
Spring.width(component),
Spring.height(component));
}
/**
* Returns the constraint for the edge with the <code>edgeName</code>.
* This is expected to be one of
@ -343,8 +362,8 @@ public class SpringLayout implements LayoutManager2
/**
* Adds a layout component and a constraint object to this layout.
* This method is usually only called by a {@java.awt.Container}s add
* Method.
* This method is usually only called by a {@link java.awt.Container}s add
* method.
*
* @param component the component to be added.
* @param constraint the constraint to be set.
@ -357,8 +376,8 @@ public class SpringLayout implements LayoutManager2
/**
* Adds a layout component and a constraint object to this layout.
* This method is usually only called by a {@java.awt.Container}s add
* Method. This method does nothing, since SpringLayout does not manage
* This method is usually only called by a {@link java.awt.Container}s add
* method. This method does nothing, since SpringLayout does not manage
* String-indexed components.
*
* @param name the name.