Uses of Interface
java.awt.event.ActionListener
-
Packages that use ActionListener 软件包 描述 com.sun.java.accessibility.util 提供组成Java辅助功能实用程序的接口和类的集合。java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.dnd 拖放是在许多图形用户界面系统中发现的直接操纵手势,它提供了一种在逻辑上与GUI中的表示元素相关联的实体之间传递信息的机制。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf.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 Modifier and Type Field 描述 protected static ActionListenerAWTEventMonitor. actionListener不推荐用于删除:此API元素将在以后的版本中被删除。此字段未使用。Methods in com.sun.java.accessibility.util with parameters of type ActionListener Modifier and Type 方法 描述 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 Modifier and Type Class 描述 classAWTEventMulticasterAWTEventMulticaster为java.awt.event包中定义的AWT事件实现高效和线程安全的多播事件调度。protected classList.AccessibleAWTList该类实现List类的可访问性支持。Methods in java.awt that return ActionListener Modifier and Type 方法 描述 static ActionListenerAWTEventMulticaster. add(ActionListener a, ActionListener b)添加action-listener-a与action-listener-b,并返回生成的组播侦听器。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中删除旧的action-listener,并返回生成的组播侦听器。Methods in java.awt with parameters of type ActionListener Modifier and Type 方法 描述 static ActionListenerAWTEventMulticaster. add(ActionListener a, ActionListener b)添加action-listener-a与action-listener-b,并返回生成的组播侦听器。voidButton. addActionListener(ActionListener l)添加指定的动作侦听器以从此按钮接收动作事件。voidList. addActionListener(ActionListener l)添加指定的动作侦听器以从此列表接收动作事件。voidMenuItem. addActionListener(ActionListener l)添加指定的动作侦听器以从该菜单项接收动作事件。voidTextField. addActionListener(ActionListener l)添加指定的动作侦听器以从此文本字段接收动作事件。voidTrayIcon. addActionListener(ActionListener listener)添加指定的动作侦听器以从此TrayIcon接收ActionEvents。static ActionListenerAWTEventMulticaster. remove(ActionListener l, ActionListener oldl)从action-listener-l中删除旧的action-listener,并返回生成的组播侦听器。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 Modifier and Type Class 描述 protected static classDropTarget.DropTargetAutoScroller这个受保护的嵌套类实现自动滚动 -
Uses of ActionListener in javax.swing
Subinterfaces of ActionListener in javax.swing Modifier and Type 接口 描述 interfaceAction所述Action接口提供了一个有用的扩展到ActionListener在箱子接口,其中相同的功能可以由若干控件访问。Classes in javax.swing that implement ActionListener Modifier and Type Class 描述 classAbstractAction该类提供了JFCAction接口的默认实现。protected classDefaultCellEditor.EditorDelegate受保护的EditorDelegate类。classJComboBox<E>组合按钮或可编辑字段和下拉列表的组件。protected classToolTipManager.insideTimerAction内部定时器动作。protected classToolTipManager.outsideTimerAction外部定时器动作。protected classToolTipManager.stillInsideTimerAction仍然在定时器动作。Fields in javax.swing declared as ActionListener Modifier and Type Field 描述 protected ActionListenerAbstractButton. actionListener按钮型号ActionListener。Methods in javax.swing that return ActionListener Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 voidAbstractButton. addActionListener(ActionListener l)在按钮中添加一个ActionListener。voidButtonModel. addActionListener(ActionListener l)向模型添加一个ActionListener。voidComboBoxEditor. addActionListener(ActionListener l)添加一个ActionListener。voidDefaultButtonModel. 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)删除一个ActionListenervoidDefaultButtonModel. removeActionListener(ActionListener l)从模型中移除ActionListener。voidJComboBox. 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 Constructor 描述 Timer(int delay, ActionListener listener)创建一个Timer,并将初始延迟和事件间延迟初始化为delay毫秒。 -
Uses of ActionListener in javax.swing.plaf.basic
Fields in javax.swing.plaf.basic declared as ActionListener Modifier and Type Field 描述 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 Modifier and Type 方法 描述 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开始。Methods in javax.swing.plaf.basic with parameters of type ActionListener Modifier and Type 方法 描述 voidBasicComboBoxEditor. addActionListener(ActionListener l)voidBasicComboBoxEditor. removeActionListener(ActionListener l) -
Uses of ActionListener in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement ActionListener Modifier and Type Class 描述 protected classMetalFileChooserUI.DirectoryComboBoxAction当DirectoryComboBox更改所选项目时使用。 -
Uses of ActionListener in javax.swing.text
Classes in javax.swing.text that implement ActionListener Modifier and Type Class 描述 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 Modifier and Type Class 描述 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 Modifier and Type Class 描述 classDefaultTreeCellEditorATreeCellEditor。
-