- java.lang.Object
-
- javax.swing.plaf.basic.BasicOptionPaneUI.ButtonActionListener
-
- All Implemented Interfaces:
-
ActionListener,EventListener
- Enclosing class:
- BasicOptionPaneUI
public class BasicOptionPaneUI.ButtonActionListener extends Object implements ActionListener
这个类应该被视为一个“受保护”的内部类。 仅在BasicOptionPaneUI子类中实例化。
-
-
Field Summary
Fields Modifier and Type Field 描述 protected intbuttonIndex按钮的索引。
-
构造方法摘要
构造方法 Constructor 描述 ButtonActionListener(int buttonIndex)构造一个新的实例ButtonActionListener。
-
-
-
方法详细信息
-
actionPerformed
public void actionPerformed(ActionEvent e)
描述从接口ActionListener复制发生动作时调用。- Specified by:
-
actionPerformed在接口ActionListener - 参数
-
e- the event to be processed
-
-