src/share/classes/java/awt/Event.java

Print this page




 507 //    public char keyChar;
 508 
 509     /**
 510      * The state of the modifier keys.
 511      * This is replaced with InputEvent.getModifiers()
 512      * In java 1.1 MouseEvent and KeyEvent are subclasses
 513      * of InputEvent.
 514      *
 515      * @serial
 516      * @see java.awt.event.InputEvent#getModifiers()
 517      */
 518     public int modifiers;
 519 
 520     /**
 521      * For <code>MOUSE_DOWN</code> events, this field indicates the
 522      * number of consecutive clicks. For other events, its value is
 523      * <code>0</code>.
 524      * This field has been replaced by MouseEvent.getClickCount().
 525      *
 526      * @serial
 527      * @see java.awt.event.MouseEvent#getClickCount().
 528      */
 529     public int clickCount;
 530 
 531     /**
 532      * An arbitrary argument of the event. The value of this field
 533      * depends on the type of event.
 534      * <code>arg</code> has been replaced by event specific property.
 535      *
 536      * @serial
 537      */
 538     public Object arg;
 539 
 540     /**
 541      * The next event. This field is set when putting events into a
 542      * linked list.
 543      * This has been replaced by EventQueue.
 544      *
 545      * @serial
 546      * @see java.awt.EventQueue
 547      */




 507 //    public char keyChar;
 508 
 509     /**
 510      * The state of the modifier keys.
 511      * This is replaced with InputEvent.getModifiers()
 512      * In java 1.1 MouseEvent and KeyEvent are subclasses
 513      * of InputEvent.
 514      *
 515      * @serial
 516      * @see java.awt.event.InputEvent#getModifiers()
 517      */
 518     public int modifiers;
 519 
 520     /**
 521      * For <code>MOUSE_DOWN</code> events, this field indicates the
 522      * number of consecutive clicks. For other events, its value is
 523      * <code>0</code>.
 524      * This field has been replaced by MouseEvent.getClickCount().
 525      *
 526      * @serial
 527      * @see java.awt.event.MouseEvent#getClickCount()
 528      */
 529     public int clickCount;
 530 
 531     /**
 532      * An arbitrary argument of the event. The value of this field
 533      * depends on the type of event.
 534      * <code>arg</code> has been replaced by event specific property.
 535      *
 536      * @serial
 537      */
 538     public Object arg;
 539 
 540     /**
 541      * The next event. This field is set when putting events into a
 542      * linked list.
 543      * This has been replaced by EventQueue.
 544      *
 545      * @serial
 546      * @see java.awt.EventQueue
 547      */