public class StiltsAction extends BasicAction
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
Constructor and Description |
---|
StiltsAction(StiltsReporter reporter,
java.util.function.Supplier<Window> parentSupplier)
Constructs a StiltsAction with a default sized dialogue.
|
StiltsAction(StiltsReporter reporter,
java.util.function.Supplier<Window> parentSupplier,
Dimension size)
Constructs a StiltsAction with an explicitly sized dialogue.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
create, getEventWindow
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public StiltsAction(StiltsReporter reporter, java.util.function.Supplier<Window> parentSupplier, Dimension size)
reporter
- component that can generate stilts command linesparentSupplier
- provides a parent window for this actionsize
- preferred size of the monitor panel that displays
the STILTS command; if null some default will be usedpublic StiltsAction(StiltsReporter reporter, java.util.function.Supplier<Window> parentSupplier)
reporter
- component that can generate stilts command linesparentSupplier
- provides a parent window for this actionpublic void actionPerformed(ActionEvent evt)
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.