⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updateactionsevent.java

📁 本系统是用 java 语言实现的一个 Email客户端
💻 JAVA
字号:
package net.suberic.util.event;import java.util.Hashtable;import javax.swing.Action;/** * This is an event which indicates that a ConifugrableUI element should * update its Action list. */public class UpdateActionsEvent {        Hashtable commands = null;    Action[] actions = null;        /**      * This creates a new UpdateActionsEvents with a Hashtable of new     * Actions.     */    public UpdateActionsEvent(Hashtable newCommands) {	commands = newCommands;    }    /**     * This creates a new UpdateActionsEvent from an array of Actions.     */    public UpdateActionsEvent(Action[] newActions) {	actions=newActions;    }    public Hashtable getCommands() {	return commands;    }    public Action[] getActions() {	return actions;    }    public boolean hasCommands() {	return (commands != null);    }    public boolean hasActions() {	return (actions != null);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -