Class EventID

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

public class EventID extends Object
EventID包含整数常量,映射到AWT和Swing中的事件支持。它们主要由AWTEventMonitor、AWTEventsListener、SwingEventMonitor和SwingEventListener使用,但也可以被任何其他类自由使用。
参见:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    映射到AWT动作支持(即ActionListener和ActionEvent)
    static final int
    映射到AWT调整支持(即AdjustmentListener和AdjustmentEvent)
    static final int
    映射到Swing祖先支持(即AncestorListener和AncestorEvent)
    static final int
    映射到Swing文本插入符支持(即CaretListener和CaretEvent)
    static final int
    映射到Swing单元编辑器支持(即CellEditorListener和CellEditorEvent)
    static final int
    映射到Swing更改支持(即ChangeListener和ChangeEvent)
    static final int
    映射到Swing表列模型支持(即TableColumnModelListener和TableColumnModelEvent)
    static final int
    映射到AWT组件支持(即ComponentListener和ComponentEvent)
    static final int
    映射到AWT容器支持(即ContainerListener和ContainerEvent)
    static final int
    映射到Swing文档支持(即DocumentListener和DocumentEvent)
    static final int
    映射到AWT焦点支持(即FocusListener和FocusEvent)
    static final int
    映射到Swing内部窗体支持(即InternalFrameListener)
    static final int
    映射到AWT项目支持(即ItemListener和ItemEvent)
    static final int
    KEY
    映射到AWT按键支持(即KeyListener和KeyEvent)
    static final int
    映射到Swing列表数据支持(即ListDataListener和ListDataEvent)
    static final int
    映射到Swing列表选择支持(即ListSelectionListener和ListSelectionEvent)
    static final int
    映射到Swing菜单支持(即MenuListener和MenuEvent)
    static final int
    映射到AWT鼠标移动支持(即MouseMotionListener和MouseMotionEvent)
    static final int
    映射到AWT鼠标支持(即MouseListener和MouseEvent)
    static final int
    映射到Swing弹出菜单支持(即PopupMenuListener和PopupMenuEvent)
    static final int
    映射到Beans属性更改支持(即PropertyChangeListener和PropertyChangeEvent)
    static final int
    映射到Swing表模型支持(即TableModelListener和TableModelEvent)
    static final int
    映射到AWT文本支持(即TextListener和TextEvent)
    static final int
    映射到Swing树展开支持(即TreeExpansionListener和TreeExpansionEvent)
    static final int
    映射到Swing树模型支持(即TreeModelListener和TreeModelEvent)
    static final int
    映射到Swing树选择支持(即TreeSelectionListener和TreeSelectionEvent)
    static final int
    映射到Swing可撤销编辑支持(即UndoableEditListener和UndoableEditEvent)
    static final int
    映射到Beans否决更改支持(即VetoableChangeListener和VetoableChangeEvent)
    static final int
    映射到AWT窗口支持(即WindowListener和WindowEvent)
  • Constructor Summary

    Constructors
    Constructor
    Description
    构造一个EventID
  • Method Summary

    Methods declared in class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ACTION

      public static final int ACTION
      映射到AWT动作支持(即ActionListener和ActionEvent)
      参见:
    • ADJUSTMENT

      public static final int ADJUSTMENT
      映射到AWT调整支持(即AdjustmentListener和AdjustmentEvent)
      参见:
    • COMPONENT

      public static final int COMPONENT
      映射到AWT组件支持(即ComponentListener和ComponentEvent)
      参见:
    • CONTAINER

      public static final int CONTAINER
      映射到AWT容器支持(即ContainerListener和ContainerEvent)
      参见:
    • FOCUS

      public static final int FOCUS
      映射到AWT焦点支持(即FocusListener和FocusEvent)
      参见:
    • ITEM

      public static final int ITEM
      映射到AWT项目支持(即ItemListener和ItemEvent)
      参见:
    • KEY

      public static final int KEY
      映射到AWT按键支持(即KeyListener和KeyEvent)
      参见:
    • MOUSE

      public static final int MOUSE
      映射到AWT鼠标支持(即MouseListener和MouseEvent)
      参见:
    • MOTION

      public static final int MOTION
      映射到AWT鼠标移动支持(即MouseMotionListener和MouseMotionEvent)
      参见:
    • TEXT

      public static final int TEXT
      映射到AWT文本支持(即TextListener和TextEvent)
      参见:
    • WINDOW

      public static final int WINDOW
      映射到AWT窗口支持(即WindowListener和WindowEvent)
      参见:
    • ANCESTOR

      public static final int ANCESTOR
      映射到Swing祖先支持(即AncestorListener和AncestorEvent)
      参见:
    • CARET

      public static final int CARET
      映射到Swing文本插入符支持(即CaretListener和CaretEvent)
      参见:
    • CELLEDITOR

      public static final int CELLEDITOR
      映射到Swing单元编辑器支持(即CellEditorListener和CellEditorEvent)
      参见:
    • CHANGE

      public static final int CHANGE
      映射到Swing更改支持(即ChangeListener和ChangeEvent)
      参见:
    • COLUMNMODEL

      public static final int COLUMNMODEL
      映射到Swing表列模型支持(即TableColumnModelListener和TableColumnModelEvent)
      参见:
    • DOCUMENT

      public static final int DOCUMENT
      映射到Swing文档支持(即DocumentListener和DocumentEvent)
      参见:
    • LISTDATA

      public static final int LISTDATA
      映射到Swing列表数据支持(即ListDataListener和ListDataEvent)
      参见:
    • LISTSELECTION

      public static final int LISTSELECTION
      映射到Swing列表选择支持(即ListSelectionListener和ListSelectionEvent)
      参见:
    • POPUPMENU

      public static final int POPUPMENU
      映射到Swing弹出菜单支持(即PopupMenuListener和PopupMenuEvent)
      参见:
    • TABLEMODEL

      public static final int TABLEMODEL
      映射到Swing表模型支持(即TableModelListener和TableModelEvent)
      参见:
    • TREEEXPANSION

      public static final int TREEEXPANSION
      映射到Swing树展开支持(即TreeExpansionListener和TreeExpansionEvent)
      参见:
    • TREEMODEL

      public static final int TREEMODEL
      映射到Swing树模型支持(即TreeModelListener和TreeModelEvent)
      参见:
    • TREESELECTION

      public static final int TREESELECTION
      映射到Swing树选择支持(即TreeSelectionListener和TreeSelectionEvent)
      参见:
    • UNDOABLEEDIT

      public static final int UNDOABLEEDIT
      映射到 Swing UndoableEdit 支持(即,UndoableEditListener 和 UndoableEditEvent)
      参见:
    • PROPERTYCHANGE

      public static final int PROPERTYCHANGE
      映射到 Beans PropertyChange 支持(即,PropertyChangeListener 和 PropertyChangeEvent)
      参见:
    • VETOABLECHANGE

      public static final int VETOABLECHANGE
      映射到 Beans VetoableChange 支持(即,VetoableChangeListener 和 VetoableChangeEvent)
      参见:
    • INTERNALFRAME

      public static final int INTERNALFRAME
      映射到 Swing InternalFrame 支持(即,InternalFrameListener)
      参见:
  • Constructor Details

    • EventID

      public EventID()
      构造一个 EventID