diff --git a/src/share/classes/javax/accessibility/Accessible.java b/src/share/classes/javax/accessibility/Accessible.java index 0a22e5578b07c8b96a3205d6fd2239d8160bdac6..c7793715a8464d40a52acd70a7cc505da8f4adbe 100644 --- a/src/share/classes/javax/accessibility/Accessible.java +++ b/src/share/classes/javax/accessibility/Accessible.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -45,6 +45,7 @@ public interface Accessible { * of an object that implements Accessible, and that subclass * is not Accessible, the developer should override the * getAccessibleContext method to return null. + * @return the AccessibleContext associated with this object */ public AccessibleContext getAccessibleContext(); } diff --git a/src/share/classes/javax/accessibility/AccessibleBundle.java b/src/share/classes/javax/accessibility/AccessibleBundle.java index 282cc2afbe053dae14c7273efd43f492dd57e816..65ce81bed6f9806f49d77e1f0842573660cb9d18 100644 --- a/src/share/classes/javax/accessibility/AccessibleBundle.java +++ b/src/share/classes/javax/accessibility/AccessibleBundle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -53,6 +53,9 @@ public abstract class AccessibleBundle { private final String defaultResourceBundleName = "com.sun.accessibility.internal.resources.accessibility"; + /** + * Construct an {@code AccessibleBundle}. + */ public AccessibleBundle() { } diff --git a/src/share/classes/javax/accessibility/AccessibleExtendedTable.java b/src/share/classes/javax/accessibility/AccessibleExtendedTable.java index 485d68daa59de398be7933915d91f1bd25b37035..87385639db154beab53772325326d71d057ff943 100644 --- a/src/share/classes/javax/accessibility/AccessibleExtendedTable.java +++ b/src/share/classes/javax/accessibility/AccessibleExtendedTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -60,7 +60,7 @@ public interface AccessibleExtendedTable extends AccessibleTable { */ public int getAccessibleColumn(int index); - /* + /** * Returns the index at a row and column in the table. * * @param r zero-based row of the table diff --git a/src/share/classes/javax/accessibility/AccessibleRelationSet.java b/src/share/classes/javax/accessibility/AccessibleRelationSet.java index d6b0ece3da20a2198d018eb73210867125630e0d..e1409089fb902a869cf81357749b782e84ad2d96 100644 --- a/src/share/classes/javax/accessibility/AccessibleRelationSet.java +++ b/src/share/classes/javax/accessibility/AccessibleRelationSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -163,6 +163,7 @@ public class AccessibleRelationSet { /** * Returns the number of relations in the relation set. + * @return the number of relations in the relation set */ public int size() { if (relations == null) { diff --git a/src/share/classes/javax/accessibility/AccessibleTable.java b/src/share/classes/javax/accessibility/AccessibleTable.java index c1921aa823fe2a9de7b0c036cf9c63b359d2a324..74c7a03dc0d17522aa6986120de9072af7435dd9 100644 --- a/src/share/classes/javax/accessibility/AccessibleTable.java +++ b/src/share/classes/javax/accessibility/AccessibleTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -90,6 +90,8 @@ public interface AccessibleTable { * Returns the number of rows occupied by the Accessible at * a specified row and column in the table. * + * @param r zero-based row of the table + * @param c zero-based column of the table * @return the number of rows occupied by the Accessible at a * given specified (row, column) */ @@ -99,6 +101,8 @@ public interface AccessibleTable { * Returns the number of columns occupied by the Accessible at * a specified row and column in the table. * + * @param r zero-based row of the table + * @param c zero-based column of the table * @return the number of columns occupied by the Accessible at a * given specified row and column */ diff --git a/src/share/classes/javax/accessibility/AccessibleTableModelChange.java b/src/share/classes/javax/accessibility/AccessibleTableModelChange.java index 43bb28c6bd291aa0ac6d1d59f74bedf409fb95ca..03cdf9ab66675527b70035936f173ce162673e4e 100644 --- a/src/share/classes/javax/accessibility/AccessibleTableModelChange.java +++ b/src/share/classes/javax/accessibility/AccessibleTableModelChange.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -71,8 +71,8 @@ public interface AccessibleTableModelChange { public static final int DELETE = -1; /** - * Returns the type of event - * + * Returns the type of event. + * @return the type of event * @see #INSERT * @see #UPDATE * @see #DELETE @@ -81,21 +81,25 @@ public interface AccessibleTableModelChange { /** * Returns the first row that changed. + * @return the first row that changed */ public int getFirstRow(); /** * Returns the last row that changed. + * @return the last row that changed */ public int getLastRow(); /** * Returns the first column that changed. + * @return the first column that changed */ public int getFirstColumn(); /** * Returns the last column that changed. + * @return the last column that changed */ public int getLastColumn(); } diff --git a/src/share/classes/javax/accessibility/AccessibleTextSequence.java b/src/share/classes/javax/accessibility/AccessibleTextSequence.java index 58af80b3be5c430daa87de654648327110c80bd2..cc70970af77ab5d3535f55bc837d5fdcd7a91932 100644 --- a/src/share/classes/javax/accessibility/AccessibleTextSequence.java +++ b/src/share/classes/javax/accessibility/AccessibleTextSequence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -49,7 +49,7 @@ package javax.accessibility; */ public class AccessibleTextSequence { - /* The start index of the text sequence */ + /** The start index of the text sequence */ public int startIndex; /** The end index of the text sequence */ diff --git a/src/share/classes/javax/accessibility/AccessibleValue.java b/src/share/classes/javax/accessibility/AccessibleValue.java index 5108428f9336f76893f9b0d8c06e312fb1ae9671..448eaac4f374304d74cc4c2ff0c685cf46517562 100644 --- a/src/share/classes/javax/accessibility/AccessibleValue.java +++ b/src/share/classes/javax/accessibility/AccessibleValue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -60,6 +60,7 @@ public interface AccessibleValue { /** * Set the value of this object as a Number. * + * @param n the number to use for the value * @return True if the value was set; else False * @see #getCurrentAccessibleValue */