Class EventID

java.lang.Object
com.sun.java.accessibility.util.EventID

public class EventID extends Object
EventID contains integer constants that map to event support in AWT and Swing. They are used by primarily by AWTEventMonitor, AWTEventsListener, SwingEventMonitor, and SwingEventListener, but can be freely used by any other class.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Maps to AWT Action support (i.e., ActionListener and ActionEvent)
    static final int
    Maps to AWT Adjustment support (i.e., AdjustmentListener and AdjustmentEvent)
    static final int
    Maps to Swing Ancestor support (i.e., AncestorListener and AncestorEvent)
    static final int
    Maps to Swing Text Caret support (i.e., CaretListener and CaretEvent)
    static final int
    Maps to Swing CellEditor support (i.e., CellEditorListener and CellEditorEvent)
    static final int
    Maps to Swing Change support (i.e., ChangeListener and ChangeEvent)
    static final int
    Maps to Swing TableColumnModel support (i.e., TableColumnModelListener and TableColumnModelEvent)
    static final int
    Maps to AWT Component support (i.e., ComponentListener and ComponentEvent)
    static final int
    Maps to AWT Container support (i.e., ContainerListener and ContainerEvent)
    static final int
    Maps to Swing Document support (i.e., DocumentListener and DocumentEvent)
    static final int
    Maps to AWT Focus support (i.e., FocusListener and FocusEvent)
    static final int
    Maps to Swing InternalFrame support (i.e., InternalFrameListener)
    static final int
    Maps to AWT Item support (i.e., ItemListener and ItemEvent)
    static final int
    Maps to AWT Key support (i.e., KeyListener and KeyEvent)
    static final int
    Maps to Swing ListData support (i.e., ListDataListener and ListDataEvent)
    static final int
    Maps to Swing ListSelection support (i.e., ListSelectionListener and ListSelectionEvent)
    static final int
    Maps to Swing Menu support (i.e., MenuListener and MenuEvent)
    static final int
    Maps to AWT MouseMotion support (i.e., MouseMotionListener and MouseMotionEvent)
    static final int
    Maps to AWT Mouse support (i.e., MouseListener and MouseEvent)
    static final int
    Maps to Swing PopupMenu support (i.e., PopupMenuListener and PopupMenuEvent)
    static final int
    Maps to Beans PropertyChange support (i.e., PropertyChangeListener and PropertyChangeEvent)
    static final int
    Maps to Swing TableModel support (i.e., TableModelListener and TableModelEvent)
    static final int
    Maps to AWT Text support (i.e., TextListener and TextEvent)
    static final int
    Maps to Swing TreeExpansion support (i.e., TreeExpansionListener and TreeExpansionEvent)
    static final int
    Maps to Swing TreeModel support (i.e., TreeModelListener and TreeModelEvent)
    static final int
    Maps to Swing TreeSelection support (i.e., TreeSelectionListener and TreeSelectionEvent)
    static final int
    Maps to Swing UndoableEdit support (i.e., UndoableEditListener and UndoableEditEvent)
    static final int
    Maps to Beans VetoableChange support (i.e., VetoableChangeListener and VetoableChangeEvent)
    static final int
    Maps to AWT Window support (i.e., WindowListener and WindowEvent)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an EventID.
  • Method Summary

    Methods declared in class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    Modifier and Type
    Method
    Description
    protected Object
    Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
    boolean
    Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.
    protected void
    Deprecated, for removal: This API element is subject to removal in a future version.
    May cause performance issues, deadlocks and hangs.
    final Class<? extends Object>
    Answers the unique instance of java.lang.Class which represents the class of the receiver.
    int
    Answers an integer hash code for the receiver.
    final void
    Causes one thread which is waiting on the receiver to be made ready to run.
    final void
    Causes all threads which are waiting on the receiver to be made ready to run.
    Answers a string containing a concise, human-readable description of the receiver.
    final void
    Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated by notify or notifyAll).
    final void
    wait(long time)
    Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated by notify or notifyAll) or the expiration of the timeout.
    final void
    wait(long time, int frac)
    Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated by notify or notifyAll) or the expiration of the timeout.
  • Field Details

    • ACTION

      public static final int ACTION
      Maps to AWT Action support (i.e., ActionListener and ActionEvent)
      See Also:
    • ADJUSTMENT

      public static final int ADJUSTMENT
      Maps to AWT Adjustment support (i.e., AdjustmentListener and AdjustmentEvent)
      See Also:
    • COMPONENT

      public static final int COMPONENT
      Maps to AWT Component support (i.e., ComponentListener and ComponentEvent)
      See Also:
    • CONTAINER

      public static final int CONTAINER
      Maps to AWT Container support (i.e., ContainerListener and ContainerEvent)
      See Also:
    • FOCUS

      public static final int FOCUS
      Maps to AWT Focus support (i.e., FocusListener and FocusEvent)
      See Also:
    • ITEM

      public static final int ITEM
      Maps to AWT Item support (i.e., ItemListener and ItemEvent)
      See Also:
    • KEY

      public static final int KEY
      Maps to AWT Key support (i.e., KeyListener and KeyEvent)
      See Also:
    • MOUSE

      public static final int MOUSE
      Maps to AWT Mouse support (i.e., MouseListener and MouseEvent)
      See Also:
    • MOTION

      public static final int MOTION
      Maps to AWT MouseMotion support (i.e., MouseMotionListener and MouseMotionEvent)
      See Also:
    • TEXT

      public static final int TEXT
      Maps to AWT Text support (i.e., TextListener and TextEvent)
      See Also:
    • WINDOW

      public static final int WINDOW
      Maps to AWT Window support (i.e., WindowListener and WindowEvent)
      See Also:
    • ANCESTOR

      public static final int ANCESTOR
      Maps to Swing Ancestor support (i.e., AncestorListener and AncestorEvent)
      See Also:
    • CARET

      public static final int CARET
      Maps to Swing Text Caret support (i.e., CaretListener and CaretEvent)
      See Also:
    • CELLEDITOR

      public static final int CELLEDITOR
      Maps to Swing CellEditor support (i.e., CellEditorListener and CellEditorEvent)
      See Also:
    • CHANGE

      public static final int CHANGE
      Maps to Swing Change support (i.e., ChangeListener and ChangeEvent)
      See Also:
    • COLUMNMODEL

      public static final int COLUMNMODEL
      Maps to Swing TableColumnModel support (i.e., TableColumnModelListener and TableColumnModelEvent)
      See Also:
    • DOCUMENT

      public static final int DOCUMENT
      Maps to Swing Document support (i.e., DocumentListener and DocumentEvent)
      See Also:
    • LISTDATA

      public static final int LISTDATA
      Maps to Swing ListData support (i.e., ListDataListener and ListDataEvent)
      See Also:
    • LISTSELECTION

      public static final int LISTSELECTION
      Maps to Swing ListSelection support (i.e., ListSelectionListener and ListSelectionEvent)
      See Also:
    • POPUPMENU

      public static final int POPUPMENU
      Maps to Swing PopupMenu support (i.e., PopupMenuListener and PopupMenuEvent)
      See Also:
    • TABLEMODEL

      public static final int TABLEMODEL
      Maps to Swing TableModel support (i.e., TableModelListener and TableModelEvent)
      See Also:
    • TREEEXPANSION

      public static final int TREEEXPANSION
      Maps to Swing TreeExpansion support (i.e., TreeExpansionListener and TreeExpansionEvent)
      See Also:
    • TREEMODEL

      public static final int TREEMODEL
      Maps to Swing TreeModel support (i.e., TreeModelListener and TreeModelEvent)
      See Also:
    • TREESELECTION

      public static final int TREESELECTION
      Maps to Swing TreeSelection support (i.e., TreeSelectionListener and TreeSelectionEvent)
      See Also:
    • UNDOABLEEDIT

      public static final int UNDOABLEEDIT
      Maps to Swing UndoableEdit support (i.e., UndoableEditListener and UndoableEditEvent)
      See Also:
    • PROPERTYCHANGE

      public static final int PROPERTYCHANGE
      Maps to Beans PropertyChange support (i.e., PropertyChangeListener and PropertyChangeEvent)
      See Also:
    • VETOABLECHANGE

      public static final int VETOABLECHANGE
      Maps to Beans VetoableChange support (i.e., VetoableChangeListener and VetoableChangeEvent)
      See Also:
    • INTERNALFRAME

      public static final int INTERNALFRAME
      Maps to Swing InternalFrame support (i.e., InternalFrameListener)
      See Also:
  • Constructor Details

    • EventID

      public EventID()
      Constructs an EventID.