Source

Event

Event Listener

AbstractButton

(JButton,JToggleButton,

JCheckBox,JRadioButton

ActionEvent

ChangEvent

ItemEvent

ActionListener

ChangeListener

ItemListener

JTextField

JPasswordField

ActionEvent

CaretEvent

DocumentEvent

UndoableEvent

ActionListener

CaretListener

DocumentListener

UndoableListener

JTextArea

CaretEvent

DocumentEvent

UndoableEvent

CaretListener

DocumentListener

UndoableListener

JTextPane

JEditorPane

CaretEvent

DocumentEvent

UndoableEvent

HyperlinkEvent

CaretListener

DocumentListener

UndoableListener

HyperlinkListener

JComboBox

ActionEvent

ItemEvent

ActionListener

ItemListener

JList

ListSelectionEvent

ListDataEvent

ListSelectionListener

ListDataListener

JFileChooser

ActionEvent

ActionListener

JMenuItem

ActionEvent

ChangeEvent

ItemEvent

MenuKeyEvent

MenuDragMouseEvent

ActionListener

ChangeListener

ItemListener

MenuKeyListener

MenuDragMouseListener

JMenu

MenuEvent

MenuListener

JPopupMenu

PopupMenuEvent

PopupMenuListener

JProgressBar

ChangeEvent

ChangeListener

JSlider

ChangeEvent

ChangeListener

JScrollBar

AdjustmentEvent

AdjustmentListener

JTable

ListSelectionEvent

TableModeEvent

TableColumModelEvent

CellEditorEvent

ListSelectionListener

TableModeListener

TableColumModelListener

CellEditorListener

JTabbedPane

ChangeEvent

ChangeListener

JTree

TreeSelectionEvent

TreeExpansionEvent

TreeWillExpandEvent

TreeModeEvent

TreeSelectionListener

TreeExpansionEvent

TreeWillExpandListener

TreeModeListener

JTimer

ActionEvent

ActionListener

Event

Listener

ComponentEvent

ComponentListener

ContainerEvent

ContainerListener

FocusEvent

FocusListener

KeyEvent

KeyListener

MouseEvent

MouseListener

MouseMotionEvent

MouseMotionListener

WindowEvent

WindowListener

Swing EventListener

Method

CaretListener

caretUpdate(CaretEvent e)

CellEditorListener

editingCanceled(ChangeEvent e)

editingStopped(ChangeEvent e)

ChangeListener

stateChanged(ChangeEvent e)

DocumentListener

changedUpdate(DocumentEvent e)

insertUpdate(DocumentEvent e)

removeUpdate(DocumentEvent e)

HyperlinkListener

hyperlinkUpdate(HyperlinkEvent e)

ListDataListener

contentsChanged(ListDataEvent e)

intervalAdded(ListDataEvent e)

intervalRemoved(ListDataEvent e)

ListSelectionListener

valueChanged(ListSelectionEvent e)

MenuDragMouseListener

menuDragMouseDragged(MenuDragMouseEvent e)

menuDragMouseEntered(MenuDragMouseEvent e)

menuDragMouseExited(MenuDragMouseEvent e)

menuDragMouseReleased(MenuDragMouseEvent e)

MenuKeyListener

menuKeyPressed(MenuKeyEvent e)

menuKeyReleased(MenuKeyEvent e)

menuKeyTyped(MenuKeyEvent e)

MenuListener

menuCanceled(MenuEvent e)

menuDeselected(MenuEvent e)

menuSelected(MenuEvent e)

PopupMenuListener

popupMenuCanceled(PopupMenuEvent e)

popupMenuWillBecomeInvisible(PopupMenuEvent e)

popupMenuWillBecomeVisible(PopupMenuEvent e)

TableColumnModelListener

columnAdded(TableColumnModelEvent e)

columnMarginChaged(ChangeEvent e)

columnMovedTableColumnModelEvent e)

columnRemoved(TAbleColumnModelEvent e)

columnSelectionChanged(ListSelectionEvent e)

TableModelListener

tableChanged(TableModelEvent e)

TreeExpansionListener

treeCollapsed(TreeExpansionEvent e)

treeExpanded(TreeExpansionEvent e)

TreeModelListener

treeNodesChanged(TreeModelEvent e)

treeNodesInserted(TreeModelEvent e)

treeNodesRemoved(TreeModelEvent e)

treeStructrueChanged(TreeModelEvent e)

TreeSelectionListener

valueChanged(TreeSelectionEvent e)

TreeWillExpandListener

treeWillCollapse(TreeExpansionEvent e)

treeWillExpand(TreeExpansionEvent e)

UndoableEventListener

undoableEditHappened(UndoableEditEVent e)

AWT EventListener

Method

ActionListener

actionPerformed(ActionEvent e)

AdjustmentListener

adjustmentValueChanged(AdjustmentEvent e)

ComponentListener

componentHidden(ComponentEvent e)

componentMoved(ComponentEvent e)

componentResized(ComponentEvent e)

componentShown(ComponentEvent e)

ContainerListener

componentAdded(ContainerEvent e)

componentRemoved(ContainerEvent e)

FocusListener

focusGained(FocusEvent e)

focusLost(FocusEvent e)

ItemListener

itemStateChanged(ItemEvent e)

KeyListener

keyPressed(KeyEvent e)

keyReleased(KeyEvent e)

keyTyped(KeyEvent e)

MouseListener

mouseClicked(MouseEvent e)

mouseEntered(MouseEvent e)

mouseExited(MouseEvent e)

mousePressed(MouseEvent e)

mouseReleased(MouseEvent e)

