public class TabButtonAction
extends javax.swing.AbstractAction
Action
for buttons in TabbedPanels
.Constructor and Description |
---|
TabButtonAction(@NotNull java.lang.String ident)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(@NotNull java.awt.event.ActionEvent e) |
protected @NotNull TabButtonAction |
clone() |
void |
setIndex(int index)
Sets the accelerator index.
|
public TabButtonAction(@NotNull @NotNull java.lang.String ident)
ident
- the resource keypublic void setIndex(int index)
index
- the indexpublic void actionPerformed(@NotNull @NotNull java.awt.event.ActionEvent e)
@NotNull protected @NotNull TabButtonAction clone()
clone
in class javax.swing.AbstractAction