Package uk.ac.starlink.topcat
Class StiltsAction
java.lang.Object
javax.swing.AbstractAction
uk.ac.starlink.topcat.BasicAction
uk.ac.starlink.topcat.StiltsAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
Reports the STILTS command generated by the current state of a
supplied StiltsReporter component.
- Since:
- 19 Sep 2024
- Author:
- Mark Taylor
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
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 Summary
ConstructorsConstructorDescriptionStiltsAction
(StiltsReporter reporter, Supplier<Window> parentSupplier) Constructs a StiltsAction with a default sized dialogue.StiltsAction
(StiltsReporter reporter, Supplier<Window> parentSupplier, Dimension size) Constructs a StiltsAction with an explicitly sized dialogue. -
Method Summary
Methods inherited from class uk.ac.starlink.topcat.BasicAction
create, getEventWindow
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
StiltsAction
Constructs a StiltsAction with an explicitly sized dialogue.- Parameters:
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 used
-
StiltsAction
Constructs a StiltsAction with a default sized dialogue.- Parameters:
reporter
- component that can generate stilts command linesparentSupplier
- provides a parent window for this action
-
-
Method Details
-
actionPerformed
-