站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class BasicOptionPaneUI.ButtonActionListener - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

javax.swing.plaf.basic
Class BasicOptionPaneUI.ButtonActionListener

java.lang.Object
  |
  +--javax.swing.plaf.basic.BasicOptionPaneUI.ButtonActionListener
Enclosing class:
BasicOptionPaneUI

public class BasicOptionPaneUI.ButtonActionListener
extends Object
implements ActionListener

This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicOptionPaneUI.


Field Summary
protected  int buttonIndex
           
 
Constructor Summary
BasicOptionPaneUI.ButtonActionListener(int buttonIndex)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buttonIndex

protected int buttonIndex
Constructor Detail

BasicOptionPaneUI.ButtonActionListener

public BasicOptionPaneUI.ButtonActionListener(int buttonIndex)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from interface: ActionListener
Invoked when an action occurs.
Specified by:
actionPerformed in interface ActionListener

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.