public class BasicOptionPaneUI.ButtonActionListener extends java.lang.Object implements java.awt.event.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(java.awt.event.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(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - The ActionEvent.