This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gui] Patch: javax.swing.ToolTipManager


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch to reformat and fix comments in 
javax.swing.ToolTipManager.


Michael


2004-06-20  Michael Koch  <konqueror@gmx.de>

	* javax/swing/ToolTipManager.java: Reformatted.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA1aO/WSOgCCdjSDsRAlAXAJ0aH2pONltPK6b7W0icvMAUWXds+QCghAEI
v48I2xYYa4ISvvoR9zL7LSg=
=TWAA
-----END PGP SIGNATURE-----
Index: javax/swing/ToolTipManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/ToolTipManager.java,v
retrieving revision 1.2.8.1
diff -u -b -B -r1.2.8.1 ToolTipManager.java
--- javax/swing/ToolTipManager.java	18 Jun 2004 15:36:23 -0000	1.2.8.1
+++ javax/swing/ToolTipManager.java	20 Jun 2004 14:43:46 -0000
@@ -43,135 +43,86 @@
 import java.awt.event.MouseEvent;
 import java.awt.event.MouseMotionListener;
 
+
 /**
  * ToolTipManager
+ * 
  * @author	Andrew Selkirk
- * @version	1.0
  */
-public class ToolTipManager extends MouseAdapter implements MouseMotionListener {
-
-	//-------------------------------------------------------------
-	// Classes ----------------------------------------------------
-	//-------------------------------------------------------------
-
+public class ToolTipManager extends MouseAdapter
+  implements MouseMotionListener
+{
 	/**
 	 * stillInsideTimerAction
 	 */
-	protected class stillInsideTimerAction implements ActionListener {
-
-		//-------------------------------------------------------------
-		// Variables --------------------------------------------------
-		//-------------------------------------------------------------
-
-
-		//-------------------------------------------------------------
-		// Initialization ---------------------------------------------
-		//-------------------------------------------------------------
-
+  protected class stillInsideTimerAction
+    implements ActionListener
+  {
 		/**
 		 * Constructor stillInsideTimerAction
-		 * @param manager TODO
 		 */
-		protected stillInsideTimerAction() {
+    protected stillInsideTimerAction()
+    {
 			// TODO
-		} // stillInsideTimerAction()
-
-
-		//-------------------------------------------------------------
-		// Methods ----------------------------------------------------
-		//-------------------------------------------------------------
+    }
 
 		/**
 		 * actionPerformed
 		 * @param event TODO
 		 */
-		public void actionPerformed(ActionEvent event) {
+    public void actionPerformed(ActionEvent event)
+    {
 			// TODO
-		} // actionPerformed()
-
-
-	} // stillInsideTimerAction
+    }
+  }
 
 	/**
 	 * outsideTimerAction
 	 */
-	protected class outsideTimerAction implements ActionListener {
-
-		//-------------------------------------------------------------
-		// Variables --------------------------------------------------
-		//-------------------------------------------------------------
-
-
-		//-------------------------------------------------------------
-		// Initialization ---------------------------------------------
-		//-------------------------------------------------------------
-
+  protected class outsideTimerAction
+    implements ActionListener
+  {
 		/**
 		 * Constructor outsideTimerAction
-		 * @param manager TODO
 		 */
-		protected outsideTimerAction() {
+    protected outsideTimerAction()
+    {
 			// TODO
-		} // outsideTimerAction()
-
-
-		//-------------------------------------------------------------
-		// Methods ----------------------------------------------------
-		//-------------------------------------------------------------
+    }
 
 		/**
 		 * actionPerformed
 		 * @param value0 TODO
 		 */
-		public void actionPerformed(ActionEvent event) {
+    public void actionPerformed(ActionEvent event)
+    {
 			// TODO
-		} // actionPerformed()
-
-
-	} // outsideTimerAction
+    }
+  }
 
 	/**
 	 * insideTimerAction
 	 */
-	protected class insideTimerAction implements ActionListener {
-
-		//-------------------------------------------------------------
-		// Variables --------------------------------------------------
-		//-------------------------------------------------------------
-
-
-		//-------------------------------------------------------------
-		// Initialization ---------------------------------------------
-		//-------------------------------------------------------------
-
+  protected class insideTimerAction
+    implements ActionListener
+  {
 		/**
 		 * Constructor insideTimerAction
-		 * @param manager TODO
 		 */
-		protected insideTimerAction() {
+    protected insideTimerAction()
+    {
 			// TODO
-		} // insideTimerAction()
-
-
-		//-------------------------------------------------------------
-		// Methods ----------------------------------------------------
-		//-------------------------------------------------------------
+    }
 
 		/**
 		 * actionPerformed
 		 * @param event TODO
 		 */
-		public void actionPerformed(ActionEvent event) {
+    public void actionPerformed(ActionEvent event)
+    {
 			// TODO
-		} // actionPerformed()
-
-
-	} // insideTimerAction
-
-
-	//-------------------------------------------------------------
-	// Variables --------------------------------------------------
-	//-------------------------------------------------------------
+    }
+  }
 
 	/**
 	 * enterTimer
@@ -228,166 +179,173 @@
 	 */
 	protected boolean heavyWeightPopupEnabled;
 
-
-	//-------------------------------------------------------------
-	// Initialization ---------------------------------------------
-	//-------------------------------------------------------------
-
 	/**
 	 * Constructor ToolTipManager
 	 */
-	ToolTipManager() {
+  ToolTipManager()
+  {
 		// TODO
-	} // ToolTipManager()
-
-
-	//-------------------------------------------------------------
-	// Methods ----------------------------------------------------
-	//-------------------------------------------------------------
+  }
 
 	/**
 	 * sharedInstance
-	 * @returns ToolTipManager
+   * @return ToolTipManager
 	 */
-	public static ToolTipManager sharedInstance() {
+  public static ToolTipManager sharedInstance()
+  {
 		return null; // TODO
-	} // sharedInstance()
+  }
 
 	/**
 	 * setEnabled
 	 * @param enabled TODO
 	 */
-	public void setEnabled(boolean enabled) {
+  public void setEnabled(boolean enabled)
+  {
 		// TODO
-	} // setEnabled()
+  }
 
 	/**
 	 * isEnabled
-	 * @returns boolean
+   * @return boolean
 	 */
-	public boolean isEnabled() {
+  public boolean isEnabled()
+  {
 		return false; // TODO
-	} // isEnabled()
+  }
 
 	/**
 	 * isLightWeightPopupEnabled
-	 * @returns boolean
+   * @return boolean
 	 */
-	public boolean isLightWeightPopupEnabled() {
+  public boolean isLightWeightPopupEnabled()
+  {
 		return false; // TODO
-	} // isLightWeightPopupEnabled()
+  }
 
 	/**
 	 * setLightWeightPopupEnabled
 	 * @param enabled TODO
 	 */
-	public void setLightWeightPopupEnabled(boolean enabled) {
+  public void setLightWeightPopupEnabled(boolean enabled)
+  {
 		// TODO
-	} // setLightWeightPopupEnabled()
+  }
 
 	/**
 	 * getInitialDelay
-	 * @returns int
+   * @return int
 	 */
-	public int getInitialDelay() {
+  public int getInitialDelay()
+  {
 		return 0; // TODO
-	} // getInitialDelay()
+  }
 
 	/**
 	 * setInitialDelay
 	 * @param delay TODO
 	 */
-	public void setInitialDelay(int delay) {
+  public void setInitialDelay(int delay)
+  {
 		// TODO
-	} // setInitialDelay()
+  }
 
 	/**
 	 * getDismissDelay
-	 * @returns int
+   * @return int
 	 */
-	public int getDismissDelay() {
+  public int getDismissDelay()
+  {
 		return 0; // TODO
-	} // getDismissDelay()
+  }
 
 	/**
 	 * setDismissDelay
 	 * @param delay TODO
 	 */
-	public void setDismissDelay(int delay) {
+  public void setDismissDelay(int delay)
+  {
 		// TODO
-	} // setDismissDelay()
+  }
 
 	/**
 	 * getReshowDelay
-	 * @returns int
+   * @return int
 	 */
-	public int getReshowDelay() {
+  public int getReshowDelay()
+  {
 		return 0; // TODO
-	} // getReshowDelay()
+  }
 
 	/**
 	 * setReshowDelay
 	 * @param delay TODO
 	 */
-	public void setReshowDelay(int delay) {
+  public void setReshowDelay(int delay)
+  {
 		// TODO
-	} // setReshowDelay()
+  }
 
 	/**
 	 * registerComponent
 	 * @param component TODO
 	 */
-	public void registerComponent(JComponent component) {
+  public void registerComponent(JComponent component)
+  {
 		// TODO
-	} // registerComponent()
+  }
 
 	/**
 	 * unregisterComponent
 	 * @param component TODO
 	 */
-	public void unregisterComponent(JComponent component) {
+  public void unregisterComponent(JComponent component)
+  {
 		// TODO
-	} // unregisterComponent()
+  }
 
 	/**
 	 * mouseEntered
 	 * @param event TODO
 	 */
-	public void mouseEntered(MouseEvent event) {
+  public void mouseEntered(MouseEvent event)
+  {
 		// TODO
-	} // mouseEntered()
+  }
 
 	/**
 	 * mouseExited
 	 * @param event TODO
 	 */
-	public void mouseExited(MouseEvent event) {
+  public void mouseExited(MouseEvent event)
+  {
 		// TODO
-	} // mouseExited()
+  }
 
 	/**
 	 * mousePressed
 	 * @param event TODO
 	 */
-	public void mousePressed(MouseEvent event) {
+  public void mousePressed(MouseEvent event)
+  {
 		// TODO
-	} // mousePressed()
+  }
 
 	/**
 	 * mouseDragged
 	 * @param event TODO
 	 */
-	public void mouseDragged(MouseEvent event) {
+  public void mouseDragged(MouseEvent event)
+  {
 		// TODO
-	} // mouseDragged()
+  }
 
 	/**
 	 * mouseMoved
 	 * @param event TODO
 	 */
-	public void mouseMoved(MouseEvent event) {
+  public void mouseMoved(MouseEvent event)
+  {
 		// TODO
-	} // mouseMoved()
-
-
-} // ToolTipManager
+  }
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]