javax.swing.plaf.basic
public class BasicOptionPaneUI.ButtonActionListener extends Object implements ActionListener
UNKNOWN: Apparently this class was intended to be protected, but was made public by a compiler bug and is now public for compatibility.
Field Summary | |
---|---|
protected int | buttonIndex The index of the option this button represents. |
Constructor Summary | |
---|---|
ButtonActionListener(int buttonIndex)
Creates a new ButtonActionListener object with the given buttonIndex.
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e)
This method is called when one of the option buttons are pressed.
|
Parameters: buttonIndex The index of the option this button represents.
Parameters: e The ActionEvent.