swing Event-Listener-Adapter 对照表
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 对照表的更多相关文章
- Android事件监听器Event Listener
在 Android 中,我们可以通过事件处理使UI与用户互动(UI Events). UI的用户事件处理,即View处理用户的操作,在应用程序中几乎不可避免.View是重要的类,它是与用户互动的前线: ...
- 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 今天在做项目 ...
- Unable to preventDefault inside passive event listener
最近做项目经常在 chrome 的控制台看到如下提示: Unable to preventDefault inside passive event listener due to target bei ...
- 滑动时候警告:Unable to preventDefault inside passive event listener
1 前言 在制作2048时,需要在手机端添加滑动检测事件,然后发现控制台有警告,如下: main2048.js:218 [Intervention] Unable to preventDefault ...
- 移动端页面滑动时候警告:Unable to preventDefault inside passive event listener due to target being treated as passive.
移动端项目中,在滚动的时候,会报出以下提示: [Intervention] Unable to preventDefault inside passive event listener due to ...
- [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() ...
- [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 ...
- Presto Event Listener开发
简介 同Hive Hook一样,Presto也支持自定义实现Event Listener,用于侦听Presto引擎执行查询时发生的事件,并作出相应的处理.我们可以利用该功能实现诸如自定义日志记录.调试 ...
- IScroll Unable to preventDefault inside passive event listener due to target being treated as passive
最近两天企业微信下IScroll突然无法滚动了,特别慢,之前好好的,发现主要是有红色的Unable to preventDefault inside passive event listener du ...
- 引用fastclick.js或使用触屏监听 滑动屏幕报错:解决[Intervention] Unable to preventDefault inside passive event listener
使用fastClick.js所产生的一些问题 开发h5活动页时想到移动端会有300ms的延迟,于是便打算用fastClick.js解决. 页面引入fastClick.js后,滑动H5页面的时候发现谷歌 ...
随机推荐
- js树目录结构
jstree https://www.jstree.com/demo/ treejs http://www.treejs.cn/v3/demo.php#_206
- android fragment 博客 学习记录
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/37992017 上篇博客中已经介绍了Fragment产生原因,以及一些基本的用法和 ...
- java,UDP协议简单实现
//UDP协议简单实现-----Serverpackage UDP; import java.net.DatagramPacket; import java.net.DatagramSocket; i ...
- SAP标准价格修改
标准MR21修改前期的价格,不会影响到当期. 相关配置 事务码OMRN. 如企业账期已经开到 2015 年 2 月,会计账期还可对 1月记账,配置后可修改1月物料价格.
- Xcode + Swift 制作动态原型
转载: Xcode + Swift 制作动态原型 为什么是 Xcode 和 Swift 我们尝试过的动态原型设计工具,Origami, Form, Hype, FramerJS,Pixate 等,但都 ...
- Form1和Form2的交互
比如在第二个窗体中操作第一个窗体中的TreeView,动态添加节点和子节点. ------回答--------- ------其他回答(20分)--------- 尽量不要这样做.控件,窗体,你在.n ...
- python 练习 6
#!/usr/bin/python # -*- coding: utf-8 -*- from collections import deque from math import log10 def p ...
- WANL标准组织介绍-02
无线电管理委员会 FCC ETSI IEEE Wi-Fi IETF WAPI 国家无线电管理委员会认证 国家无线电管理委员会认证(State Radio Regulatory Commission o ...
- Hibernate-细细道来-01
Dao代码,如何编写? 使用Jdbc技术,原始的jdbc操作, Connection/Statement/ResultSet DbUtils组件, 轻量级的dao的组件: Hibernate技术 [ ...
- var isObj = length === undefined || i
这个其实是因为你前面那个===是肯定为false导致的,所以执行到了i那一步了var length=undefined;var a=length===undefined || i;这样你不定义i也是不 ...