public class BasicOptionPaneUI.ButtonActionListener extends Object implements ActionListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
buttonIndex
The index of the option this button represents.
|
| Constructor and Description |
|---|
BasicOptionPaneUI.ButtonActionListener(int buttonIndex)
Creates a new ButtonActionListener object with the given buttonIndex.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
This method is called when one of the option buttons are pressed.
|
protected int buttonIndex
public BasicOptionPaneUI.ButtonActionListener(int buttonIndex)
buttonIndex - The index of the option this button represents.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - The ActionEvent.