public abstract class AbstractInitialCloseBaseAction extends AbstractBaseAction
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialClose
Flag indicating to close all left or all right tabs.
|
topComponent
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Modifier | Constructor and Description |
---|---|
protected |
AbstractInitialCloseBaseAction(String name,
org.openide.windows.TopComponent topComponent,
boolean initialClose)
Constructor of abstract class
AbstractBaseAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event) |
boolean |
isEnabled() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
protected final boolean initialClose
protected AbstractInitialCloseBaseAction(String name, org.openide.windows.TopComponent topComponent, boolean initialClose)
AbstractBaseAction
.name
- the name of this actiontopComponent
- the TopComponent
initialClose
- flag indicating to close all left (true
) or all right (false
) tabspublic void actionPerformed(ActionEvent event)
public boolean isEnabled()
isEnabled
in interface Action
isEnabled
in class AbstractAction
Copyright © 2022–2024. All rights reserved.