public static class CloseableTabHeader.CloseAction extends BasicAction implements Closeable
BasicAction.AcceleratorBuilder, BasicAction.BasicAcceleratorBuilder, BasicAction.Desc, BasicAction.FilterACCELERATOR_PROP, ACCELERATOR_PROPERTY, ACTION_COMMAND_PROP, ACTIONCOMMAND_PROPERTY, actionListener, ACTIONLISTENER_PROP, ACTIONLISTENER_PROPERTY, ALL, DEF, DIPLAYMNEMONICINDEX_PROPERTY, DISPLAY_MNEMONIC_INDEX_PROP, KEYBOARDSHORTCUTS_PROPERTY, LARGE_ICON_PROP, LARGEICON_PROPERTY, LONG_DESCRIPTION_PROP, LONGDESCRIPTION_PROPERTY, MNEMONIC_PROP, MNEMONIC_PROPERTY, NAME_PROP, NAME_PROPERTY, SELECTED_PROP, SELECTED_PROPERTY, SHORT_DESCRIPTION_PROP, SHORTDESCRIPTION_PROPERTY, SMALL_ICON_PROP, SMALLICON_PROPERTY, TARGET_PROPERTYchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
CloseAction(JTabbedPane tabbedPane,
Component tabOwner) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
close() |
accelerator, accelerator, actionCommand, actionListener, actionListener, addShortcut, apply, copyTo, displayedMnemonicIndex, getAccelerator, getAccelerator, getActionCommand, getActionCommand, getActionListener, getDisplayedMnemonicIndex, getDisplayedMnemonicIndex, getKeyboardShortcuts, getLargeIcon, getLargeIcon, getLongDescription, getLongDescription, getMnemonic, getMnemonic, getName, getName, getShortDescription, getShortDescription, getSmallIcon, getSmallIcon, getTarget, isSelected, largeIcon, longDescription, mnemonic, name, putValue, setAccelerator, setAccelerator, setActionCommand, setActionCommand, setActionListener, setDisplayedMnemonicIndex, setDisplayedMnemonicIndex, setLargeIcon, setLargeIcon, setLongDescription, setLongDescription, setMnemonic, setMnemonic, setName, setName, setSelected, setShortDescription, setShortDescription, setSmallIcon, setSmallIcon, setTarget, shortDescription, smallIconaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabledpublic CloseAction(JTabbedPane tabbedPane, Component tabOwner)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class BasicActionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019. All rights reserved.