Class EventID



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

      Fields  
      Modifier and Type Field 描述
      static int ACTION
      映射到AWT Action支持(即ActionListener和ActionEvent)
      static int ADJUSTMENT
      映射到AWT调整支持(即AdjustmentListener和AdjustmentEvent)
      static int ANCESTOR
      映射到Swing Ancestor支持(即AncestorListener和AncestorEvent)
      static int CARET
      映射到Swing Text Caret支持(即CaretListener和CaretEvent)
      static int CELLEDITOR
      映射到Swing CellEditor支持(即CellEditorListener和CellEditorEvent)
      static int CHANGE
      映射到Swing Change支持(即ChangeListener和ChangeEvent)
      static int COLUMNMODEL
      映射到Swing TableColumnModel支持(即TableColumnModelListener和TableColumnModelEvent)
      static int COMPONENT
      映射到AWT组件支持(即ComponentListener和ComponentEvent)
      static int CONTAINER
      映射到AWT容器支持(即ContainerListener和ContainerEvent)
      static int DOCUMENT
      映射到Swing Document支持(即DocumentListener和DocumentEvent)
      static int FOCUS
      映射到AWT Focus支持(即FocusListener和FocusEvent)
      static int INTERNALFRAME
      映射到Swing InternalFrame支持(即InternalFrameListener)
      static int ITEM
      映射到AWT项目支持(即ItemListener和ItemEvent)
      static int KEY
      映射到AWT键支持(即KeyListener和KeyEvent)
      static int LISTDATA
      映射到Swing ListData支持(即ListDataListener和ListDataEvent)
      static int LISTSELECTION
      映射到Swing ListSelection支持(即ListSelectionListener和ListSelectionEvent)
      static int MENU
      映射到Swing菜单支持(即MenuListener和MenuEvent)
      static int MOTION
      映射到AWT MouseMotion支持(即MouseMotionListener和MouseMotionEvent)
      static int MOUSE
      映射到AWT鼠标支持(即MouseListener和MouseEvent)
      static int POPUPMENU
      映射到Swing PopupMenu支持(即PopupMenuListener和PopupMenuEvent)
      static int PROPERTYCHANGE
      映射到Bean PropertyChange支持(即PropertyChangeListener和PropertyChangeEvent)
      static int TABLEMODEL
      映射到Swing TableModel支持(即TableModelListener和TableModelEvent)
      static int TEXT
      映射到AWT文本支持(即TextListener和TextEvent)
      static int TREEEXPANSION
      映射到Swing TreeExpansion支持(即TreeExpansionListener和TreeExpansionEvent)
      static int TREEMODEL
      映射到Swing TreeModel支持(即TreeModelListener和TreeModelEvent)
      static int TREESELECTION
      映射到Swing TreeSelection支持(即TreeSelectionListener和TreeSelectionEvent)
      static int UNDOABLEEDIT
      映射到Swing UndoableEdit支持(即UndoableEditListener和UndoableEditEvent)
      static int VETOABLECHANGE
      Maps to Beans VetoableChange支持(即VetoableChangeListener和VetoableChangeEvent)
      static int WINDOW
      映射到AWT窗口支持(即WindowListener和WindowEvent)
    • 构造方法摘要

      构造方法  
      Constructor 描述
      EventID​()  
    • 字段详细信息

      • ACTION

        public static final int ACTION
        映射到AWT Action支持(即ActionListener和ActionEvent)
        另请参见:
        Constant Field Values
      • ADJUSTMENT

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

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

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

        public static final int FOCUS
        映射到AWT Focus支持(即FocusListener和FocusEvent)
        另请参见:
        Constant Field Values
      • ITEM

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

        public static final int KEY
        映射到AWT键支持(即KeyListener和KeyEvent)
        另请参见:
        Constant Field Values
      • MOUSE

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

        public static final int MOTION
        映射到AWT MouseMotion支持(即MouseMotionListener和MouseMotionEvent)
        另请参见:
        Constant Field Values
      • TEXT

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

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

        public static final int ANCESTOR
        映射到Swing Ancestor支持(即AncestorListener和AncestorEvent)
        另请参见:
        Constant Field Values
      • CARET

        public static final int CARET
        映射到Swing Text Caret支持(即CaretListener和CaretEvent)
        另请参见:
        Constant Field Values
      • CELLEDITOR

        public static final int CELLEDITOR
        映射到Swing CellEditor支持(即CellEditorListener和CellEditorEvent)
        另请参见:
        Constant Field Values
      • CHANGE

        public static final int CHANGE
        映射到Swing Change支持(即ChangeListener和ChangeEvent)
        另请参见:
        Constant Field Values
      • COLUMNMODEL

        public static final int COLUMNMODEL
        映射到Swing TableColumnModel支持(即TableColumnModelListener和TableColumnModelEvent)
        另请参见:
        Constant Field Values
      • DOCUMENT

        public static final int DOCUMENT
        映射到Swing Document支持(即DocumentListener和DocumentEvent)
        另请参见:
        Constant Field Values
      • LISTDATA

        public static final int LISTDATA
        映射到Swing ListData支持(即ListDataListener和ListDataEvent)
        另请参见:
        Constant Field Values
      • LISTSELECTION

        public static final int LISTSELECTION
        映射到Swing ListSelection支持(即ListSelectionListener和ListSelectionEvent)
        另请参见:
        Constant Field Values
      • MENU

        public static final int MENU
        映射到Swing菜单支持(即MenuListener和MenuEvent)
        另请参见:
        Constant Field Values
      • POPUPMENU

        public static final int POPUPMENU
        映射到Swing PopupMenu支持(即PopupMenuListener和PopupMenuEvent)
        另请参见:
        Constant Field Values
      • TABLEMODEL

        public static final int TABLEMODEL
        映射到Swing TableModel支持(即TableModelListener和TableModelEvent)
        另请参见:
        Constant Field Values
      • TREEEXPANSION

        public static final int TREEEXPANSION
        映射到Swing TreeExpansion支持(即TreeExpansionListener和TreeExpansionEvent)
        另请参见:
        Constant Field Values
      • TREEMODEL

        public static final int TREEMODEL
        映射到Swing TreeModel支持(即TreeModelListener和TreeModelEvent)
        另请参见:
        Constant Field Values
      • TREESELECTION

        public static final int TREESELECTION
        映射到Swing TreeSelection支持(即TreeSelectionListener和TreeSelectionEvent)
        另请参见:
        Constant Field Values
      • UNDOABLEEDIT

        public static final int UNDOABLEEDIT
        映射到Swing UndoableEdit支持(即UndoableEditListener和UndoableEditEvent)
        另请参见:
        Constant Field Values
      • PROPERTYCHANGE

        public static final int PROPERTYCHANGE
        映射到Bean PropertyChange支持(即PropertyChangeListener和PropertyChangeEvent)
        另请参见:
        Constant Field Values
      • VETOABLECHANGE

        public static final int VETOABLECHANGE
        Maps to Beans VetoableChange支持(即VetoableChangeListener和VetoableChangeEvent)
        另请参见:
        Constant Field Values
      • INTERNALFRAME

        public static final int INTERNALFRAME
        映射到Swing InternalFrame支持(即InternalFrameListener)
        另请参见:
        Constant Field Values
    • 构造方法详细信息

      • EventID

        public EventID​()