Uses of Interface
java.awt.event.ActionListener
-
Packages that use ActionListener 软件包 描述 com.sun.java.accessibility.util 提供组成Java Accessibility Utilities的接口和类的集合。java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,其提供了在GUI中与表示元素逻辑相关联的两个实体之间传递信息的机制。javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。javax.swing.plaf.metal 提供根据Java外观(曾代号为 Metal )构建的用户界面对象,这是默认的外观。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit和用于创建HTML文本编辑器的支持类。javax.swing.tree 提供用于处理javax.swing.JTree类和接口。 -
-
Uses of ActionListener in com.sun.java.accessibility.util
Fields in com.sun.java.accessibility.util declared as ActionListener 变量和类型 字段 描述 protected static ActionListenerAWTEventMonitor. actionListener不推荐使用,要删除:此API元素将在以后的版本中删除。该字段未使用。Methods in com.sun.java.accessibility.util with parameters of type ActionListener 变量和类型 方法 描述 static voidAWTEventMonitor. addActionListener(ActionListener l)添加指定的侦听器以在Java虚拟机中的每个组件实例上发生时接收所有ACTION事件。static voidAWTEventMonitor. removeActionListener(ActionListener l)删除指定的侦听器,以便它们在发生时不再接收ACTION事件。 -
Uses of ActionListener in java.awt
Classes in java.awt that implement ActionListener 变量和类型 类 描述 classAWTEventMulticasterAWTEventMulticaster为java.awt.event程序包中定义的AWT事件实现高效且线程安全的多播事件分派。protected classList.AccessibleAWTList此类实现List类的可访问性支持。Methods in java.awt that return ActionListener 变量和类型 方法 描述 static ActionListenerAWTEventMulticaster. add(ActionListener a, ActionListener b)使用action-listener-b添加action-listener-a并返回生成的多播侦听器。ActionListener[]Button. getActionListeners()返回在此按钮上注册的所有动作侦听器的数组。ActionListener[]List. getActionListeners()返回在此列表中注册的所有动作侦听器的数组。ActionListener[]MenuItem. getActionListeners()返回在此菜单项上注册的所有动作侦听器的数组。ActionListener[]TextField. getActionListeners()返回在此文本字段上注册的所有动作侦听器的数组。ActionListener[]TrayIcon. getActionListeners()返回在此TrayIcon上注册的所有动作侦听器的数组。static ActionListenerAWTEventMulticaster. remove(ActionListener l, ActionListener oldl)从action-listener-l中删除旧的操作侦听器,并返回生成的多播侦听器。Methods in java.awt with parameters of type ActionListener 变量和类型 方法 描述 static ActionListenerAWTEventMulticaster. add(ActionListener a, ActionListener b)使用action-listener-b添加action-listener-a并返回生成的多播侦听器。voidButton. addActionListener(ActionListener l)添加指定的动作侦听器以从此按钮接收动作事件。voidList. addActionListener(ActionListener l)添加指定的操作侦听器以从此列表接收操作事件。voidMenuItem. addActionListener(ActionListener l)添加指定的动作侦听器以从此菜单项接收动作事件。voidTextField. addActionListener(ActionListener l)添加指定的操作侦听器以从此文本字段接收操作事件。voidTrayIcon. addActionListener(ActionListener listener)添加指定的操作侦听器以接收ActionEvent从这个STrayIcon。static ActionListenerAWTEventMulticaster. remove(ActionListener l, ActionListener oldl)从action-listener-l中删除旧的操作侦听器,并返回生成的多播侦听器。voidButton. removeActionListener(ActionListener l)删除指定的操作侦听器,以便它不再从此按钮接收操作事件。voidList. removeActionListener(ActionListener l)删除指定的操作侦听器,以便它不再从此列表中接收操作事件。voidMenuItem. removeActionListener(ActionListener l)删除指定的操作侦听器,以便它不再从此菜单项接收操作事件。voidTextField. removeActionListener(ActionListener l)删除指定的操作侦听器,以便它不再从此文本字段接收操作事件。voidTrayIcon. removeActionListener(ActionListener listener)删除指定的动作侦听器。 -
Uses of ActionListener in java.awt.dnd
Classes in java.awt.dnd that implement ActionListener 变量和类型 类 描述 protected static classDropTarget.DropTargetAutoScroller这个受保护的嵌套类实现了自动滚动 -
Uses of ActionListener in javax.swing
Subinterfaces of ActionListener in javax.swing 变量和类型 接口 描述 interfaceAction所述Action接口提供了有用的扩展,ActionListener在箱子接口,其中相同的功能可以由若干控件访问。Classes in javax.swing that implement ActionListener 变量和类型 类 描述 classAbstractAction此类提供JFCAction接口的默认实现。protected classDefaultCellEditor.EditorDelegate受保护的EditorDelegate类。classJComboBox<E>组合按钮或可编辑字段和下拉列表的组件。protected classToolTipManager.insideTimerAction内部计时器动作。protected classToolTipManager.outsideTimerAction外部计时器动作。protected classToolTipManager.stillInsideTimerAction还在里面计时器动作。Fields in javax.swing declared as ActionListener 变量和类型 字段 描述 protected ActionListenerAbstractButton. actionListener按钮型号为ActionListener。Methods in javax.swing that return ActionListener 变量和类型 方法 描述 protected ActionListenerAbstractButton. createActionListener()返回添加到模型的ActionListener。ActionListenerJComponent. getActionForKeyStroke(KeyStroke aKeyStroke)返回将执行为给定击键注册的操作的对象。ActionListener[]AbstractButton. getActionListeners()返回使用addActionListener()添加到此AbstractButton的所有ActionListener的数组。ActionListener[]DefaultButtonModel. getActionListeners()返回在此DefaultButtonModel上注册的所有动作侦听器的数组。ActionListener[]JComboBox. getActionListeners()返回使用addActionListener()添加到此JComboBox的所有ActionListener的数组。ActionListener[]JFileChooser. getActionListeners()返回在此文件选择器上注册的所有动作侦听器的数组。ActionListener[]JTextField. getActionListeners()返回使用addActionListener()添加到此JTextField的所有ActionListener的数组。ActionListener[]Timer. getActionListeners()返回在此计时器上注册的所有动作侦听器的数组。Methods in javax.swing with parameters of type ActionListener 变量和类型 方法 描述 voidAbstractButton. addActionListener(ActionListener l)在按钮上添加ActionListener。voidButtonModel. addActionListener(ActionListener l)将ActionListener添加到模型中。voidComboBoxEditor. addActionListener(ActionListener l)添加ActionListener。voidJComboBox. addActionListener(ActionListener l)添加ActionListener。voidJFileChooser. addActionListener(ActionListener l)将ActionListener添加到文件选择器。voidJTextField. addActionListener(ActionListener l)添加指定的操作侦听器以从此文本字段接收操作事件。voidTimer. addActionListener(ActionListener listener)向Timer添加动作侦听Timer。static JDialogJColorChooser. createDialog(Component c, String title, boolean modal, JColorChooser chooserPane, ActionListener okListener, ActionListener cancelListener)创建并返回一个新对话框,其中包含指定的ColorChooser窗格以及“确定”,“取消”和“重置”按钮。voidJComponent. registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)此方法现已过时,请结合使用getActionMap()和getInputMap()进行类似操作。voidJComponent. registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)此方法现已过时,请结合使用getActionMap()和getInputMap()进行类似操作。voidAbstractButton. removeActionListener(ActionListener l)从按钮中删除ActionListener。voidButtonModel. removeActionListener(ActionListener l)从模型中删除ActionListener。voidComboBoxEditor. removeActionListener(ActionListener l)删除ActionListenervoidJComboBox. removeActionListener(ActionListener l)删除ActionListener。voidJFileChooser. removeActionListener(ActionListener l)从文件选择器中删除ActionListener。voidJTextField. removeActionListener(ActionListener l)删除指定的操作侦听器,以便它不再从此文本字段接收操作事件。voidTimer. removeActionListener(ActionListener listener)从Timer删除指定的操作侦听Timer。Constructors in javax.swing with parameters of type ActionListener 构造器 描述 Timer(int delay, ActionListener listener)创建一个Timer并将初始延迟和事件间延迟初始化为delay毫秒。 -
Uses of ActionListener in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as ActionListener 变量和类型 字段 描述 protected ActionListenerBasicSplitPaneUI. keyboardDownRightListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardEndListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardHomeListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardResizeToggleListener已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. keyboardUpLeftListener已过时。截至Java 2平台v1.3。Methods in javax.swing.plaf.basic that return ActionListener 变量和类型 方法 描述 protected ActionListenerBasicOptionPaneUI. createButtonActionListener(int buttonIndex)构造ButtonActionListener的新实例。protected ActionListenerBasicSplitPaneUI. createKeyboardDownRightListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardEndListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardHomeListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardResizeToggleListener()已过时。截至Java 2平台v1.3。protected ActionListenerBasicSplitPaneUI. createKeyboardUpLeftListener()已过时。截至Java 2平台v1.3。 -
Uses of ActionListener in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement ActionListener 变量和类型 类 描述 protected classMetalFileChooserUI.DirectoryComboBoxAction当DirectoryComboBox更改了所选项时的行为。 -
Uses of ActionListener in javax.swing.text
Classes in javax.swing.text that implement ActionListener 变量和类型 类 描述 static classDefaultEditorKit.BeepAction发出一声哔哔声。static classDefaultEditorKit.CopyAction复制所选区域并将其内容放入系统剪贴板。static classDefaultEditorKit.CutAction剪切所选区域并将其内容放入系统剪贴板。static classDefaultEditorKit.DefaultKeyTypedAction如果收到 键键入事件且没有键映射条目,则默认执行的操作。static classDefaultEditorKit.InsertBreakAction将行/段落分隔符放入文档中。static classDefaultEditorKit.InsertContentAction将内容放入关联的文档中。static classDefaultEditorKit.InsertTabAction将制表符放入文档中。static classDefaultEditorKit.PasteAction将系统剪贴板的内容粘贴到选定的区域,如果没有选择任何内容,则将其粘贴到插入符号之前。static classStyledEditorKit.AlignmentAction设置段落对齐的操作。static classStyledEditorKit.BoldAction切换粗体属性的操作。static classStyledEditorKit.FontFamilyAction在关联的JEditorPane中设置字体系列的操作。static classStyledEditorKit.FontSizeAction在关联的JEditorPane中设置字体大小的操作。static classStyledEditorKit.ForegroundAction设置前景色的动作。static classStyledEditorKit.ItalicAction切换斜体属性的操作。static classStyledEditorKit.StyledTextAction假定它在安装了StyledEditorKit(或子类)的JEditorPane上被触发的动作。static classStyledEditorKit.UnderlineAction用于切换下划线属性的操作。classTextAction对于在多个不同文本组件之间共享的键绑定有用的Action实现。 -
Uses of ActionListener in javax.swing.text.html
Classes in javax.swing.text.html that implement ActionListener 变量和类型 类 描述 classFormView组件装饰器,用于实现表单元素的视图接口,<input>,<textarea>和<select>。static classHTMLEditorKit.HTMLTextAction一个抽象的Action提供了一些方便的方法,可以在将HTML插入现有文档时使用。static classHTMLEditorKit.InsertHTMLTextActionInsertHTMLTextAction可用于将任意HTML字符串插入现有HTML文档中。 -
Uses of ActionListener in javax.swing.tree
Classes in javax.swing.tree that implement ActionListener 变量和类型 类 描述 classDefaultTreeCellEditorATreeCellEditor。
-