📄 menuitemhandler.java
字号:
package com.javaworld.mar2000.sax;
/*
* Sample code for "SAX Appeal", by Mark Johnson, JavaWorld, March 2000.
* Code is may be used for any legal purpose, including commercial
* purposes, with no warranty expressed or implied.
* email: mark.johnson@javaworld.com
*/
import java.awt.*;
import java.awt.event.*;
/**
* Menu XML uses this interface to notify client objects of
* MenuItem events.
*/
public interface MenuItemHandler {
public void itemActivated(MenuItem item, ActionEvent event, String sCommand);
public void itemDeselected(MenuItem item, ItemEvent event, String sCommand);
public void itemSelected(MenuItem item, ItemEvent event, String sCommand);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -