/[classpath]/classpath/java/awt/Container.java
ViewVC logotype

Diff of /classpath/java/awt/Container.java

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

revision 1.53 by mark, Sat Jul 2 20:32:24 2005 UTC revision 1.54 by trebligd, Wed Jul 6 08:15:17 2005 UTC
# Line 269  public class Container extends Component Line 269  public class Container extends Component
269     *     *
270     * @return The same component that was added.     * @return The same component that was added.
271     *     *
272     * @throws ArrayIndexOutOfBounds If the specified index is invalid.     * @throws ArrayIndexOutOfBoundsException If the specified index is invalid.
273     */     */
274    public Component add(Component comp, int index)    public Component add(Component comp, int index)
275    {    {
# Line 300  public class Container extends Component Line 300  public class Container extends Component
300     * @param index The index in the component list to insert this child     * @param index The index in the component list to insert this child
301     * at, or -1 to add at the end of the list.     * at, or -1 to add at the end of the list.
302     *     *
303     * @throws ArrayIndexOutOfBounds If the specified index is invalid.     * @throws ArrayIndexOutOfBoundsException If the specified index is invalid.
304     */     */
305    public void add(Component comp, Object constraints, int index)    public void add(Component comp, Object constraints, int index)
306    {    {
# Line 320  public class Container extends Component Line 320  public class Container extends Component
320     * @param index The index in the component list to insert this child     * @param index The index in the component list to insert this child
321     * at, or -1 to add at the end of the list.     * at, or -1 to add at the end of the list.
322     *     *
323     * @throws ArrayIndexOutOfBounds If the specified index is invalid.     * @throws ArrayIndexOutOfBoundsException If the specified index is invalid.
324     */     */
325    protected void addImpl(Component comp, Object constraints, int index)    protected void addImpl(Component comp, Object constraints, int index)
326    {    {
# Line 436  public class Container extends Component Line 436  public class Container extends Component
436    /**    /**
437     * Removes the specified component from this container.     * Removes the specified component from this container.
438     *     *
439     * @return component The component to remove from this container.     * @param comp The component to remove from this container.
440     */     */
441    public void remove(Component comp)    public void remove(Component comp)
442    {    {
# Line 1367  public class Container extends Component Line 1367  public class Container extends Component
1367     * however, ContainerOrderFocusTraversalPolicy is in effect, and it     * however, ContainerOrderFocusTraversalPolicy is in effect, and it
1368     * supports implicit down-cycle traversal operations.     * supports implicit down-cycle traversal operations.
1369     *     *
1370     * @return true if this is a focus cycle root, false otherwise     * @param focusCycleRoot true if this is a focus cycle root, false otherwise
1371     *     *
1372     * @since 1.4     * @since 1.4
1373     */     */

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

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