public abstract class AbstractActionApplicationListener<E extends ActionApplicationEvent> extends Object implements ActionApplicationListener<E>
| 构造器和说明 |
|---|
AbstractActionApplicationListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
KeyStroke |
getAccelerator(String actionCommand)
快捷键
例如:ctrl alt shift 1 - > KeyStroke.getKeyStroke(KeyEvent.VK_1, KeyEvent.CTRL_MASK|KeyEvent.ALT_MASK|KeyEvent.SHIFT_MASK)
|
String |
getSupportActionCommands()
提供支持的ActionCommand,逗号分隔
|
Set<String> |
getSupportActionCommandSet() |
boolean |
isSupport(ActionEvent event)
是否支持
|
boolean |
isSupport(String actionCommand)
是否支持
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonApplicationEventpublic boolean isSupport(ActionEvent event)
isSupport 在接口中 ActionApplicationListener<E extends ActionApplicationEvent>event - public boolean isSupport(String actionCommand)
isSupport 在接口中 ActionApplicationListener<E extends ActionApplicationEvent>actionCommand - public String getSupportActionCommands()
getSupportActionCommands 在接口中 ActionApplicationListener<E extends ActionApplicationEvent>public KeyStroke getAccelerator(String actionCommand)
getAccelerator 在接口中 ActionApplicationListener<E extends ActionApplicationEvent>actionCommand - Copyright © 2025. All rights reserved.