[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: API doc fixes in javax.swing.plaf.basic.*
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: API doc fixes in javax.swing.plaf.basic.* |
Date: |
Fri, 22 Jul 2005 09:37:43 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this patch:
2005-07-22 David Gilbert <address@hidden>
* javax/swing/plaf/basic/BasicButtonUI.java: API doc fixes,
* javax/swing/plaf/basic/BasicRadioButtonUI.java: likewise,
* javax/swing/plaf/basic/BasicTreeUI.java: likewise.
Regards,
Dave Gilbert
Index: javax/swing/plaf/basic/BasicButtonUI.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicButtonUI.java,v
retrieving revision 1.21
diff -u -r1.21 BasicButtonUI.java
--- javax/swing/plaf/basic/BasicButtonUI.java 8 Jul 2005 15:24:08 -0000
1.21
+++ javax/swing/plaf/basic/BasicButtonUI.java 22 Jul 2005 08:33:30 -0000
@@ -337,8 +337,8 @@
/**
* Paints the background area of an address@hidden AbstractButton} in the
pressed
- * state. This means filling the supplied area with the address@hidden
- * pressedBackgroundColor}.
+ * state. This means filling the supplied area with the
+ * <code>pressedBackgroundColor</code>.
*
* @param g The graphics context to paint with
* @param b The button to paint the state of
@@ -374,7 +374,7 @@
/**
* Paints the "text" property of an address@hidden AbstractButton}, using the
- * address@hidden textColor} color.
+ * <code>textColor</code> color.
*
* @param g The graphics context to paint with
* @param c The component to paint the state of
@@ -389,7 +389,7 @@
/**
* Paints the "text" property of an address@hidden AbstractButton}, using the
- * address@hidden textColor} color.
+ * <code>textColor</code> color.
*
* @param g The graphics context to paint with
* @param b The button to paint the state of
Index: javax/swing/plaf/basic/BasicRadioButtonUI.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,v
retrieving revision 1.8
diff -u -r1.8 BasicRadioButtonUI.java
--- javax/swing/plaf/basic/BasicRadioButtonUI.java 21 Jul 2005 12:07:06
-0000 1.8
+++ javax/swing/plaf/basic/BasicRadioButtonUI.java 22 Jul 2005 08:33:31
-0000
@@ -52,7 +52,7 @@
/**
* The BasicLookAndFeel UI implementation for
- * address@hidden javax.swing.JRadioButtons}.
+ * address@hidden javax.swing.JRadioButton}s.
*/
public class BasicRadioButtonUI extends BasicToggleButtonUI
{
Index: javax/swing/plaf/basic/BasicTreeUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java,v
retrieving revision 1.46
diff -u -r1.46 BasicTreeUI.java
--- javax/swing/plaf/basic/BasicTreeUI.java 21 Jul 2005 14:37:26 -0000
1.46
+++ javax/swing/plaf/basic/BasicTreeUI.java 22 Jul 2005 08:33:34 -0000
@@ -60,9 +60,9 @@
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
-
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
+import java.util.Hashtable;
import javax.swing.AbstractAction;
import javax.swing.Action;
@@ -88,19 +88,16 @@
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.TreeUI;
import javax.swing.tree.AbstractLayoutCache;
-import javax.swing.tree.FixedHeightLayoutCache;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellEditor;
import javax.swing.tree.DefaultTreeCellRenderer;
+import javax.swing.tree.FixedHeightLayoutCache;
import javax.swing.tree.TreeCellEditor;
import javax.swing.tree.TreeCellRenderer;
-import javax.swing.tree.TreeSelectionModel;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreeNode;
import javax.swing.tree.TreePath;
-
-import java.util.Enumeration;
-import java.util.Hashtable;
+import javax.swing.tree.TreeSelectionModel;
/**
* A delegate providing the user interface for <code>JTree</code> according to
@@ -288,7 +285,7 @@
/**
* Sets the Hash color.
*
- * @param the <code>Color</code> to set the Hash to.
+ * @param color the <code>Color</code> to set the Hash to.
*/
protected void setHashColor(Color color)
{
@@ -1905,7 +1902,7 @@
*
* @param source that events are coming from
* @param destination that receives all events
- * @param event is the event received
+ * @param e is the event received
*/
public MouseInputHandler(Component source, Component destination,
MouseEvent e)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: API doc fixes in javax.swing.plaf.basic.*,
David Gilbert <=