ActionListener, EventListenerpublic class BasicOptionPaneUI.ButtonActionListener extends Object implements ActionListener
BasicOptionPaneUI.| Modifier and Type | Field | Description |
|---|---|---|
protected int |
buttonIndex |
The index of the button.
|
| Constructor | Description |
|---|---|
ButtonActionListener(int buttonIndex) |
Constructs a new instance of
ButtonActionListener. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(ActionEvent e) |
Invoked when an action occurs.
|
public ButtonActionListener(int buttonIndex)
ButtonActionListener.buttonIndex - an index of the buttonpublic void actionPerformed(ActionEvent e)
ActionListeneractionPerformed in interface ActionListenere - the event to be processed Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1