[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: API doc fixes in javax.swing.text.*
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: API doc fixes in javax.swing.text.* |
Date: |
Tue, 26 Jul 2005 09:01:02 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this patch:
2005-07-26 David Gilbert <address@hidden>
* javax/swing/text/DateFormatter.java: API doc fixes,
* javax/swing/text/InternationalFormatter.java: likewise,
* javax/swing/text/JTextComponent.java: likewise.
Regards,
Dave Gilbert
Index: javax/swing/text/DateFormatter.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/DateFormatter.java,v
retrieving revision 1.2
diff -u -r1.2 DateFormatter.java
--- javax/swing/text/DateFormatter.java 2 Jul 2005 20:32:51 -0000 1.2
+++ javax/swing/text/DateFormatter.java 26 Jul 2005 07:56:55 -0000
@@ -54,7 +54,7 @@
/**
* Creates a new instance using the default address@hidden DateFormat} object
- * returned by address@hidden DateFormat#getDateInstance}.
+ * returned by address@hidden DateFormat#getDateInstance()}.
*/
public DateFormatter()
{
Index: javax/swing/text/InternationalFormatter.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/text/InternationalFormatter.java,v
retrieving revision 1.3
diff -u -r1.3 InternationalFormatter.java
--- javax/swing/text/InternationalFormatter.java 2 Jul 2005 20:32:51
-0000 1.3
+++ javax/swing/text/InternationalFormatter.java 26 Jul 2005 07:56:56
-0000
@@ -214,7 +214,7 @@
/**
* Converts a value object into a String. This is done by invoking
- * address@hidden Format#format} on the specified <code>Format</code> object.
+ * address@hidden Format#format(Object)} on the specified
<code>Format</code> object.
* If no format is set, then address@hidden
DefaultFormatter#valueToString(Object)}
* is called as a fallback.
*
Index: javax/swing/text/JTextComponent.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/JTextComponent.java,v
retrieving revision 1.35
diff -u -r1.35 JTextComponent.java
--- javax/swing/text/JTextComponent.java 13 Jul 2005 23:22:31 -0000
1.35
+++ javax/swing/text/JTextComponent.java 26 Jul 2005 07:56:56 -0000
@@ -96,7 +96,6 @@
/**
* Constructor AccessibleJTextComponent
- * @param component TODO
*/
public AccessibleJTextComponent()
{
@@ -712,8 +711,8 @@
* @return A Keymap associated with the provided name, or
* <code>null</code> if no such Keymap exists
*
- * @see #addKeymap()
- * @see #removeKeymap()
+ * @see #addKeymap
+ * @see #removeKeymap
* @see #keymaps
*/
public static Keymap getKeymap(String n)
@@ -728,7 +727,7 @@
*
* @return The keymap removed from the global table
*
- * @see #addKeymap()
+ * @see #addKeymap
* @see #getKeymap()
* @see #keymaps
*/
@@ -751,7 +750,7 @@
*
* @return The newly created Keymap
*
- * @see #removeKeymap()
+ * @see #removeKeymap
* @see #getKeymap()
* @see #keymaps
*/
@@ -769,7 +768,7 @@
*
* @return The component's current Keymap
*
- * @see #setKeymap()
+ * @see #setKeymap
* @see #keymap
*/
public Keymap getKeymap()
@@ -901,8 +900,8 @@
* @param actions The set of actions to resolve binding names against
*
* @see Action#NAME
- * @see Action#getValue()
- * @see KeyBinding#ActionName
+ * @see Action#getValue
+ * @see KeyBinding#actionName
*/
public static void loadKeymap(Keymap map,
JTextComponent.KeyBinding[] bindings,
@@ -921,12 +920,12 @@
* editor can run. Equivalent to calling
* <code>getUI().getEditorKit().getActions()</code>. This set of Actions
* is a reasonable value to provide as a parameter to address@hidden
- * #loadKeymap()}, when resolving a set of address@hidden #KeyBinding}
objects
+ * #loadKeymap}, when resolving a set of address@hidden KeyBinding} objects
* against this component.
*
* @return The set of available Actions on this component's address@hidden
EditorKit}
*
- * @see TextUI#getEditorKit()
+ * @see TextUI#getEditorKit
* @see EditorKit#getActions()
*/
public Action[] getActions()
@@ -1122,7 +1121,7 @@
/**
* This method sets the label's UI delegate.
*
- * @param ui The label's UI delegate.
+ * @param newUI The label's UI delegate.
*/
public void setUI(TextUI newUI)
{
@@ -1360,7 +1359,7 @@
/**
* Selects the text from the given postion to the selection end position.
*
- * @param end the start positon of the selected text.
+ * @param start the start positon of the selected text.
*/
public void setSelectionStart(int start)
{
@@ -1391,7 +1390,7 @@
* Selects a part of the content of the text component.
*
* @param start the start position of the selected text
- * @param ent the end position of the selected text
+ * @param end the end position of the selected text
*/
public void select(int start, int end)
{
@@ -1635,7 +1634,7 @@
*
* @throws IOException if the reader throws it.
*
- * @see getDocument()
+ * @see #getDocument()
* @see Document#getProperty(Object)
*/
public void read(Reader input, Object streamDescription)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: API doc fixes in javax.swing.text.*,
David Gilbert <=