MouseMotionListener

mouseDragged(MouseEvent e)

mouseMoved(MouseEvent e)

WindowListener

windowActivated(WindowEvent e)

windowClosed(WindowEvent e)

windowClosing(WindowEvent e)

windowDeactivated(WindowEvent e)

windowDeiconified(WindowEvent e)

windowIconified(WindowEvent e)

windowOpened(WindowEvent e)

Adapter

EventLister

ComponentAdapter

ComponentListener

ContainterAdapter

ContainerListener

FocusAdapter

FocusListener

KeyAdapter

KeyListener

MouseAdapter

MouseListener

MouseMotionAdapter

MouseMotionListener

WindowAdapter

WindowListener

swing Event-Listener-Adapter 对照表的更多相关文章

  1. Android事件监听器Event Listener

    在 Android 中,我们可以通过事件处理使UI与用户互动(UI Events). UI的用户事件处理,即View处理用户的操作,在应用程序中几乎不可避免.View是重要的类,它是与用户互动的前线: ...

  2. Unable to preventDefault inside passive event listener due to target being treated as passive

    Unable to preventDefault inside passive event listener due to target being treated as passive 今天在做项目 ...

  3. Unable to preventDefault inside passive event listener

    最近做项目经常在 chrome 的控制台看到如下提示: Unable to preventDefault inside passive event listener due to target bei ...

  4. 滑动时候警告:Unable to preventDefault inside passive event listener

    1 前言 在制作2048时,需要在手机端添加滑动检测事件,然后发现控制台有警告,如下: main2048.js:218 [Intervention] Unable to preventDefault ...

  5. 移动端页面滑动时候警告:Unable to preventDefault inside passive event listener due to target being treated as passive.

    移动端项目中,在滚动的时候,会报出以下提示: [Intervention] Unable to preventDefault inside passive event listener due to ...

  6. [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

    相信如果用谷歌浏览器做移动端页面的时候 用touch事件的时候应该遇到过这个东东吧 documet.addEventListener("touchstart",function() ...

  7. [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.

    1.滑动时候警告[Intervention] Unable to preventDefault inside passive event listener due to target being tr ...

  8. Presto Event Listener开发

    简介 同Hive Hook一样,Presto也支持自定义实现Event Listener,用于侦听Presto引擎执行查询时发生的事件,并作出相应的处理.我们可以利用该功能实现诸如自定义日志记录.调试 ...

  9. IScroll Unable to preventDefault inside passive event listener due to target being treated as passive

    最近两天企业微信下IScroll突然无法滚动了,特别慢,之前好好的,发现主要是有红色的Unable to preventDefault inside passive event listener du ...

  10. 引用fastclick.js或使用触屏监听 滑动屏幕报错:解决[Intervention] Unable to preventDefault inside passive event listener

    使用fastClick.js所产生的一些问题 开发h5活动页时想到移动端会有300ms的延迟,于是便打算用fastClick.js解决. 页面引入fastClick.js后,滑动H5页面的时候发现谷歌 ...

随机推荐

  1. Eclipse启动tomcat时报错:Multiple Contexts have a path of "/xxx"

    今天使用Eclipse启动tomcat部署项目时,遇到一个奇怪的错误: Could not publish server configuration for Tomcat v6.0 Server at ...

  2. JavaScript ——闭包理解

    昨天晚上听别人谈起闭包这个东西,虽然对js有一点了解但却丝毫没有印象,今天也没什么事就顺便研究了一下满足好奇宝宝.整合于网上的理解,记录一下. 一.闭包的作用域 要理解闭包,首先必须理解Javascr ...

  3. 详细解读Jquery各Ajax函数

    $.get(),$.post(),$.ajax(),$.getJSON() 一,$.get(url,[data],[callback]) 说明:url为请求地址,data为请求数据的列表,callba ...

  4. override和overload的区别

    override(重写,覆盖) 1.方法名.参数.返回值相同. 2.子类方法不能缩小父类方法的访问权限. 3.子类方法不能抛出比父类方法更多的异常(但子类方法可以不抛出异常). 4.存在于父类和子类之 ...

  5. MVC中view页面用jquery方法绑定select控件值

    var sortid = '@Model.myWorkMatter.WorkMatterSortID'; $("#selectSort").val(sortid); $(" ...

  6. 前端面试题之nina分享

    HTML相关 1.<!DOCTYPE>标签的定义与用法. <!DOCTYPE>的定义: <!DOCTYPE>声明位于文档中的最前面的位置,处于<html> ...

  7. bug数量问题研究

    最近感觉很扯蛋的事情就是测试人员提bug的问题.先说下前提,公司测试会以提bug数量来做为一部分员工绩效的成份.再说一下公司从需求到开发 到测试,先是需求出一个文档,开发根据文档做功能的开发,然后测试 ...

  8. java 中遇到的问题及解决方法

    1.经常发现明明导入jar包,还是会报java.lang.NoSuchMethodError和java.lang.NoClassDefFoundError 试试网上的各种方法,包括重新导入jar包.重 ...

  9. [整][转]Invoke和BeginInvoke的使用

    在Invoke或者BeginInvoke的使用中无一例外地使用了委托Delegate. 一.为什么Control类提供了Invoke和BeginInvoke机制? 关于这个问题的最主要的原因已经是do ...

  10. useradd/du/df/passwd/usermod命令

    一.useradd命令 useradd命令-M -u -s -g 常用 -c:加上备注文字,备注文字保存在passwd的备注栏中.  -d:指定用户登入时的启始目录. -D:变更预设值.(修改默认配置 ...