< prev index next >

src/java.desktop/share/classes/javax/swing/event/MenuDragMouseEvent.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  24  */
  25 package javax.swing.event;
  26 
  27 import javax.swing.MenuElement;
  28 import javax.swing.MenuSelectionManager;
  29 import java.util.EventObject;
  30 import java.awt.event.MouseEvent;
  31 import java.awt.Component;
  32 
  33 
  34 /**
  35  * MenuDragMouseEvent is used to notify interested parties that
  36  * the menu element has received a MouseEvent forwarded to it
  37  * under drag conditions.
  38  * <p>
  39  * <strong>Warning:</strong>
  40  * Serialized objects of this class will not be compatible with
  41  * future Swing releases. The current serialization support is
  42  * appropriate for short term storage or RMI between applications running
  43  * the same version of Swing.  As of 1.4, support for long term storage
  44  * of all JavaBeans&trade;
  45  * has been added to the <code>java.beans</code> package.
  46  * Please see {@link java.beans.XMLEncoder}.
  47  *
  48  * @author Georges Saab
  49  */
  50 @SuppressWarnings("serial")
  51 public class MenuDragMouseEvent extends MouseEvent {
  52     private MenuElement[] path;
  53     private MenuSelectionManager manager;
  54 
  55     /**
  56      * Constructs a MenuDragMouseEvent object.
  57      * <p>Absolute coordinates xAbs and yAbs are set to source's location on screen plus
  58      * relative coordinates x and y. xAbs and yAbs are set to zero if the source is not showing.
  59      *
  60      * @param source        the Component that originated the event
  61      *                      (typically <code>this</code>)
  62      * @param id            an int specifying the type of event, as defined
  63      *                      in {@link java.awt.event.MouseEvent}
  64      * @param when          a long identifying the time the event occurred




  24  */
  25 package javax.swing.event;
  26 
  27 import javax.swing.MenuElement;
  28 import javax.swing.MenuSelectionManager;
  29 import java.util.EventObject;
  30 import java.awt.event.MouseEvent;
  31 import java.awt.Component;
  32 
  33 
  34 /**
  35  * MenuDragMouseEvent is used to notify interested parties that
  36  * the menu element has received a MouseEvent forwarded to it
  37  * under drag conditions.
  38  * <p>
  39  * <strong>Warning:</strong>
  40  * Serialized objects of this class will not be compatible with
  41  * future Swing releases. The current serialization support is
  42  * appropriate for short term storage or RMI between applications running
  43  * the same version of Swing.  As of 1.4, support for long term storage
  44  * of all JavaBeans
  45  * has been added to the <code>java.beans</code> package.
  46  * Please see {@link java.beans.XMLEncoder}.
  47  *
  48  * @author Georges Saab
  49  */
  50 @SuppressWarnings("serial")
  51 public class MenuDragMouseEvent extends MouseEvent {
  52     private MenuElement[] path;
  53     private MenuSelectionManager manager;
  54 
  55     /**
  56      * Constructs a MenuDragMouseEvent object.
  57      * <p>Absolute coordinates xAbs and yAbs are set to source's location on screen plus
  58      * relative coordinates x and y. xAbs and yAbs are set to zero if the source is not showing.
  59      *
  60      * @param source        the Component that originated the event
  61      *                      (typically <code>this</code>)
  62      * @param id            an int specifying the type of event, as defined
  63      *                      in {@link java.awt.event.MouseEvent}
  64      * @param when          a long identifying the time the event occurred


< prev index next >