Class TabButtonAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- net.sf.gridarta.gui.utils.tabbedpanel.TabButtonAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class TabButtonAction extends javax.swing.AbstractActionAnActionfor buttons inTabbedPanels.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TabButtonAction(@NotNull java.lang.String ident)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(@NotNull java.awt.event.ActionEvent e)protected @NotNull TabButtonActionclone()voidsetIndex(int index)Sets the accelerator index.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
setIndex
public void setIndex(int index)
Sets the accelerator index.- Parameters:
index- the index
-
actionPerformed
public void actionPerformed(@NotNull @NotNull java.awt.event.ActionEvent e)
-
clone
@NotNull protected @NotNull TabButtonAction clone()
- Overrides:
clonein classjavax.swing.AbstractAction
-
-